aboutcode-org / aboutcode-org/license-expression

Case-sensitive validation of license expressions?

Đang mở
#121 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
73
Fork
33
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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`?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.