-
Notifications
You must be signed in to change notification settings - Fork 1.7k
release tagging: clippy 1.46 tag and rustc 1.46 tag diverge #5981
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
Comments
The different commits in The sync direction Clippy -> rustc ( So we can do two things:
In both cases the latest commit in rustc and the tagged Clippy commit will diverge. In the second case the tagged commit in Clippy doesn't even exist in the history of the rustc release, which is why I decided to go for the first variant. Since commits modifying Clippy in the rustc repo shouldn't include user facing changes, tagging a few commits too early shouldn't be that much of a problem, IMO. This type of tagging was done since rust-1.45.0.
We definitely don't want to do this, since this has the potential to get bugs into beta without even being available in nightly for one day. @ebroto and me recently talked about the sync process (Clippy -> rustc) and he documented it here. |
Right, I'm aware that the commits can't be the same. I'm trying to visualize this a bit: rustc:
clippy:
Right now I would try to "fix" the tag in the clippy repo to point to C2 (which is equivalent to R2 in the rustc repo) Alternative idea: |
We're currently doing exactly that, but C2===R3, not R2.
R2 also doesn't exist in Clippy. C2===R3. But if we sync R1 into a new branch, the commit hashes still won't match. This would just be a possibility how to implement 2. from my comment above:
|
Now that clippy is contained inside the rustc repo as a subrepo, how do we do the release tagging?
I noticed that that the
1.46.0
tag inside the clippy repo points to c2c07fabut when checking out the tag
1.46.0
of the rustc repo and cd-ing into the clippy subrepo, the last commit that touched clippy is 90f1d72In short, the clippy
1.46.0
tag does not represent the rustc1.46.0
tag. :/I would expect that if I check out
1.46.0
inside the clippy repo I would get the clippy that was shipped with the rust release.To make this happen I guess we need to do syncs both way shortly before the release to so that changes that were pushed into rustc are inside clippy and changes from clippy are inside rustc.
Should we redo the 1.46.0 tag inside the clippy repo somehow?
The text was updated successfully, but these errors were encountered: