-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package names in Dependencies file are case-sensitive #108
Comments
Mhm at least the internal model should treat them as one. Can you find a fix? |
Do you think it's worth to apply Type restriction to a package name to force the value to be always lowercase? I'm thinking of something like http://fsharpforfunandprofit.com/posts/designing-with-types-single-case-dus |
I would not enforce it, but just convert it. The user is not a machine.
|
please test again. |
seems ok now. lock file now looks like this:
Note the indirect jquery dep is all lowercase, while direct one is not. Wonder if this could hurt one day? |
Is the NuGet API case sensitive? Maybe we could let the users maintain their dependencies case insensitive in dependencies and references files, but after parsing, in the lock file and rest of Paket use only lowercase package names as unique ids? |
nuget seems case insensitive - but I changed it to reflect the "official" package id.
This how it should be now. |
If fear I need to reopen. After
I think this is related to 48b3719. Sorry, I tried to fix myself, but my understanding is still too limited that I could fix on my own. I possibly would like to utilize the "official names" as done with ca055c3 |
please run `paket install -v" for the stacktrace |
Consider the following dependencies.file:
Paket install generates proper lock file:
But when changing to "jQuery":
"jQuery" is treated as a different package:
The text was updated successfully, but these errors were encountered: