Skip to content

Commit 9300bcd

Browse files
committed
fix(tools/curations): Remove unnecessary license category overrides
ScanCode introduced a new category for CLAs. So, remove all entries which have been assigned to that CLA category upstream. Signed-off-by: Frank Viernau <[email protected]>
1 parent 4b6aad3 commit 9300bcd

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

tools/curations/buildSrc/src/main/kotlin/ScanCodeLicenseDbClassifications.kt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,7 @@ private const val CATEGORY_GENERIC = "generic"
4949
private const val CATEGORY_UNKNOWN = "unknown"
5050

5151
private val OVERRIDE_LICENSE_CATEGORIES = mapOf(
52-
"LicenseRef-scancode-cncf-corporate-cla-1.0" to CATEGORY_CLA,
53-
"LicenseRef-scancode-cncf-individual-cla-1.0" to CATEGORY_CLA,
54-
"LicenseRef-scancode-google-cla" to CATEGORY_CLA,
55-
"LicenseRef-scancode-google-corporate-cla" to CATEGORY_CLA,
56-
"LicenseRef-scancode-jetty-ccla-1.1" to CATEGORY_CLA,
57-
"LicenseRef-scancode-ms-cla" to CATEGORY_CLA,
58-
"LicenseRef-scancode-newton-king-cla" to CATEGORY_CLA,
59-
"LicenseRef-scancode-owf-cla-1.0-copyright" to CATEGORY_CLA,
60-
"LicenseRef-scancode-owf-cla-1.0-copyright-patent" to CATEGORY_CLA,
61-
"LicenseRef-scancode-square-cla" to CATEGORY_CLA
52+
"LicenseRef-scancode-ms-cla" to CATEGORY_CLA
6253
).mapKeys { (license, _) -> SpdxSingleLicenseExpression.parse(license) }
6354

6455
private data class License(

0 commit comments

Comments
 (0)