-
Notifications
You must be signed in to change notification settings - Fork 83
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
case sensitive file system on linux #108
Comments
Hi @scddev, Thank you for mentioning this issue. This issue was fixed at this PR: #105 by @Lexy2 If you are still facing errors, please share your Linux os if it's something specific on this specific version Thank you |
Hi @tomchavakis the PR #105 only fixes one of the requests. Basically it only fixed the request to query for the list of versions (index.json). All followup requests (.nuspec) do not use toLower() and fail: https://github.com/tomchavakis/nuget-license/blob/master/src/Methods.cs#L163 Same applies for the local cache. Also here toLower is required. Otherwise it also creates filenames with camel case which prevents a local cache hit: https://github.com/tomchavakis/nuget-license/blob/master/src/Methods.cs#L244 Thanks |
Yeah, that seems like an oversight. When the package names come from *.csproj files they can be canonical, (PascalCase, not camelCase and thus fail as valid package names). I'll create a PR. |
@tomchavakis I like your tests, they are cleaner and do not use reflection. My PR covers more situations in the main code. |
looks good to me: remote:
cache:
|
On linux all filenames are lower case.
E.g.:
Also nuspec file is lower case:
Also requests to v3 api do not work and fallback to v2:
When using lower case url on v3, download succeeds:
The text was updated successfully, but these errors were encountered: