-
-
Notifications
You must be signed in to change notification settings - Fork 597
Improve License Clarity at Top Package Level #3792
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
Draft
swastkk
wants to merge
59
commits into
aboutcode-org:develop
Choose a base branch
from
swastkk:improve-license-clarity
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 9 commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
7322dc2
Add license-clarity attribute in Package model
swastkk 3ca4308
Add Post Scan Plugin --package-summary option
swastkk fdca15e
Add a unit test for package summary
swastkk 64957ec
Update Failing tests with SCANCODE_REGEN_TEST_FIXTURES
swastkk 0c93d6d
update: Package model to have license_clarity_score
swastkk 703d7cc
update: package models have license_clarity_score only if package-sum…
swastkk 1667ea1
Update data_type of license_clarity_score attribute to dict and few m…
swastkk 7838da7
Add test for package summary plugin
swastkk 9da7f6e
Update REGEN_TESTS with latest changes
swastkk 946864a
Update headers & other test regenerations, fix #3802
swastkk d2f5b30
update: Stripdown the test data for package_summary, #3817
swastkk e60fca8
update: Remove unnecessary data in testfiles that are irrelevant, #3817
swastkk 9a1ee50
Fix: Resolve minor review comments #3802
swastkk 65de49a
Update: Add dummy function to get the scoring elements for license_cl…
swastkk 7dd309f
Update score.py to calculate license_clarity_score at package instanc…
swastkk 6144567
Update: Made --classify as required plugin for --package-summary & up…
swastkk c775280
Merge branch 'develop' into improve-license-clarity
swastkk be4b61d
REGEN_Test: Regenerate package_summary test
swastkk 2500f8f
Update: Create a deep copy of package attribute of codebase to have r…
swastkk 4bce6d1
Refactor PackageSummary:process_codebase func code
swastkk b40abf8
Add get_field_values_from_package_resources method for package resour…
swastkk f76cee9
Update: Add --license & --copyright to package_summary test & test REGEN
swastkk 818bf6f
Refactor: Combined both methods(Codebase level & Package Level) to on…
swastkk a63a04c
Refactor: Use single method compute_license_score for both codebase a…
swastkk 27c2cc1
Update: Test Failure fix in test_score.py test cases
swastkk 69a9d31
Add: Populate package attributes in reference to package-summary #3862
swastkk 11cf15e
Update: Add other_license_expression attribute to PackageSummaryAttri…
swastkk fa6ecce
Update: Add package_attributes_map to ensure attributes are collected…
swastkk 0ba0468
Update: Add Licenses to packagae_summary test-case & minor refactorin…
swastkk 92bf3f4
Update: Add other_license_expression_spdx & populate the same #3862
swastkk 10f4634
TEST_REGEN: Updates in expected.json wrt other_license_expression_spd…
swastkk d69faa1
Add: Implement get_top_level_resources to pypi whl DataFileHandler, #…
swastkk eab6c2e
Refactor: Use attributes_to_update list to attribute assignment & get…
swastkk b852acd
REGEN_Test: Regenerate scancode/test_cli.py::test_scan_cli_help test
swastkk 3545cc8
Refactor: Trim down package_summary test unnecessary files
swastkk 0100310
REGEN_Test: Regenerate package_summary test with updated test data
swastkk c1de27f
Refactor: Remove double for loop iteration for package&package_copy
swastkk 33e72d0
Refactor: Update compute_license_score & get_field_values_from_resour…
swastkk b8a2c9b
REFACTOR: Unify compute_license_score func to be used in summary and …
swastkk 67e702b
Resolve failing test due to code refactoring
swastkk 73c6664
Trim down test package_summary data
swastkk 7eedcca
REGEN: Regenerated package_summary test with new testing data
swastkk b84bec4
Add test for python whl ecosystem #3707 #3862
swastkk 4b121e4
Merge branch 'develop' into improve-license-clarity
swastkk 4416144
Add test for copyright & holder populated package attributes
swastkk 8374263
Move Package Summary Plugin Tests to new test_package_summary #3889
swastkk 150967c
Add Python whl package ecosystem test in test_package_summary #3889
swastkk eb4cbb8
Add package_summary test for npm package ecosystem #3889
swastkk c2240f8
Add PackageSummary Test for rubygems ecosystem, #3889
swastkk dc4a75d
Fix rubygems test (package_summary)
swastkk 391c224
Fix up rubygems(expected json result)
swastkk bd78ad5
Add get_codebase_resources func to get codebase resources
swastkk 96873dd
Refactor get_field_values_from_resources func and fixup the summary &…
swastkk 30f80ba
Minor nits in get_top_level_resources in pypi whl
swastkk 341fe89
Add package_summary test for rust ecosystem #3889
swastkk 3bff56c
Fix license-clarity-score plugin compute_license_score func input
swastkk 0274044
Send resource objects instead of dicts in the summary & package-summary
swastkk e5146fc
Minor linting fixed in score.py
swastkk a3dce3f
Trim down python-whl/rubygem test data #3889
swastkk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.