fsprojects / fsprojects/Paket

Variables in paket.dependencies

Open
#1,796 6 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement spec up-for-grabs
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

It would be useful to allow some kind of variables or references in paket.dependencies.

Something like:

source ...

variable mylib.version >= 1.3.0

nuget mylib.dll1 ${mylib.version}
nuget mylib.dll2 ${mylib.version}

This would allow defining a common version (range) for a set of co-released libs (i.e. part of one solution).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how Paket reads and resolves the paket.dependencies file, including how dependency versions are represented. Define the variable syntax and substitution behavior from the example, then add coverage showing one shared version range applies to multiple NuGet dependencies.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.