Skip to content

Support branch promotion#46

Merged
emilyalbini merged 2 commits intorust-lang:masterfrom
Mark-Simulacrum:promote-branches
Jul 16, 2022
Merged

Support branch promotion#46
emilyalbini merged 2 commits intorust-lang:masterfrom
Mark-Simulacrum:promote-branches

Conversation

@Mark-Simulacrum
Copy link
Copy Markdown
Member

This bumps branches on rust-lang/rust and creates the cargo branch at the
appropriate commit; the only missing component is the actual PR that will bump
the channel (src/ci/channel) to stable and cherry pick a fresh copy of the
release notes. I think it makes sense for now to leave that step to human hands:
it's pretty manual (need to track down the release notes, which might or might
not have merged already; need to check for last minute beta backports...). So
humans likely are involved anyway, at which point it's not really a huge win for
us to automate opening a PR or creating a temporary branch.

This automation already avoids the annoying bits and the bits that require
privileges (e.g., force pushing branches).

Based on #45

This automatically opens an internals thread and a blog PR after promoting a
stable release (if configured, and will only be configured on dev-static).

Caveat: needs human user to set release notes URL and scheduled release date.
That will be done via flags to start-release.py in simpleinfra, probably.
This bumps branches on rust-lang/rust and creates the cargo branch at the
appropriate commit; the only missing component is the actual PR that will bump
the channel (src/ci/channel) to stable and cherry pick a fresh copy of the
release notes. I think it makes sense for now to leave that step to human hands:
it's pretty manual (need to track down the release notes, which might or might
not have merged already; need to check for last minute beta backports...). So
humans likely are involved anyway, at which point it's not really a huge win for
us to automate opening a PR or creating a temporary branch.

This automation already avoids the annoying bits and the bits that require
privileges (e.g., force pushing branches).
@Mark-Simulacrum
Copy link
Copy Markdown
Member Author

I realized I also missed the step that bumps src/ci/channel on beta, which is pretty routine. But I think we can leave that as future work; opening 1 or 2 PRs isn't a huge delta and sometimes we already have a few beta backports for that PR.

@emilyalbini emilyalbini merged commit 41d178e into rust-lang:master Jul 16, 2022
@Mark-Simulacrum Mark-Simulacrum deleted the promote-branches branch July 16, 2022 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants