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
{{ message }}
Repository navigation
Parse, Valid and ExtractLicenses reject LicenseRef exceptions #39
#37 made ParseSyntax accept LicenseRef-* identifiers after WITH, but the normalizing path still rejects them. 168 ScanCode exception keys in licensedb fail this way.
Because HasCopyleft and IsFullyPermissive return false on a parse error, the failure is silent:
spdx.ExtractLicenses("GPL-2.0-only WITH LicenseRef-scancode-bacula-exception")
// [] expected exception after 'WITH'spdx.HasCopyleft("GPL-2.0-only WITH LicenseRef-scancode-bacula-exception") // falsespdx.Valid("GPL-2.0-only WITH LicenseRef-scancode-bacula-exception") // false
Activity
Accept LicenseRef exceptions in Parse and category helpers