Test that license texts match SPDX plain license texts

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

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

2026年7月11日 から。

  • #1347 @Tarekchehahde による — オープン

評価

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

調査の方向性

まず _licenses コレクションと既存のテスト設定を調査し、次に issue で参照されている SPDX license-list-data のプレーンテキストファイルを確認します。カタログ化されたライセンス間の比較を定義し、記載されている想定される失敗を考慮したうえで、プロジェクトのテストスイートを実行して新しいライセンスエントリがチェックされることを検証します。

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

説明

help wanted

We should have a test that each license text in _licenses is the same as the plain text license in the SPDX collection to automate the requirement described at https://github.com/github/choosealicense.com/blob/gh-pages/CONTRIBUTING.md#adding-a-license

The text of the license should match the corresponding text found in spdx/license-list-data. If there are errors there, please fix them in spdx/license-list-XML (from which the plain text version is generated) so as to minimize license text variation and make it easier for choosealicense.com to eventually consume license texts directly from SPDX.

The test could clone spdx/license-list-data and compare each license we have cataloged in this project. Many existing licenses would probably have to be marked as expected failures due to bugs in SPDX output and discrepancies in how this project has cataloged some licenses. But we should address upfront for any new license cataloged here, and continue to chip away at the existing inconsistencies.

主要言語
HTML
スター
4.2k
フォーク
1.7k
平均マージ
12時間 28分
マージ済み PR(30日)
7

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

github/choosealicense.com のほかの issue

github/choosealicense.com の issue をすべて見る

似ている issue

Content の issue をもっと見る

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

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