-
-
Notifications
You must be signed in to change notification settings - Fork 790
Add CycloneDx output option #2698
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
pombredanne
merged 31 commits into
aboutcode-org:develop
from
agschrei:add-cyclonedx-output-option
Dec 29, 2021
Merged
Changes from 16 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
487851f
add scaffolding for cyclonedx output plugin #1888
agschrei 799d72d
extract CycloneDX components from codebase packages #1888
agschrei b9877d6
move external reference mapping into separate function #1888
agschrei 24f64e9
refine mapping of declared_license fields to CycloneDx licenses #1888
agschrei 73f50bc
filter duplicate license entries from output #1888
agschrei a2a99f1
add custom JSONEncoder #1888
agschrei 8bf7fc7
merge components avoiding duplicates #1888
agschrei 5110639
add indentation to make json output pretty-print #1888
agschrei 9c9c60b
check in expected result for cyclonedx json output #1888
agschrei bcce29c
add XML serialization #1888
agschrei f558da8
extract optional scope from dependency tree #1888
agschrei ac698ad
docs: add cli-reference stub about new output options #1888
agschrei 513c5c8
test: verify removal of None or empty collections #1888
agschrei 3ee1601
handle scan results with empty packages #1888
agschrei b81a2fd
CHANGELOG: add info about CycloneDx output plugin #1888
agschrei 8346eb8
test: update test_scan_cli_help test resource with new output options…
agschrei 80ff326
replace xml with lxml to allow easy pretty-printing #1888
agschrei 055c951
rename cyclonedx cli options to favor json over xml #1888
agschrei ef4748e
reorder JSON keys and align with project's coding style #1888
agschrei 1df94fc
apply black formatting without string normalization #1888
agschrei 5d15d30
fix failing test by updating expected result #1888
agschrei 8bf905c
rename variables and reliably extract scancode-toolkit header #1888
agschrei e633ba6
refactor: turn standalone functions into class methods #1888
agschrei d26d3b1
map multiple authors and use license db url as fallback #1888
agschrei 9f8d8d4
add external refs for scancode spdx ids #1888
agschrei da91fee
docs: break lines at 100 chars length to pass lint check #1888
agschrei 93f046a
Merge latest develop branch
pombredanne 7500b64
Sort and streamline imports
pombredanne 4e2526c
Add new build_spdx_license_expression() function
pombredanne 953a40e
Refine CycloneDX support #1888
pombredanne af286da
Revert change in SDPX tests XML loading
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
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
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.