You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Package names in Dependencies file are case-sensitive #108
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?
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
Activity
forki commentedon Sep 16, 2014
Mhm at least the internal model should treat them as one. Can you find a fix?
theimowski commentedon Sep 16, 2014
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
forki commentedon Sep 16, 2014
I would not enforce it, but just convert it. The user is not a machine.
On Sep 16, 2014 11:18 PM, "Tomasz Heimowski" [email protected]
wrote:
forki commentedon Sep 17, 2014
please test again.
theimowski commentedon Sep 17, 2014
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?
forki commentedon Sep 17, 2014
It will hurt I'm sure.
This what nuget gives us:
Package names in Dependencies file are no longer case-sensitive - ref…
theimowski commentedon Sep 17, 2014
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?
Cleanup package names - references #108
forki commentedon Sep 17, 2014
nuget seems case insensitive - but I changed it to reflect the "official" package id.
This how it should be now.
ilkerde commentedon Sep 20, 2014
If fear I need to reopen. After
convert-from-nugetpaket fails installing the package. Reason: case-insensitive path check.ls packagesreveals: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
forki commentedon Sep 20, 2014
please run `paket install -v" for the stacktrace
Create regression test for #108