-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Pkg operations should be case-sensitive on case-insensitive filesystems #17747
Comments
(Should be able to use the same machinery as #13542.) |
cc @malmaud |
I've fixed this, PR forthcoming once I figure out how to add tests. |
@jakebolewski, I also have a patch forthcoming. Can we compare notes? |
Sure, I didn't do anything special. Just made sure all the path relevant path comparisons in Pkg were case sensitive to the package name. @malmaud's code for OSX works for any inodes if you strip out trailing |
See the commit linked above. I moved the I didn't think to strip out a trailing |
Well the two are pretty much identical sans stripping out trailing |
I would advocate that case sensitivity becomes part of the |
Before we can make it part of the public API, we need to deal with the issue that currently the case is only checked for |
Do you want to pull my patch, add your trailing |
(Anyway, the change to the public |
Sure, I can add to that commit. |
This is now fixed. |
e.g. I shouldn't be able to do
Pkg.test("pycall")
. Since packages are module names, and module loading is case-sensitive, Pkg should be too.I just noticed this because
Pkg.test("NBinclude")
failed for a subtle reason (the tests loaded, but with an altered path) and it took me a while to realize that it was because I had mistypedPkg.test("NBInclude")
.The text was updated successfully, but these errors were encountered: