-
Notifications
You must be signed in to change notification settings - Fork 904
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
Setting to only check for a self-update during rustup update
#2576
Comments
(I just noticed that |
Such a setting could be very useful, it'd be nice to clean up a bunch of |
@kinnison Can I working on this? |
Sure you're welcome to work on it. Do you want to start by reading through how settings are passed around in the Cfg code, and then write a comment here with how you suggest you'll fix this? |
I will write my thoughts here after I read the code and go back to the code after you give your comments. |
Sorry for the late reply. I have read the code and I think the problem can be solved in a few steps.
Do you think there is any problem? |
@kinnison ping~ |
Sorry for the delay, I had a very busy work week. I think your proposed approach is on-track. I'd suggest a setting name along the lines of @Nemo157 Would that solve your use-case? |
Yep, that seems about what I was thinking. |
Sorry, I forgot about this. I will take the time to add that feature recently. |
@hi-rustin That would be amazing! |
@rustbot claim |
Describe the problem you are trying to solve
When testing the staging rustup release I had it "upgrade" back to the previous version when I ran
rustup update nightly
. This made me reconsider somehow aliasing inrustup update
to include--no-self-update
so that I could control when rustup itself updates.Describe the solution you'd like
Something like
rustup set update-self-update check-only
that will check whether a self-update is available and report it, rather than installing it straight away.Notes
The text was updated successfully, but these errors were encountered: