aboutcode-org / aboutcode-org/license-expression

Case-sensitive validation of license expressions?

オープン
#121 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
73
フォーク
33
PR マージ指標
30日以内にマージされた PR はありません

説明

While the latest SPDX standard specifies that license identifiers should (mostly) be treated _case-insensitive_ (https://spdx.github.io/spdx-spec/v3.0.1/annexes/spdx-license-expressions/#case-sensitivity), I have a use case where we'd like to validate that all identifiers in an expression match with the case of the canonical identifier on the [SPDX License List](https://spdx.org/licenses). Is there a way to do this with `license-expression`, e.g, by somehow accessing the original token from the parsed `LicenseSymbol`?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

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

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