clearlydefined / service

The service side of clearlydefined.io
MIT License
45 stars 41 forks source link

Fix curation validation #1223

Closed qtomlinson closed 2 weeks ago

qtomlinson commented 2 weeks ago

When the curated license contains NOASSERTION (e.g., MIT AND NOASSERTION), the curation should be invalid. In addition, when the curated license is not normalized, include the normalized license expression in the error message.

In the future, we can consider ignoring the cases of SPDX identifiers as per SPDX specification. For example, "MIT, Mit and mIt should all be treated as the same identifier".

qtomlinson commented 2 weeks ago

This is related to https://github.com/clearlydefined/service/issues/1181