Skip to content
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 Issue with Pkg Manager #9094

Closed
tknopp opened this issue Nov 21, 2014 · 6 comments
Closed

Case Issue with Pkg Manager #9094

tknopp opened this issue Nov 21, 2014 · 6 comments
Labels
packages Package management and loading

Comments

@tknopp
Copy link
Contributor

tknopp commented Nov 21, 2014

Ok, this is a little bit hard to decribe.
I have hosted a (privat) package on Bitbucket. Lets call it TobisTestPackage. The issue is now that the generated url is lowercased on the Bitbucket repo. When I install it using Pkg.clone, the created folder in .julia is lower cased as well (tobistestpackage). On Windows and OSX this seems to make no problems.
However, on linux I was not able load the package but I had to rename the folder and make it uppercase. When updating, the lowercase version is created again...

Thoughts?

@tkelman
Copy link
Contributor

tkelman commented Nov 21, 2014

Did you try 2-argument Pkg.clone(url, name) ? I have to do this on CI services (AppVeyor and others) that clone packages under slightly modified names.

@tknopp
Copy link
Contributor Author

tknopp commented Nov 21, 2014

Ah, I was not aware of that version. Will try that when I have next access to the computer. But still, isn't this a case issue?

@tkelman
Copy link
Contributor

tkelman commented Nov 21, 2014

Well, it's partially BitBucket's fault for not letting you set the casing the way you want it for default clones of the package. There was an issue on this recently, case sensitivity's kind of a tough and annoying issue and it's pretty hard to abstract over it. If every OS (and all websites) were case sensitive, or every OS were case insensitive, then we could at least do things consistently. As things are, it's much harder to arbitrarily pick a "right" behavior...

@tknopp
Copy link
Contributor Author

tknopp commented Nov 21, 2014

Hm but shouldn't it be possible to fix the folder name when doing the checkout? In the src dir there is the file TobisTestPackage.jl with the right case. Just thinking if we can make this more robust.

@tkelman
Copy link
Contributor

tkelman commented Nov 21, 2014

Ah, interesting thought. The file name under src/ might indeed be more reliable than the casing of the url or local folder name. Nothing is set in stone, of course.

@jiahao jiahao added the packages Package management and loading label Jan 3, 2015
@jakebolewski
Copy link
Member

I think this is largely alleviated by #13542, please re-open if it is not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages Package management and loading
Projects
None yet
Development

No branches or pull requests

4 participants