-
Notifications
You must be signed in to change notification settings - Fork 146
SPDX-2.2 validation #490
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
armintaenzertng
merged 13 commits into
spdx:refactor-python-tools
from
armintaenzertng:spdx2-2Validation
Feb 22, 2023
Merged
SPDX-2.2 validation #490
Changes from 1 commit
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
33ea7cb
[issue-463] add validation of v2.3 only package fields
armintaenzertng 264bb60
[issue-463] add validation of v2.2 mandatory package fields
armintaenzertng 07a80f5
[issue-463] add validation of v2.2 mandatory file fields
armintaenzertng 80ceb92
[issue-463] add validation of v2.2 mandatory snippet fields
armintaenzertng 43ebce6
[issue-463] fix usage of spdx version during validation
armintaenzertng 5bc9ac9
[issue-463] restrict possible SPDX versions to supported versions
armintaenzertng 12ea66c
[issue-463] add validation of v2.3 only checksums
armintaenzertng d87d372
[issue-463] change "version" to "spdx_version"
armintaenzertng ee0ab48
[issue-463] add validation of v2.3 only externalPackageRef types
armintaenzertng 18a1dd2
[issue-463, review] early return for 2.2-unsupported values
armintaenzertng dcfa0ad
[issue-463, review] add version handling testcase
armintaenzertng b3798aa
[autoformat]
armintaenzertng 1b886d6
[issue-463, review] cli-tool: catch unsupported SPDX versions early
armintaenzertng 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
[issue-463] restrict possible SPDX versions to supported versions
Signed-off-by: Armin Tänzer <armin.taenzer@tngtech.com>
- Loading branch information
commit 5bc9ac900d808097a21b5b62ab4b8a239c8a105e
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could add one more testcase for a document with version "SPDX-2.1"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done