-
Notifications
You must be signed in to change notification settings - Fork 892
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
Downloading specific betas should be easier #1329
Comments
To add insult to injury, beta-2020-11-18 is 1.49.0-beta.1 (21dea46d8 2020-11-18), but beta-2020-11-26 is 1.49.0-beta.2 (bd26e4e54 2020-11-24), so you can't even pull the latest beta and get the date from rustc --version. |
To be fair to |
Are there any tips to figure out the date for a certain beta version, like |
Sadly, short of having the Rust release process create version numbered beta release manifests, there's not a lot we can do from the Rustup side :/ |
Is there a place where this change can be proposed and discussed? The release format described at https://forge.rust-lang.org/infra/channel-layout.html does not seem straightforward to me and it's unsurprising that it's difficult to find toolchains using their identifier. It's unclear to me why toolchains are not simply stored under |
Thinking more about this, we'd have to add support for the channel names in rustup too, but I've opened a Zulip thread to discuss how this might work. |
We discussed this briefly over Zulip and it sounds feasible. I think the next step here is likely to land the code to do this upstream in our release promotion (around https://github.com/rust-lang/rust/blob/master/src/tools/build-manifest/src/main.rs#L247), and then work with @kinnison to figure out what's necessary to get rustup to support parsing the CLI parameter. |
You could also fetch the current beta version at the point in time where you pin it for CI and write that into |
…imulacrum generate beta manifests as pre-requisit to rust-lang/rustup#1329 <rust-lang/rustup#1329 (comment)> mentioned (a while ago) this would be the next step
generate beta manifests as pre-requisit to rust-lang/rustup#1329 <rust-lang/rustup#1329 (comment)> mentioned (a while ago) this would be the next step
generate beta manifests as pre-requisit to rust-lang/rustup#1329 <rust-lang/rustup#1329 (comment)> mentioned (a while ago) this would be the next step
generate beta manifests as pre-requisit to rust-lang/rustup#1329 <rust-lang/rustup#1329 (comment)> mentioned (a while ago) this would be the next step
The manifests now exists since about 1.75 beta. e.g. https://static.rust-lang.org/dist/channel-rust-1.75.0-beta.1.toml |
@rustbot claim |
For Firefox, we have a script that kind of duplicates the behavior of rustup and that repacks rust for use on Firefox CI. In some cases, we need to pin a specific beta version, but failed to do so, so when 1.24.0-beta.1 replaced 1.23.0-beta.2 today, we ended up picking that, which, incidentally, broke Firefox CI because 1.24.0-beta.1 apparently breaks slog and servo.
Anyways, after some fiddling, it came out that it's possible to get a specific beta version... if you know when it was released.
That is,
installs 1.23.0-beta.2. You have to know that 1.23.0-beta.2 was released on that specific day, or scan all dates.
It would be much easier if it were possible to do:
which could rely on an hypothetical
https://static.rust-lang.org/dist/channel-rust-1.23.0-beta.2.toml
file.The text was updated successfully, but these errors were encountered: