Skip to content

BSD-style non-non-promo (non-)clause falsely treated as BSD-new non-promo clause #1889

Description

@jonassmedegaard

The test file tests/licensedcode/data/licenses/bsd-new_100.txt and tests/licensedcode/data/slic-tests/identification/chemeris.h and tests/licensedcode/data/slic-tests/identification/MSIntTypes.h and src/licensedcode/data/rules/bsd-new_6.RULE contains a 3rd "clause" which explicitly permits endorsement of derived products.

It looks like the classic non-endorsement clause but the initial negation is dropped, changing its meaning.

At least the last in the list is in corresponding YAML file declared as "bsd-new" which is incorrect.
Yes, that same file includes a note that the author later corrected licensing, but that does not change the fact that the licensing expressed is not "bsd-new".

One other file - src/licensedcode/data/rules/bsd-original_19.RULE has a similar but even worse issue of stripping the initial negation but then including the followup "nor" which as I understand it is syntactically wrong in the english language.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugimprove-license-detectionlicense-reviewA license detection issue that needs reviewnew-licenseA new scancode license can be added for thisrevisitAn updated older issue needs another look

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions