make_ssl_certs: run at build time, update reference test data automatically
オープン
まだ誰も着手していません。
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
Bug report
Bug description:
As discussed here:
https://github.com/python/cpython/pull/107594
make_ssl_certs.py has a few shortcomings. In particular:
- it generates certificates, but does not update reference data in tests that use them, instead asking the user to copy paste the data by hand (expiration dates and serial numbers in particular)
- it is supposed to be run by hand and isn't executed in builds, which means its output has to be checked into git, cluttering the source tree, and complicating reviews of pull requests that change that output.
- expiration dates are hardcoded into the tool and can't be passed in as parameters
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
- gh-119401
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず make_ssl_certs.py とリンク先の PR gh-119401 を読み、その後、その証明書を使用するリファレンステストデータを調べます。証明書の生成がビルド中に実行され、リファレンスデータが自動的に更新され、リポジトリに生成済みの出力をチェックインしなくても有効期限をパラメータとして受け付けるようになれば、作業は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- build-system, testing
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100