Skip to content

Gracefully handle Contributor License Agreements #79

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 17, 2022
Merged

Conversation

fviernau
Copy link
Member

@fviernau fviernau commented Nov 16, 2022

See individual commits.

Context #66.

Note: I've proposed the corresponding extension of ScanCode's license data model here: aboutcode-org/scancode-toolkit#3147.

@fviernau fviernau requested review from a team as code owners November 16, 2022 21:37
Contributor license agreements are fundamentally different from other
licenses in ScanCode, as they are relevant only when contributing to
source code but not for using the source code or its corresponding
release artifacts.

Prepare for handling CLA's completely separately, by re-assigning them
to their own category.

Note: Do not re-assign CLA's which are 'generic' or 'unknown' licenses,
because such licenses do no even represent a real license and again need
a special handling.

Signed-off-by: Frank Viernau <[email protected]>
The generation logic has been changed to re-assign CLAs to their own
category. Re-generate the file by using [1] to reflect that.

[1] ./gradlew generateLicenseClassifications

Signed-off-by: Frank Viernau <[email protected]>
CLAs do not need to be flagged, because they do not apply to the use of
open source (only to contributing to it).

Signed-off-by: Frank Viernau <[email protected]>
@@ -44,6 +44,19 @@ private val JSON_MAPPER = JsonMapper().apply {
propertyNamingStrategy = PropertyNamingStrategies.SNAKE_CASE
}

private val CONTRIBUTOR_LICENSE_AGREEMENT_IDS = listOf(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit message nit: "CLA's" > "CLAs"

@fviernau fviernau merged commit 5f27643 into main Nov 17, 2022
@fviernau fviernau deleted the cla-handling branch November 17, 2022 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants