case sensitive file system on linux
See original GitHub issueOn linux all filenames are lower case.
E.g.:
~/.nuget/packages$ ls -al
...
drwxr-xr-x 3 demo demo 4096 May 11 05:49 owin
...
Also nuspec file is lower case:
~/.nuget/packages/owin/1.0.0$ ls -al
total 52
drwxr-xr-x 3 demo demo 4096 May 11 05:49 .
drwxr-xr-x 3 demo demo 4096 May 11 05:49 ..
drwxr-xr-x 3 demo demo 4096 May 11 05:49 lib
-rw-r--r-- 1 demo demo 127 May 11 05:49 .nupkg.metadata
-rw-r--r-- 1 demo demo 14137 May 11 05:49 owin.1.0.0.nupkg
-rw-r--r-- 1 demo demo 88 May 11 05:49 owin.1.0.0.nupkg.sha512
-rwxr--r-- 1 demo demo 660 Nov 13 2012 owin.nuspec
-rwxr--r-- 1 demo demo 9462 Oct 14 2018 .signature.p7s
Also requests to v3 api do not work and fallback to v2:
Package 'Owin', version requirement 1.0 resolved to version 1.0.0 from NuGet server
https://api.nuget.org/v3-flatcontainer/Owin/1.0.0/Owin.nuspec failed due to NotFound!
Attempting to download: https://www.nuget.org/api/v2/package/Owin/1.0.0
Attempting to read: Owin.nuspec
When using lower case url on v3, download succeeds:
~$ curl https://api.nuget.org/v3-flatcontainer/Owin/1.0.0/Owin.nuspec
<?xml version="1.0" encoding="utf-8"?><Error><Code>BlobNotFound</Code><Message>The specified blob does not exist.
RequestId:cc668ccb-601e-007c-6a00-657eb1000000
Time:2022-05-11T06:28:09.8441390Z</Message></Error>
~$ curl https://api.nuget.org/v3-flatcontainer/owin/1.0.0/owin.nuspec
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Owin</id>
<version>1.0</version>
<title>OWIN</title>
<authors>OWIN startup components contributors</authors>
<owners>OWIN startup components contributors</owners>
<licenseUrl>https://github.com/owin-contrib/owin-hosting/blob/master/LICENSE.txt</licenseUrl>
<projectUrl>https://github.com/owin-contrib/owin-hosting/</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>OWIN IAppBuilder startup interface</description>
<tags>OWIN</tags>
</metadata>
</package>
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
What does “Case sensitivity is a function of the Linux ...
Most Linux file systems are case sensitive, so many projects assume file names are case sensitive, and may behave surprisingly if the underlying ......
Read more >unix - Linux Both Case Sensitive AND Case Insensitive ...
NTFS 1 and VFAT are not case-sensitive, they are just case-preserving. That means if you create a file named FileName.txt , the file...
Read more >Are file names in Ubuntu case sensitive?
yes in ubuntu file names are case sensitive and you can create two files with caps and small :) So A.txt is valid...
Read more >Using the Linux kernel's Case-insensitive feature in Ext4
The case-insensitive feature as implemented in Ext4 is a non-intrusive mechanism to support this feature for those who need it, while minimizing ...
Read more >Case-sensitivity
Linux, the UNIX system, and Windows® observe different conventions for case-sensitivity in file name lookup: Linux and the UNIX system are case sensitive; ......
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 Free
Top 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
@tomchavakis ,
looks good to me:
remote:
cache:
@tomchavakis I like your tests, they are cleaner and do not use reflection. My PR covers more situations in the main code. Use the best of both!