-
Notifications
You must be signed in to change notification settings - Fork 89
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
Use JULIAUP_DEPOT_PATH instead of JULIA_DEPOT_PATH #661
Conversation
Directly copied from KristofferC's PR, thanks :)
Quick update on this: I've changed this over to This does mean that the internal functions in Juliaup are misnamed, because there we refer to I'll probably merge this soonish, unless I hear objections :) |
It would be great if we could get a review from @KristofferC before merging. |
Also pinging all the folks that I know chimed in on Essentially what it does is entirely remove the dependence on @KristofferC, @jakobnissen, @MichaelHatherly, @maleadt, @johnnychen94, @StefanKarpinski, @jlapeyre, @bjarthur. |
If I understand correctly, the Is there a specific reason to insist that the user should (semantically) specify a Julia depot, rather than just a directory? Like, let's say I want to have a That said, this is definitely a bikeshed, and the nesting doesn't really matter. And this change is awesome! I have also been bitten by juliaup's use of |
I prefer this approach over storing juliaup stuff in I also agree with @mortenpi that
rather than
|
May I carefully bump this PR? |
+1 for this. Other than that, I still think the original proposal of having a separate However, that is a small detail compared to fixing the current problem with |
@davidanthoff bump. Is there anything holding this up? |
@davidanthoff perhaps I could go ahead and merge & release this at the end of this week if I don't hear otherwise? |
I am pushing out a build right now with some smaller bug fixes and a new bundled Julia version. Once that is out for a few days without a sign of a regression I will merge this and then put out a prerelease build for folks to test. |
I know I'm late to the party, but shouldn't we adhere to the XDG Base Directory Specification (also see this ArchWiki entry) and use |
This is a different issue :) The location where Juliaup itself is stored is not affected by this PR at all. Those locations differ already quite a bit depending on how Juliaup is installed. Probably best to open a new issue for new proposals on that front. |
If someone wants to implement opt-in XDG support, it's been an open issue for a long time, has buy in from devs, but no one has actually implemented anything (despite many people apparently being interested). Our general stance is that Julia uses |
OK, but I still don't get what was wrong with juliaup using |
See e.g. #596 for more context as to why using |
This is an alternative to #596. The main differences is that there is a little less code changed, the default stays
~/.julia/juliaup
and the tests now set bothJULIA_DEPOT_PATH
andJULIAUP_DEPOT_PATH
.