Provide PEP 770 SBOM files in generated wheels

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python

調査の方向性

特定のファイルやテストは指定されていません。まず PEP 770 を読み、wheel 生成の build プロセスを追跡してください。生成された wheel のメタデータディレクトリに、アクティブな build 依存関係とプラットフォーム依存関係を反映した、機械可読な SBOM ファイルが含まれるようになれば完了です。

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

説明

As OpenCV and this Python bindings heavily rely on native code either part of vendored directories or custom locations and provide a great range of configuration options, it would be great if the build process would generate suitable SBOM files.

This would greatly improve downstream license compliance handling, as the build process is the only reliable resource where this information can be generated from.

At the moment, a third-party license file is provided (which is nice), but it is not machine-readable, possibly lacks relevant details and/or includes components which are not even active in the current build, like when disabling FFmpeg or the GUI, or when we only look at a Linux-specific wheels where we should not have to care about Windows- or Apple-only dependencies.

With PEP 770, a corresponding standard has been established for shipping the SBOM files as part of the metadata directory inside wheel files.

主要言語
Shell
スター
5.5k
フォーク
1.1k
平均マージ
2日 4時間
マージ済み PR(30日)
9

環境構築

はじめの一歩

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

opencv/opencv-python のほかの issue

opencv/opencv-python の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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