Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Official GPL-1.0 license text is not being matched correctly by LicenseCompareHelper.isTextStandardLicense()

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

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

評価

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

調査の方向性

まず、公式の GPL-1.0 テキストを使用して LicenseCompareHelper.isTextStandardLicense() 経由で不一致を再現し、次にその結果を GPL-1.0 SPDX テンプレートと比較します。オプションのテキストと END OF TERMS AND CONDITIONS マーカーがどのように処理されるかを追跡します。標準ライセンスが報告された追加テキストの差異なしに認識されれば完了です。

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

説明

bug matching

When org.spdx.utility.compare.LicenseCompareHelper.isTextStandardLicense().isDifferenceFound() is run on the official GPL-1.0 license text, it (incorrectly) returns true (i.e. the standard license was not matched). When I run org.spdx.utility.compare.LicenseCompareHelper.isTextStandardLicense().getDifferenceMessage() on it, I get:

Additional text found after the end of the expected license text starting at line #192 column #21 "end"

However the GPL-1.0 SPDX template does appear to (correctly) contain the text END OF TERMS AND CONDITIONS at this point (albeit in an <optional> block).

This was reproduced with Spdx-Java-Library v1.11 and SPDX license list v3.23.

主要言語
Java
スター
71
フォーク
44
平均マージ
13時間 43分
マージ済み PR(30日)
9

環境構築

はじめの一歩

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

spdx/Spdx-Java-Library のほかの issue

spdx/Spdx-Java-Library の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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