paket simplify does not operate on groups in paket.references
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
Description
The paket simplify function will reduce this paket.references:
Castle.Core
Castle.Windsor
to this
Castle.Windsor
However, if the references are in a group it will have no effect, e.g.:
group Foo
Castle.Core
Castle.Windsor
remains
group Foo
Castle.Core
Castle.Windsor
though paket.dependencies is simplified correctly.
Repro steps
-
Create a new project
-
Add Castle.Windsor via nuget.
-
Run
paket convert-from-nuget -
Alter paket.dependencies and paket.references to put the packages in a group (i.e. add "group Foo" to the top of each file and indent the remaining contents).
-
Run
paket install -
Run
paket simplify
Expected behavior
paket.dependencies will be simplified (the reference to Castle.Core will be removed).
paket.references will be simplified (the reference to Castle.Core will be removed).
Actual behavior
paket.dependencies will be simplified (the reference to Castle.Core will be removed).
paket.references will be unchanged.
Known workarounds
None, if you have multiple groups.
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 by reproducing the issue with grouped paket.dependencies and paket.references, then trace the paket simplify handling for paket.references and compare it with the working paket.dependencies behavior. Done means the grouped paket.references removes Castle.Core while preserving the group; verify with paket install followed by paket simplify.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100