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

allow and, or and with operators #892

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

xsuchy
Copy link

@xsuchy xsuchy commented Mar 7, 2024

This is follow up of discussion https://lists.spdx.org/g/spdx/message/1798 where this was found as good compromise https://lists.spdx.org/g/spdx/message/1817

And followup of #876

@@ -27,10 +27,16 @@ compound-expression = (simple-expression /

simple-expression "WITH" addition-expression /

simple-expression "with" addition-expression /
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please group the two versions in a single line:

simple-expression ( "WITH" / "with" ) addition-expression

@@ -50,7 +56,7 @@ In the `tag:value` format, a license expression MUST be on a single line, and MU

## D.2 Case sensitivity <a name="D.2"></a>

License expression operators (`AND`, `OR` and `WITH`) should be matched in a *case-sensitive* manner.
License expression operators (`AND`, `and`, `OR`, `or`, `WITH` and `with`) should be matched in a *case-sensitive* manner. I.e., variations `And`, `oR` are not allowed.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think the final explanation is needed.

If we want to have it in, reword it to something like:

manner, i.e., letters must be all upper case or all lower case.

This is follow up of discussion https://lists.spdx.org/g/spdx/message/1798
where this was found as good compromise https://lists.spdx.org/g/spdx/message/1817

Signed-off-by: Miroslav Suchý <msuchy@redhat.com>
@xsuchy
Copy link
Author

xsuchy commented Mar 7, 2024

Updated.

@xsuchy
Copy link
Author

xsuchy commented Mar 27, 2024

ping. @zvr can you please re-review?

@Conan-Kudo
Copy link

Oh thank you for this! 🎉

Copy link
Member

@goneall goneall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - Going ahead and merging

@goneall goneall merged commit c86fbb9 into spdx:development/v3.0 Apr 1, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants