aboutcode-org / aboutcode-org/license-expression

Case-sensitive validation of license expressions?

未關閉
#121 5 則留言 0 個 reaction 已指派 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 摘要。