[Feature request/Discussion] Behaviour of CURRENTVERSION placeholder in template file.
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
I have a solution with two projects A and B.
Both projects produce nuget packages and B has a nuget dependency of project A.
I want to set dependency with range ["A current version", "A next major version")
I can use ~> CURRENTVERSION placeholder in template file for B but there are two problems with it.
- CURRENTVERSION only works when version explicitly set in pack command arguments (with
--specific-versionfor A or with just--version <...>).
Maybe paket can use same version as for package itself (from assemblyVersion attribute or template file for project A)? - I can't achieve
next-major-version)right border although it seems a good choice from semver perspective.
E.g. If A version is 3.2.1 with~> CURRENTVERSIONi get[3.2.1, 3.3.0)range.
Maybe paket needs another placeholder for exactly that case?
I can explicitly set version range in template file for B but in that case i must not forget to update it every time i change A version. It's annoying :)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the CURRENTVERSION behavior described for Paket template files and the pack command, comparing explicit --specific-version or --version inputs with versions from project A's assemblyVersion attribute or template. Clarify the desired next-major semver range behavior and define how the dependency range should be generated before identifying the relevant implementation and tests.
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
- Needs clarification
- Newbie friendliness
- 25/100