python / python/release-tools

Allow running `build-release.yml` against a branch

オープン
#285 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

enhancement
主要言語
Python
スター
61
フォーク
48
平均マージ
1時間 22分
マージ済み PR(30日)
4

説明

Currently, .github/workflows/build-release.yml takes a tag number:

https://github.com/python/release-tools/blob/9721c249ff1de736fcf180c4a806ce75372ebf2a/.github/workflows/build-release.yml#L35-L37

Which can be used as the input when triggering a run:

https://github.com/python/release-tools/actions/workflows/build-release.yml

Image

It would be useful if we could also give a branch name, so for example we can trigger a run against upstream main or 3.14, so we can verify the latest state will build.

This will also help with PRs like https://github.com/python/release-tools/pull/284 where we specify which arguments to run against the Android test runner, and the test runner is in the upstream repo.

We'll need to take care of v prefix that is currently prepended in some places.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

.github/workflows/build-release.yml の35-37行付近にある入力定義から始め、次にその値がどこで使用されているかを追跡します。既存の v-prefix の動作を維持しながら、ブランチ名とタグ番号の両方をサポートし、既存のタグ入力だけでなく upstream main または 3.14 に対しても workflow をビルドできることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github-actions
領域
ci-cd, release
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
52/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。