Skip to content
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

Add primary license in summary #2884

Merged
merged 4 commits into from
Mar 14, 2022
Merged

Conversation

JonoYang
Copy link
Contributor

@JonoYang JonoYang commented Mar 4, 2022

I have updated the --summary plugin to return the primary license of a scanned codebase, the license clarity score, and the license expression and holder summary. The --classify plugin is now active for all runs of scancode by default. I've modified the code from the license clarity scoring plugin to return a primary license.

@pombredanne pombredanne force-pushed the 2842-primary-license-in-summary branch from bd99ee7 to f6fa89a Compare March 9, 2022 09:07
@pombredanne pombredanne changed the title 2842 primary license in summary Add primary license in summary Mar 9, 2022
   * Add test for license ambiguity
   * Remove previous license clarity scoring plugin

Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
    * Refactor check_for_license_ambiguity to return a primary license expression

Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
@JonoYang JonoYang force-pushed the 2842-primary-license-in-summary branch from 4158409 to 0bbad82 Compare March 9, 2022 23:53
@pombredanne pombredanne merged commit f6e357f into develop Mar 14, 2022
@pombredanne pombredanne deleted the 2842-primary-license-in-summary branch April 20, 2022 21:07
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.

None yet

2 participants