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

Option to update all shared environments after juliaup update #1120

Open
nathanrboyer opened this issue Dec 2, 2024 · 1 comment
Open

Option to update all shared environments after juliaup update #1120

nathanrboyer opened this issue Dec 2, 2024 · 1 comment

Comments

@nathanrboyer
Copy link
Contributor

juliaup makes it easy to update Julia. The most annoying thing about updating now is that all your environments need to precompile again. It would be nice if juliaup would do this for me immediately after updating Julia, rather than having to wait for precompilation the next time I try to use one of my environments.

I imagine an automation that runs Pkg.update or Pkg.precomplile on all the environments in ~/.julia/environments/ would be fairly simple. I'm not sure if something more sophisticated could be used to point juliaup to other local environments the user wants to keep up to date.

(This would become even more useful with an automated juliaup update as requested in #57, so everything updates overnight without my input and is ready to use in the morning.)

@davidanthoff
Copy link
Collaborator

So, I think we should never run something like Pkg.update on an env, that will change the project, and I think that should never be done as a by-product of anything. To me that always needs to be a user-initiated step per project.

Maybe a precompile step could work, but also not sure.

I think what we want to do around this scenario might change drastically once #1095 and #1111 are around. Given that, I think for now we maybe should do nothing :)

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

No branches or pull requests

2 participants