Case-Sensitive IRI as spdxId

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

@goneall がすでに取り組んでいます。

2026年6月28日 から。

  • #293 @goneall による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
java
領域
tooling

調査の方向性

2つの例のspdxIdsを使ってissueのduplicate-URIエラーを再現し、その後、tools-javaがURIの同一性と重複検出をどのように処理しているかを追跡します。大文字と小文字が異なるパスは別個のものとして受け入れられ、一方で実際に同一のspdxIdsは引き続き期待される動作になることが完了条件です。

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

説明

question test

Hi,

using the tools-java in their 2.0.5 version I got an issue with duplicate spdxIds:

Analysis exception processing SPDX file: Object URI already exists.

Looking at the spdxIds I've notices that they are only identical if they are threaded case-insensitive. By specification the path of an URL should be case-sensitive.
This makes also sense as in fact the file exists twice in the Linux kernel includes the file twice with different content:

Simplified Examples:

https://spdx.example.com/doc-/packages/usr_lib_modules_kernel_net_netfilter_xt_hl_ko_a
https://spdx.example.com/doc-/packages/usr_lib_modules_kernel_net_netfilter_xt_HL_ko_a

In my eyes this is not an error but intended usage.

主要言語
Java
スター
101
フォーク
47
平均マージ
3日 10時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

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

spdx/tools-java のほかの issue

spdx/tools-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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