why LicenseRef-Callaway-CC-BY-SA, LicenseRef-Callaway-BSD , LicenseRef-Callaway-MIT , LicenseRef-Callaway-OFL are not valid for license-validate command anh what is need to validate marker ( https://bugzilla.redhat.com/show_bug.cgi?id=2362370#c2 ) ?As far as I know, these LicenseRef identifiers were only introduced by automatic conversions to SPDX for existing packages.
Right. I will elaborate on this.
I will take BSD as an example.
When package had license BSD this could not be converted to SPDX automatically. As the SPDX equivalent is either BSD-2-Clause or BSD-3-Clause (and you can find other variations too). To find which license is correct you have to manually check the license. And that does not scale for hundreds or thousands packages. On the other hand, when we leave BSD string there, it is not SPDX id. It is not valid SPDX formula. And SPDX tooling will fail to parse it.
So we decided to make partial step forward. Migrate BSD to LicenseRef-Callaway-BSD (and comment above the License tag). This id **is** valid SPDX id as LicenseRef-* is reserved by SPDX specification for custom usage. So we do conform to SPDX standard. But at the same time we know we can do more. And with a bit of work it can be converted from custom id to standard id (either BSD-2-Clause or BSD-3-Clause). For this reason - to encourage the migration to final standard id - we did not add LicenseRef-Callaway-BSD to fedora-license-data set and it popups as not allowed license (because it is unknown to fedora-license-data).
What you need to validate it? You can use help of:
$ license-fedora2spdx BSD
Warning: more options on how to interpret BSD. Possible options:
['TCP-wrappers', 'BSD-3-Clause', 'BSD-3-Clause-Modification',
'BSD-2-Clause', 'BSD-2-Clause-Views', 'BSD-2-Clause-FreeBSD',
'BSD-1-Clause']
{{pick BSD choice}
This will give you hint of known SPDX id for the Callaway
umbrella string. You need to check the license and find if it
matches one of these SPDX ids and use that one.
-- Miroslav Suchy, RHCA Red Hat, Manager, Packit and CPT, #brno, #fedora-buildsys
-- _______________________________________________ legal mailing list -- legal@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to legal-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/legal@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue