question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

group specification does not honor case-sensitivity

See original GitHub issue

Description

When specifying a group in paket.dependencies, the resulting directory under packages does not match the case of the group name.

Repro steps

  1. Create a paket.dependencies like:

    group SomeGroup
    source https://www.nuget.org/api/v2
    nuget Newtonsoft.Json
    
  2. 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:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
flaubcommented, Nov 2, 2016

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 understands paket.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?

0reactions
flaubcommented, Nov 12, 2016

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!!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found