-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Tag commits here with the version of rustc they were released with? #3101
Comments
There should be a Cargo version tag for each release, but is that not enough? |
(there's also a direct mapping from a rustc version to a Cargo version) |
Ooooooh. That's what I was missing :( Can I add a note about that to the README? I checked the SHAs I have above with the SHAs that the cargo repo has tagged and I found some mismatches. For the mismatches, I
When I installed rustc 1.4.0, I got Same with rustc 1.2.0: Also, what was cargo v0.6.1 for? I was going to guess that it was bumped between beta and stable, but if that was the case I would have expected the released version of rustc 1.5.0 to ship with cargo 0.6.1 but it came with the SHA that the cargo 0.6.0 tag has. Same question with Once we get everything matching up, I think a table in cargo's README that has the |
Hm what's the "rustc SHA" vs "cargo SHA" column? Is that comparing the For 1.7.0 I get 28a0cbb for both I think 0.6.1 was only published to crates.io, although I forget why :(. I think was fixing build breakage caused by a breaking change in the compiler? I suspect I made the wrong tag for rustc 1.4.0 and cargo 0.5.0, can probably change that to 833b947 The cargo 0.3.0 (rustc 1.2.0) tag seems way off, no idea why it's saying it's cargo 0.4.0. Dunno what's going on there :( Similarly the 0.2.0 tag is way out of sync with rustc 1.1.0's cargo. Also no idea what happened here. Maybe I was just terrible at tagging in the early days? I vaguely remember we tagged things too early sometimes. I think this happened when I tagged a release when it went to beta, and then during that cycle we fast-forwarded Cargo to pick up bug fixes (but I didn't update the tag). In these cases I should probably update the tag to what we actually shipped. |
Oh and as for 0.0.1-pre, I... actually have no idea what that is. |
The rustc SHA in the table is the SHA that I got from looking at buildbot on the date that the rust-packaging/cargo-revs.txt file said it was using; the cargo SHA is the SHA that goes with each cargo tag itself. I was trying to avoid installing every rustc version, so I didn't bother when the buildbot SHA matched the cargo tag SHA, but I did install the rustc version and then run
Yup, 1.7.0 was my mistake somehow; the SHA I got from buildbot was incorrect. Wdyt about including the table mapping rustc version to cargo tagged version somewhere? If you're into that, let me know when you've fixed the tags and I'll be happy to make a table :) Thank you!!!! |
Sounds good to me! Could you collect an updated list of tags for me to update? |
This is what I think should happen, definitely check me:
I'm assuming we're not going to worry about the version number that the installed |
Ok, fixed! |
Add information about Cargo releases going with Rust releases Closes #3101. This just adds a table of rust release numbers to cargo release numbers, and some text that clarifies that they happen together. I put the table behind a details tag, which Chrome renders really nicely with a little toggle triangle... Firefox will do the toggling *functionality* but doesn't have much of an indication that you can click on the text, but I think they're working on it. Servo has a little triangle but nothing happens when you click on it ;)
I was trying to make absolutely sure that the registry replacement capability was in beta to resolve this comment, and I had a really hard time figuring out which commit of cargo was released with which version of rustc, as I detailed over in rust-lang-deprecated/rust-packaging#59.
I got excited for a minute when I saw that there were tags in this repo, but those are cargo versions, not rustc versions.
Could we tag commits in this repo when a rustc release goes out pretty pretty please? 🍨🌸
I don't think github's made a way to send a PR for tags yet, so instead I made commands for someone with push access to copy and paste!! (or alter then copy and paste)
I don't have the SHA for rustc-1.0.0 because buildbot doesn't go back that far, as i mentioned on rust-lang-deprecated/rust-packaging#59, and I didn't include a tag for rustc-1.12.0 since it hasn't been released yet.
The text was updated successfully, but these errors were encountered: