-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
Check if updates are available without updating #2582
Comments
Similarly, I would like to tell a user which version of I currently use 1. from above to achieve this, but 2. would be better, with the same shortcoming and proposed solution. |
We had a dry run command #1367. It was a bit tricky to define "dry" though because, for example, if you have packages that are added via git you need to update the git repository of those packages to know what the end result will be. |
Dup of #1937 |
For fonsp/Pluto.jl#844, I would like to check whether updates are available and conditionally show an "update" button to the user.
Currently, my ideas for implementing this are:
Pkg.update
on it.Both have shortcomings: 1. does not respect compatibility bounds between direct dependencies: updating to the latest version might not be possible. 2. can take a long time, downloading code and jll binaries.
Any suggestions? My suggestion would be a "dry run" option to API calls like
update
that just update a manifest without downloading source or binaries. This would enable 2.The text was updated successfully, but these errors were encountered: