Pre-release tag case sensitivity bug (affects case sensitive file systems)
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
Description
When specifying a dependency with a pre-release tag that contains uppercase characters, paket install will fail with an error:
Could not find nuspec in '/xxxx/package/0.1.0-Xyz.1', try deleting the directory and restoring again.
It does appear the files get extracted, but they get extracted to: /xxxx/package/0.1.0-xyz.1 (note the lowercase X).
Known workarounds
In your paket.dependencies file, change the pre-release tag to all lowercase characters.
Eg. Change nuget Package 0.1.0-Xyz.1 to nuget Package 0.1.0-xyz.1.
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
Reproduce the failure with paket install using nuget Package 0.1.0-Xyz.1 on a case-sensitive file system, then compare the requested version path with the extracted lowercase path. Use paket.dependencies and the reported nuspec lookup as the starting points. Done means uppercase pre-release tags install successfully without requiring the lowercase workaround.
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
- Mostly clear
- Newbie friendliness
- 42/100