Feature Request: read SBOM from stdin
まだ誰も着手していません。
評価
調査の方向性
まず、SBOM ファイルの入力を受け付ける CLI 関数と、例に示されている Verify コマンドを特定します。単一の '-' を渡すと SBOM が標準入力から読み取られるようになり、文書化されている container-piping のユースケースも含まれれば完了です。
索引モデルが issue の本文から書いたものです。
説明
It would be great if the CLI functions which read SBOMs support reading from piped standard input.
There are some cases where it is much more convenient to pipe output of one tool into another one instead of requiring files. For example: using the tools to validate a SBOM in a container requires: saving the SBOM to a file, run the container with a mounted filesystem containing the SBOM, referencing the same SBOM using a path matching how the container mount was specified, etc. whereas doing something like cat <sbom> | docker run --rm -i spdx-java-tools-validator:latest could be much simpler and could prevent needing an intermediary file altogether in certain circumstances.
A suggestion: one reasonably simple way to do this is just check the file input being just a single dash, - (like implemented in vim: vi -), which causes the system to explicitly read from stdin instead of attempting to load a file. This would allow something like the aforementioned cat <sbom> | docker run --rm -i spdx-java-tools-validator:latest Verify - to work for the example.
- 主要言語
- Java
- スター
- 101
- フォーク
- 47
- 平均マージ
- 3日 10時間
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
spdx/tools-java のほかの issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
spdx/tools-java#341 · コメント 1 件 ·
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
spdx/tools-java#331 · リアクション 1 件 ·
-
Verify accepts SPDX 2.3 documents that violate normative MUST rules (document SPDXID, unique SPDXIDs, documentNamespace URI)再び着手できるかも @tommyquak が 28 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug spdx-2.3 validation
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
spdx/tools-java#316 · コメント 5 件 · リアクション 1 件 · 担当者 1 名 ·
-
Release 2.0.8オープン
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
spdx/tools-java#313 · リアクション 1 件 ·
-
spdx-2.x spdx-3.x
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
spdx/tools-java#290 · コメント 2 件 ·
spdx/tools-java の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
federicoiosue/Omni-Notes#1044 ·
-
Bug
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
Terraform releases proxy leaves a temp folder behind on every cache refresh対応中かも @dhananjay6561 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
terrakube-io/terrakube#4069 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信