-
Notifications
You must be signed in to change notification settings - Fork 147
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
Issue 456 add rdf parser #469
Conversation
Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
…on, yaml, xml and rdf parsing Signed-off-by: Meret Behrens <[email protected]>
f163c45 to
ef61acf
Compare
158a28a to
e578450
Compare
armintaenzertng
left a comment
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.
Thanks for the effort! :)
Looks very good to me overall, but I have a few details to go over again.
c99aa82 to
868461b
Compare
armintaenzertng
left a comment
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.
Thanks for addressing the issues :)
I have two small remarks left
| parsing_method=str) | ||
| cross_references = [] | ||
| for (_, _, cross_reference_node) in graph.triples((extracted_licensing_info_node, RDFS.seeAlso, None)): | ||
| cross_references.append(cross_reference_node.toPython()) |
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.
makes sense, let's keep it that way :)
51bfd7c to
c7860ad
Compare
armintaenzertng
left a comment
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.
Sorry, but there is still an issue with the range parser...
armintaenzertng
left a comment
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.
Well then, off we go! :D
Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
…it is used in the parser and writer layer Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
…paces prefix to the short identifier Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
…helper method Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
extract method to apply parsing method or log error, change order of parameters, rename method_to_apply -> parsing_method Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
… as license expression (could be ListedLicense, ExtractedLicensingInfo or simple reference) Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
…tly only supports SPDX 2.3 Signed-off-by: Meret Behrens <[email protected]>
…l helper method, rename argument Signed-off-by: Meret Behrens <[email protected]>
…r json,yaml,xml and rdf parsing Signed-off-by: Meret Behrens <[email protected]>
…, reformat Signed-off-by: Meret Behrens <[email protected]>
…and Python 3.8 Signed-off-by: Meret Behrens <[email protected]>
…nctiveLicenseSet Signed-off-by: Meret Behrens <[email protected]>
…eading/ trailing whitespaces in string values Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
The return value of err.args[0] is a string, so we need to use append to add this string to the list of messages in the logger. Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
…e general helper method Signed-off-by: Meret Behrens <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
b34f727 to
1cbe629
Compare
fixes #456
Signed-off-by: Meret Behrens [email protected]