group specification does not honor case-sensitivity
See original GitHub issueDescription
When specifying a group in paket.dependencies
, the resulting directory under packages does not match the case of the group name.
Repro steps
-
Create a
paket.dependencies
like:group SomeGroup source https://www.nuget.org/api/v2 nuget Newtonsoft.Json
-
Run
.paket\paket.exe install
Expected behavior
The directory name under packages
should be SomeGroup
.
Actual behavior
The directory name under packages
is somegroup
.
On windows, this doesn’t matter much, but it does on *nix systems.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
sam: Clarify case-sensitivity of read group platform values · ...
Are read group platform values supposed to be case-insensitive, or are headers using the lowercase form not spec-compliant?
Read more >Case sensitive Vs insensitive syntax
Whether or not your tools are case sensitive, the programmer should be case sensitive. Being case sensitive saves you a lot of trouble...
Read more >Filtering from sharepoint WITH case sensitivity
Filter(yourList, "Something" in someColumn) is case insensitive because the in operator ignores case. Filter(yourList, "Something" exactin ...
Read more >Do a case insensitive for a string inside Lookup()...
I have this formula which do a LookUp on a SharePoint list:- LookUp('Device Management','User Name'.Email=User().Email) now i want to do a ...
Read more >Case-insensitive collation support for string processing in ...
A case-insensitive collation ignores the differences between uppercase and lowercase letters for string comparison and sorting, whereas a case- ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m using an external build system based on https://waf.io/. Therefore, I don’t use any
paket.references
files. Instead, I have a parser which understandspaket.lock
and can create the proper command line arguments for csc/mcs. We’ve been using this system for years to provide cross-platform builds (including native C/C++ bits).It would be nice if my custom parser for
paket.lock
could simply use whatever the group name is in order to go searching inside of the packages directory to find libs and refs. It works OK on windows because the file system acts like it’s case insensitive.My workaround is to simply use an all lower-case group name.
Can you describe why the directory is lowercased by design?
Thanks for the explanation. As mentioned I have a workaround so this really isn’t a big deal. Thanks for providing a system that doesn’t depend on MSBuild!!