-
Notifications
You must be signed in to change notification settings - Fork 146
Issue 456 add rdf parser #469
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
meretp
merged 43 commits into
spdx:refactor-python-tools
from
meretp:issue-456-add-rdf-parser
Feb 22, 2023
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
18e7063
delete rdflib as optional dependency as it is required
meretp cf5ee6a
delete installation from rdflib as the package is a required dependency
meretp 298255e
move helper methods to also use it for the rdf parser
meretp 9729b96
move actor_parser.py as it is format-agnostic and will be used for js…
meretp 96498c0
[issue-456] add creation_info parser
meretp 024fa89
[issue-456] add graph parsing functions
meretp b1a47f9
[issue-456] add snippet parser
meretp 8466d2e
[issue-456] add checksum parser
meretp 6d1e93e
[issue-456] add external document ref parser
meretp 7087e36
[issue-456] add file parser
meretp 1eb803b
[issue-456] add annotation parser
meretp 6c8fdee
[issue-456] add package parser
meretp 625e2a9
[issue-456] add p
8000
ackage verification code parser
meretp 198f2a6
[issue-456] add helper method in casing_tools and move the module as …
meretp b3e274b
[issue-456] add parser for ExternalPackageRefs
meretp cea02ae
[issue-456] use enum helper method for primary package purpose
meretp d0238be
[issue-456] use enum helper method for annotation type
meretp fb105dc
[issue-456] use helper method for checksum algorithm
meretp 58783f9
[issue-456] add relationship parser
meretp da33b14
[issue-456] use NamespaceManager to translate external document names…
meretp 69d16aa
[issue-456] add extracted licensing info parser
meretp 6652e4f
[issue-456] allow no assertion in package download location
meretp ce17ca6
[issue-456, refactor] extract method to get a unique value, sort methods
meretp 9737fde
[issue-456, refactor] replace str_or_no_assertion_or_none with parse …
meretp 9df9980
[issue-456] add license expression parser
meretp 7b61c8f
[issue-456, refactor]
meretp 9ecc373
[issue-456] parse list of license expressions
meretp 1b8cf82
[issue-456] also parse URIRefs with the documents namespace as prefix…
meretp 432a39f
[issue-456] add rdf parser to cli tool
meretp 7a27e88
[issue-456] delete RDFExample from specVersion 2.1 as the tool curren…
meretp 03ee53c
[issue-456, refactor] use generic helper methods instead of individua…
meretp 446757c
[issue-456] move actor_parser.py as it is format-agnostic and used fo…
meretp 86bc68c
[issue-456, refactor] adapt type hints, delete unused imports, rename…
meretp 47e7db0
[issue-456] add helper method to remove prefix to support Python 3.7 …
meretp 9681339
[issue-456] allow multiple members in ConjunctiveLicenseSet and Disju…
meretp 8f9259b
[issue-456] strip parsed values by default to prevent new lines and l…
meretp 9eb1206
[issue-456] fix parsing of externalPackageRef
meretp 4ec5b3c
fix helper method
meretp c4d04d4
[review] use helper method for enums also for FileType
meretp c787280
[review, refactor] strip copyright texts, delete trailing comma
meretp 6b70dda
[review] rewrite parse_ranges
meretp 1d728b7
[review, refactor] let Constructor handle None values and use the mor…
meretp 1cbe629
[review] refactor helper methods
meretp 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-456] also parse URIRefs with the documents namespace as prefix…
… as license expression (could be ListedLicense, ExtractedLicensingInfo or simple reference) Signed-off-by: Meret Behrens <meret.behrens@tngtech.com>
- Loading branch information
commit 1b8cf8277d9e851f8ced2bbe121acd215361229b
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
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.