Automate more of the Python upgrade
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- github-actions, python
- 領域
- ci-cd, devops, documentation
調査の方向性
.github/workflows/new_python.yml を読んで現在の Python アップグレードチェックリストを把握し、その後 renovate.json と decision 0022-spec-0.html を確認してください。どのサポートおよび非推奨化の手順を自動化すべきかを決定し、その決定をリンク先のドキュメントに記録して、合意した自動化を実装するか、より難しい作業を新しい Issue に分割してください。
索引モデルが issue の本文から書いたものです。
説明
When a new python version is released we currently have the checklist in https://github.com/DiamondLightSource/python-copier-template/blob/main/.github/workflows/new_python.yml. Many of these steps could be done automatically by renovate e.g. something like:
{
"regexManagers": [
{
"fileMatch": ["^\\.github/workflows/.*\\.ya?ml$"],
"matchStrings": [
"python-version:\\s*\
\[(?<currentVersions>[^\\]
]+)\\]
"
],
"datasourceTemplate": "python",
"depNameTemplate": "python",
"versioningTemplate": "pep440"
}
]
}
in the renovate.json should update the versions under test.
There are probably differing opinions of how much of this we do automatically, semi-automatically or manually based on risk. My preference would be to split the move into two steps:
- Adding the new version as supported - e.g. adding it to the versions under test and to the
classifiers. I would say if the tests pass then merge this w/o human input - Deprecating the old one. I think this does need human intervention as it's risky and there may be valid reasons it's hard. However, we can probably still get renovate to make the PR for it.
Acceptance Criteria
- We decide how much of the process should be automated
- The decision is written in https://diamondlightsource.github.io/python-copier-template/main/explanations/decisions/0022-spec-0.html
- We automate the agreed upon steps (or make a new issue if hard)
- 主要言語
- Jinja
- スター
- 25
- フォーク
- 10
- 平均マージ
- 4日 17時間
- マージ済み PR(30日)
- 7
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DiamondLightSource/python-copier-template のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
-
documentation good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DiamondLightSource/python-copier-template の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
oblt-aw/detector/security
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
trailofbits/skills#330 ·
-
Bug kind/engineering pulumi/pulumi-external Workflow Failure
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
pulumi/pulumi-external#733 ·