You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: Make license classifications work with old ScanCode versions
For any detected license ORT's ScanCode integration either uses the
license ID from the SPDX license list if present (preferred) or
"LicenseRef-scancode-$key" otherwise.
It may happen that a particular license gets added to the SPDX license
list. ORT's ScanCode integration would then return a `LicenseRef-*`
license identifier if used with an older ScanCode version, and a license
ID from the SPDX license list when used with a recent ScanCode version.
So, adjust the logic to always categorize both license IDs for any
particular license. This makes the most recent classifications
(backwards) compatible with older ScanCode versions.
Signed-off-by: Frank Viernau <[email protected]>
0 commit comments