Skip to content

Commit

Permalink
ScanCodeResultParser: Also map "other" licenses to NOASSERTION
Browse files Browse the repository at this point in the history
As e.g. explained for "other-copyleft" [1], "this is a catch all and
ellipsis to deal with some cases", so it is not a specific license.

[1]: https://scancode-licensedb.aboutcode.org/other-copyleft.html

Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch.io>
  • Loading branch information
sschuberth committed Apr 26, 2022
1 parent a47faed commit 6ea8a75
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ private val NOASSERTION_LICENSE_REFS = listOf(
"LicenseRef-scancode-patent-disclaimer",
"LicenseRef-scancode-warranty-disclaimer",

// https://scancode-licensedb.aboutcode.org/?search=other
"LicenseRef-scancode-other-copyleft",
"LicenseRef-scancode-other-permissive",

// https://scancode-licensedb.aboutcode.org/?search=unknown
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-unknown",
Expand Down

0 comments on commit 6ea8a75

Please sign in to comment.