Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPDX format linter should not allow case insensitive operators #4613

Closed
kit-ty-kate opened this issue Mar 24, 2021 · 2 comments · Fixed by #4768
Closed

SPDX format linter should not allow case insensitive operators #4613

kit-ty-kate opened this issue Mar 24, 2021 · 2 comments · Fixed by #4768

Comments

@kit-ty-kate
Copy link
Member

The SPDX format checked for by opam lint explicitly says that:

License expression operators (AND, OR and WITH) should be matched in a case-sensitive manner.

see: https://spdx.github.io/spdx-spec/appendix-IV-SPDX-license-expressions/

opam allows <license> with <exception> but it should not be the case

@dra27
Copy link
Member

dra27 commented Jul 2, 2021

Cross-referencing #4598

@kit-ty-kate
Copy link
Member Author

The syntax for having multiple license currently accepted is license: ["license1" "license2"] where it should probably be license: "license1 AND license2)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants