-
-
Notifications
You must be signed in to change notification settings - Fork 608
Combine license matches in new LicenseDetection #2961
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
Changes from 1 commit
Commits
Show all changes
86 commits
Select commit
Hold shift + click to select a range
a6e2941
Import functions from `scancode-analyzer`
AyanSinhaMahapatra ce84de8
Modify LicenseDetection attributes
AyanSinhaMahapatra 466e0e0
Create LicenseDetection serialization function
AyanSinhaMahapatra 8de3111
Enable LicenseDetection in API
AyanSinhaMahapatra 77ccbc9
Remove the --unknown-licenses option
AyanSinhaMahapatra 3bd00bc
Update local license dereferencing code
AyanSinhaMahapatra 56facc3
Update unknown license dereferencing for key-files
AyanSinhaMahapatra 391383c
Update intro rules with is_license_intro as True
AyanSinhaMahapatra 5b0dc11
Add test files for LicenseDetection
AyanSinhaMahapatra ce19d7a
Add LicenseDetection full scan tests
AyanSinhaMahapatra 578bd8d
Add function to create index from test rules folders
AyanSinhaMahapatra dc25cd4
Remove unwanted code, update docstrings
AyanSinhaMahapatra d70acde
Move LicenseDetection tests to new file
AyanSinhaMahapatra b4ddc77
Modify LicenseMatch data in results #2416
AyanSinhaMahapatra 6a441da
Add --licenses-reference option
AyanSinhaMahapatra bca7f4b
Add docs for LicenseDetection and detail referencing
AyanSinhaMahapatra d57f390
Do not summurize license detections
AyanSinhaMahapatra cc945a0
Apply LicenseDetection everywhere
AyanSinhaMahapatra 6a91773
Regenerate test expectations for LicenseDetection
AyanSinhaMahapatra 5826429
Merge branch 'develop' into add-license-detection
AyanSinhaMahapatra 3e68f76
Fix SPDX and other output plugins
AyanSinhaMahapatra 4fc7d24
Rename license fields for resource
AyanSinhaMahapatra 5e20984
Update test expectations for license field renaming
AyanSinhaMahapatra 2e3dd3e
Rename and Add package license attributes
AyanSinhaMahapatra 855cdef
Add functions for package LicenseDetection
AyanSinhaMahapatra 802c085
Modify package parsers to adopt new LicenseDetection
AyanSinhaMahapatra ab677c6
Align to package LicenseDetection
AyanSinhaMahapatra 552f173
Modify system packages to use LicenseDetection
AyanSinhaMahapatra e94a19e
Add new license key `undetected-license`
AyanSinhaMahapatra 0462ef4
Regenerate test expectations for package LicenseDetection
AyanSinhaMahapatra fd9cd57
Merge branch 'develop' into add-license-detection
AyanSinhaMahapatra 1147381
Fix test failures
AyanSinhaMahapatra 8929571
Fix pypi setup.py email bug
AyanSinhaMahapatra 9df811e
Add manifest license references detection
AyanSinhaMahapatra c47ce89
Add license from file if empty manifest license
AyanSinhaMahapatra fce8e7c
Add feature to get package license from sibling file
AyanSinhaMahapatra eb88b56
Allow package LicenseDetection without --licenses
AyanSinhaMahapatra 67872a4
Regen datadriven LicenseDetections
AyanSinhaMahapatra 9a93552
Revert to `rule_identifier`
AyanSinhaMahapatra ce11ae4
Remove `undetected-license` in favour of `unknown`
AyanSinhaMahapatra 7fc32ee
Regen test expectations and fix tests
AyanSinhaMahapatra 5aae457
Reorder license expressions and detections in result
AyanSinhaMahapatra 4c1c129
Add fucntions to test license detection with subset of rules
AyanSinhaMahapatra 86ec441
Fix datadriven license test errors
AyanSinhaMahapatra ca823b7
Fix debian_copyright test failure
AyanSinhaMahapatra 81793dd
Address review feedback
AyanSinhaMahapatra fb8f492
Add tests from eclipse foundation issues
AyanSinhaMahapatra 08cb42d
Merge branch 'develop' into add-license-detection
AyanSinhaMahapatra dca0371
Regenerate test expectations after merging develop
AyanSinhaMahapatra 174a097
Add `other_license*` attributes for packages #2065
AyanSinhaMahapatra c8ca7a3
Remove `compute_normalized_license` functions
AyanSinhaMahapatra 539ebed
Add `default_license_relation` attribute to handlers
AyanSinhaMahapatra 6f42f6f
Support NuGet license URLs #3037
AyanSinhaMahapatra 4f29860
Fix test failures
AyanSinhaMahapatra 0450138
Fix rpm tests
AyanSinhaMahapatra 21648a5
Merge branch 'develop' into add-license-detection
AyanSinhaMahapatra 57a3c2a
Fix test failures and expectations after merging develop
AyanSinhaMahapatra f1ee5f6
Do not return empty dict as exctracted license
AyanSinhaMahapatra bae1a30
Fix csv output after adding LicenseDetection`
AyanSinhaMahapatra b1e422c
Tag intro rule properly
AyanSinhaMahapatra 1b9a8f7
Fix package license expression None bug
AyanSinhaMahapatra eadb7bd
Also classify license intro in false positives list
AyanSinhaMahapatra 64bd3d8
Merge branch 'develop' into add-license-detection
AyanSinhaMahapatra 8edfb92
Make LicenseMatch grouping affected by presence of license intro
AyanSinhaMahapatra 0d8fba9
Modify license references to also effect clues
AyanSinhaMahapatra 08afdfd
Restore returning whole_lines by default
AyanSinhaMahapatra 6e2cad3
Add libxml files as unknown license reference test
AyanSinhaMahapatra a5c52fa
Tag license intro rules correctly
AyanSinhaMahapatra 02ab56c
Update false positives and unknown intro heuristics
AyanSinhaMahapatra 7d5c647
Add unknown license reference to package dereferencing #2965 #1379
AyanSinhaMahapatra 8721bdf
Improve unknown reference to package dereferencing #2965 #1379
AyanSinhaMahapatra 5b0efe4
Merge branch 'develop' into add-license-detection
AyanSinhaMahapatra afd4025
Merge branch 'develop' into add-license-detection
AyanSinhaMahapatra b1c999f
Rename `detection_rules` to `detection_log`
AyanSinhaMahapatra f0213ec
Update license clues heuristics
AyanSinhaMahapatra 5de2744
Add `rule_url` and update scancode URLs
AyanSinhaMahapatra fd3f1d7
Restore the --unknown-licenses experimental CLI option
AyanSinhaMahapatra 637c4dd
Adjust unknown licenses heuristics
AyanSinhaMahapatra 01b1de4
Replace `package` in referenced_filename
AyanSinhaMahapatra 5768c8c
Update docstrings and improve readability
AyanSinhaMahapatra 0e00d28
Update changelog and docs
AyanSinhaMahapatra 5ebca43
Improve CHANGELOG
pombredanne 18aca01
Update CHANGELOG to remove duplications
AyanSinhaMahapatra 05d163a
Bump output format to v3
pombredanne d264aec
Update CHANGELOG
pombredanne 8f07fdf
Bump version
pombredanne 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
Update license clues heuristics
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
- Loading branch information
commit f0213ec88076b72edfa506a55c3e295f96c1fdbd
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
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.