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

Fix-up an accidental use of SPDX's WITH operator in a rule #3628

Conversation

fviernau
Copy link
Contributor

@fviernau fviernau commented Dec 27, 2023

Adjust a rule to return bsd-new AND facebook-patent-rights-2 OR gpl-2.0 instead of bsd-new WITH facebook-patent-rights-2 OR gpl-2.0.

See individual commits.

The text denoted by the ID `facebook-patent-rights-2` actually contains
a patent license, not a license exception. So, that ID must not be use
as right-hand-side operand of the the `WITH` operation.

Fix the issue by using `AND` instead of `WITH`.

Signed-off-by: Frank Viernau <[email protected]>
The rule detects `bsd-new AND facebook-patent-rights-2`, not
`bsd-new WITH facebook-patent-rights-2`.

Signed-off-by: Frank Viernau <[email protected]>
Copy link
Contributor

@AyanSinhaMahapatra AyanSinhaMahapatra left a comment

Choose a reason for hiding this comment

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

Thanks @fviernau!
LGTM! Merging.

@AyanSinhaMahapatra AyanSinhaMahapatra merged commit 60a15d4 into aboutcode-org:develop Jan 5, 2024
32 checks passed
@fviernau fviernau deleted the rules-fix-up-bsd-new-facebook-spdx-operator branch January 18, 2024 21:38
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.

2 participants