Skip to content

Commit 28f0e47

Browse files
committed
refactor(tools/curations): Rename the license category for CLAs
ScanCode has introduced a new license category for Contributor License Agreements, see e.g. [1]. The logic for importing the ScanCode licenses accounted for that (previously lacking) license category using 'contributor-license-agreemt' as category name. Align the name with the ScanCode one for clarity in upcoming changes. [1] https://github.com/nexB/scancode-licensedb/blob/main/docs/cncf-corporate-cla-1.0.json#L5 Signed-off-by: Frank Viernau <[email protected]>
1 parent 086d30f commit 28f0e47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ private val JSON_MAPPER = JsonMapper().apply {
4444
propertyNamingStrategy = PropertyNamingStrategies.SNAKE_CASE
4545
}
4646

47-
private const val CATEGORY_CONTRIBUTOR_LICENSE_AGREEMENT = "contributor-license-agreement"
47+
private const val CATEGORY_CONTRIBUTOR_LICENSE_AGREEMENT = "cla"
4848
private const val CATEGORY_GENERIC = "generic"
4949
private const val CATEGORY_UNKNOWN = "unknown"
5050

0 commit comments

Comments
 (0)