Bug 15502

Summary: Missing spdx Licenses in the common-licenses directory
Product: [Build System, Metadata & Runtime] BSPs Reporter: Amr Mohamed <amr.mohamed>
Component: bsps-oe-coreAssignee: Amr Mohamed <amr.mohamed>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: JPEWhacker, randy.macleod, ross.burton
Version: unspecified   
Target Milestone: 5.1   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Amr Mohamed 2024-06-05 12:29:19 UTC
The following Licenses couldn't be found in the common-licenses directory but they are listed in spdx "https://spdx.org/licenses/".
Qt-GPL-exception-1.0
BSD-2-Clause-FreeBSD
BSD-Advertising-Acknowledgement
BSD-2-Clause-NetBSD
Python-2.0.1
FDK-AAC
metamail
Inner-Net
TTWL
Comment 1 Randy MacLeod 2024-06-06 14:39:29 UTC
Thanks Amr,
Are you able and willing to send a patch?
Comment 2 Ross Burton 2024-06-10 15:57:30 UTC
Joshua: did you have a script to automatically sync the licenses with the SPDX index?  Or am I just imagining that.
Comment 3 Joshua Watt 2024-06-10 16:16:20 UTC
I don't. Maybe you are thinking of the SPDX JSON license list? I don't have a script for that, but it can (and should) be synced from upstream.

We could probably write a script that pulls licenses using the JSON file data, e.g. https://raw.githubusercontent.com/spdx/license-list-data/v3.24.0/json/licenses.json
Comment 4 Joshua Watt 2024-06-27 22:23:38 UTC
This is partially solved with: https://lists.openembedded.org/g/openembedded-core/topic/patch_2_2_licenses_update/106918428

Some of the listed licenses are marked as deprecated, and I don't want the automated script to pull deprecated licenses, so they might have to be added manually.

I also don't pull the exceptions, because in general I don't think OE handles them
Comment 5 Ross Burton 2024-07-08 10:26:22 UTC
Fixed in e9c1f48af10ccb58251ecc7e041babb99b94d6df, hopefully.

Amr, please re-open if there are license texts that you still need.