-
Notifications
You must be signed in to change notification settings - Fork 900
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
Feature request: "rustup update nightly" to the last version which has all necessary components. #1628
Comments
I like this idea and will give it further thought. It's a little awkward to walk the dates right now, but the latter half of your request is plausible at least. |
The latter half is very similar to my suggestion for updatable toolchain aliases, just being able to override the |
+1 this would be amazing. It would make a huge difference to my daily workflow. |
(Please stick to one feature request per issue.) The first request sounds related to #1501. |
Previously, if the user had components installed on `nightly` which were not available for the latest nightly, `rustup update` would not update the user's nightly at all. With this patch, rustup will try progressively older nightlies until it finds a nightly that supports all the components the user has installed for their current nightly. Fixes rust-lang#1628. Makes progress towards rust-lang#1501. Fixes the underlying issue in rust-lang#1676.
Previously, if the user had components installed on `nightly` which were not available for the latest nightly, `rustup update` would not update the user's nightly at all. With this patch, rustup will try progressively older nightlies until it finds a nightly that supports all the components the user has installed for their current nightly. Fixes rust-lang#1628. Makes progress towards rust-lang#1501. Fixes the underlying issue in rust-lang#1676.
I just submitted #1997, which adds this feature. |
Previously, if the user had components installed on `nightly` which were not available for the latest nightly, `rustup update` would not update the user's nightly at all. With this patch, rustup will try progressively older nightlies until it finds a nightly that supports all the components the user has installed for their current nightly. Fixes rust-lang#1628. Makes progress towards rust-lang#1501. Fixes the underlying issue in rust-lang#1676.
Instead of failing or forcing, just use not-so-up-to-date version.
Additinoal feature request:
rustup update nightly --date=2019-01-29
to update nightly to a specific version while keeping it as "nigthly", not as a separate toolchain. Should also allow downgrades.The text was updated successfully, but these errors were encountered: