ci: reproducible builds with SOURCE_DATE_EPOCH
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 68/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 静か
- 技術スタック
- git, python
- 領域
- build-system, release
調査の方向性
まず scripts/apache_release.py を読んでリリースビルドの経路を追跡し、既存のビルドドキュメントについて scripts/README.md を確認します。タグ付きコミットの再ビルドに対するカバレッジを追加し、繰り返し生成したアーティファクトのチェックサムが一致することを検証します。完了条件は、ビルド前にタグから SOURCE_DATE_EPOCH が設定され、再現可能性が文書化されていることです。
索引モデルが issue の本文から書いたものです。
説明
Part of #715
Problem
Our build artifacts are not reproducible. Building the same source twice may produce different checksums due to timestamps embedded in the tarball/wheel metadata. This makes voter verification harder and prevents bit-for-bit comparison of locally rebuilt packages against the RC artifacts.
Solution
Set SOURCE_DATE_EPOCH to the timestamp of the tagged commit before building. This ensures all file timestamps inside the archive are deterministic.
Airflow does this in their release tooling and it allows voters to rebuild from source and binary-compare against the SVN artifacts.
Implementation
- In
scripts/apache_release.py, before callinghatch buildorpython -m build:import subprocess epoch = subprocess.check_output(["git", "log", "-1", "--format=%ct", tag]).strip() os.environ["SOURCE_DATE_EPOCH"] = epoch.decode() - Document in
scripts/README.mdthat builds are reproducible - Add a test that rebuilds from a tagged commit and compares checksums
References
- Python reproducible builds
- PEP 552 (deterministic .pyc)
- Airflow's implementation in
breeze release-management prepare-airflow-distributions
- 主要言語
- Python
- スター
- 2.6k
- フォーク
- 212
- 平均マージ
- 5日 14時間
- マージ済み PR(30日)
- 39
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/burr のほかの issue
-
Notebook UI launcher should use the current Python interpreter対応中かも @sivakumar-mahalingam が 17 日前に担当しました。 オープンstatus/needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 4 日以内に返信
-
astep() passes unprocessed inputs to pre_run_step hooks対応中かも @sivakumar-mahalingam が 17 日前に担当しました。 オープンstatus/needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 4 日以内に返信
-
`burr` fails to start when the Python path has a space in it対応中かも @enekoreto が 20 日前に担当しました。 オープンstatus/needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 4 日以内に返信
-
Add more instructions for applying ORM migrations for S3 deployment対応中かも @ShryukGrandhi が 5 日前に担当しました。 オープンarea/storage area/ui help wanted kind/documentation priority/low
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 4 日以内に返信
-
Add documentation on how to run the Burr UI server対応中かも @enu-emu が 140 日前に担当しました。 オープンarea/ui good first issue kind/documentation priority/low
難易度 2/5 半日 初心者へのやさしさ 68/100
メンテナーはふだん 4 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
autowarefoundation/autoware_carla_scenario#1485 ·
メンテナーはふだん 1 日以内に返信
-
needs-area-label
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 2 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Official-Space-AI/OpenPhysGraspGen#114 ·
メンテナーはふだん 2 日以内に返信
-
changelog investigate
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
ramnes/notion-sdk-py#441 ·
-
copy_tree splits same-file errors into characters対応中かも @Gambit-Checkmate が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 14 日以内に返信