-
Notifications
You must be signed in to change notification settings - Fork 340
declared-license-mapping: Remove conflicting BSD license mappings #3857
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
Conversation
f6d6359
to
397aaf5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we can't assume the version of BSD license then the solution to go for in my view is to map it to something like LicenseRef-ort-bsd-family
.
In this way we still produce a valid SPDX id but it will allow ORT admins to create a rule violation with a how to fix text explaining that "LicenseRef-ort-bsd-family" is a catch-all/generic SPDX license id for cases (similar to LicenseRef-scancode-other-permissive) where version of the BSD license could not be determined and that the user has to add manually determine the version and then add a declared license curation to curations.yml
.
397aaf5
to
5b9b6fb
Compare
Interesting idea, let's give it a try. |
This introduces a "generic" license identifier. Further, the user needs to understand the semantics of this license identifier before he can make a mapping. Finally, if the user is interested in NOTICE files, the user needs to map that "family" license anyway, so no effort is saved. Given the above I'd not prefer to introduce such "family" license identifiers at all in such cases. edit: I've added the missing "not" @sschuberth you mentioned below |
Is this lacking a "not" somewhere? |
Independently of @fviernau's (reasonable) comments, I also ran into practical issues to apply a "family"-style mapping: It would consequently also require to map the "BSD" license in TL;DR, for now I'd agree with @fviernau that simply removing these conflicting mapping is the better approach. |
If we do want to create a mapping in ORT, I believe we should introduce a way of mapping analog to the way we have in curations. |
Why do we need something analog to curations, if curations already support exactly that use-case? I'd rather go forward and finally start publishing (some of) our existing curations, which is something that we were planning to do anyway. |
My main point was (1) "doing it in ORT" and (2) in a way specific to the ID. How exactly doesn't matter for my proposal above.
Makes sense. |
5b9b6fb
to
397aaf5
Compare
So, I went back and restored the original change which just removes the conflicting mappings. |
397aaf5
to
1fa5bce
Compare
The consensus was to not introduce something like "LicenseRef-ort-bsd-family".
It does not make sense to map "BSD License" and "The BSD License" differently. In fact, the version cannot be told in either case. So simply remove both mappings. As an example why the version cannot be assumed, take [1] where "The BSD License" is supposed to mean BSD-3-Clause instead of BSD-2-Clause. [1] https://repo1.maven.org/maven2/org/antlr/antlr4-master/4.7.1/antlr4-master-4.7.1.pom Signed-off-by: Sebastian Schuberth <[email protected]>
1fa5bce
to
9524657
Compare
It does not make sense to map "BSD License" and "The BSD License"
differently. In fact, the version cannot be told in either case. So simply
remove both mappings.
As an example why the version cannot be assumed, take [1] where "The BSD
License" is supposed to mean BSD-3-Clause instead of BSD-2-Clause.
[1] https://repo1.maven.org/maven2/org/antlr/antlr4-master/4.7.1/antlr4-master-4.7.1.pom
Signed-off-by: Sebastian Schuberth [email protected]