Simplify the release process
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
調査の方向性
Start by reading the existing release instructions and GitHub CI workflows that handle beta and stable releases; the issue does not name specific files. Map the manual steps for rustup-init.sh, the stable branch, and publication through t-release, then identify which steps can be safely triggered together. Done means one release trigger automates the agreed steps without making CI workflows too hard to debug.
索引モデルが issue の本文から書いたものです。
説明
It is clear that with the 1.29.2 release our release process has become a bottleneck in terms of DX.
In other projects I maintain, making a release is as simple as adding a tag: GitHub CI will handle the rest. However, this is more complicated for rustup because:
- We have 2 stages (beta/stable) rule to push to two different environments.
- There are more markdown files to write.
t-releaseis involved for the final publication.
Main burdens
- Having to handle 2 stages: this means a lot of work will have to be done twice for every version number
- Requiring a separate PR to bump
rustup-init.shand its E2E test snapshot for every given release, which is currently painfully manual - Having to write 3 different but similar markdown posts: changelog, forum post (beta stage) and announcement post (stable stage) and syncing between them
- Manually maintaining the
stablebranch - Patiently waiting for the
stableCI/CD to turn green - Remembering to tag the stable release when everything is done with the stable stage
Expected outcome
One trigger that does almost everything, ideally without t-rustup human interaction afterwards.
Ideas
Some random ideas for automation include:
- Using tags as CI triggers, or provide explicit CI triggers to start the release automation (with the automatic creation of the tag at the end)
- Using the name of the tag to distinguish beta/release stages
- The automation then automatically bumps
rustup-init.shand maintainsstable - The automation could, at the same time, accept markdown input (from the changelog maybe?) so that we can copy-paste as the corresponding forum/announcement post
- The post part may better not be automated because we may not want to add the forum post for emergency releases, or we may want to slightly adjust the wording for certain posts.
- When the
stableCI turns green, we may want to hook some Zulip bot here to indicate that we can move on to the next step
But the crucial point is that we don't want to go too far on this since GitHub CI workflows are famously hard to debug.
- 主要言語
- Rust
- スター
- 7.1k
- フォーク
- 1.1k
- 平均マージ
- 1日 3時間
- マージ済み PR(30日)
- 38
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rust-lang/rustup のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
rust-lang/rustup#5172 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement O-shell
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Proposal: Establish a charter for `t-rustup`対応中かも @rami3l が 1 日前に担当しました。 オープンmeta
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
rust-lang/rustup#5191 · リアクション 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Rustup OOM対応中かも @Kaileshwar16 が 3 日前に担当しました。 オープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
rust-lang/rustup#5173 · コメント 9 件 ·
メンテナーはふだん 1 日以内に返信
-
release
難易度 4/5 1〜2日 初心者へのやさしさ 20/100
メンテナーはふだん 1 日以内に返信
rust-lang/rustup の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
bug i18n priority: medium ui
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
storytold/craft-anything#983 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
pbakaus/impeccable#1328 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
Dinnerbone/Rascal#91 · リアクション 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
higress-group/HiRoute#405 ·
メンテナーはふだん 1 日以内に返信