Skip to content
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

Add Tests And Bug Fixes For RdfLoader Files #42

Merged
merged 5 commits into from Nov 8, 2020

Conversation

RishabhBhatnagar
Copy link
Collaborator

No description provided.

 - noticeText can now assume two states: SPDX_NOASSERTION and string
 - add tests for parse_file.go file
 - relationship now returns the MUX error
 - getRelationshipTypeFromURI fixed
 - add constant for NS_SPDX+"Checksum" (SPDX_CHECKSUM_CAPITALIZED)
 - file Dependency set to the file being populated
 - add extended support for licenseInfoInFile

Signed-off-by: RishabhBhatnagar <bhatnagarrishabh4@gmail.com>
Signed-off-by: RishabhBhatnagar <bhatnagarrishabh4@gmail.com>
Signed-off-by: RishabhBhatnagar <bhatnagarrishabh4@gmail.com>
 - licenseTypes: renamed license of WithExceptionOperator to member
 - ignore rdf:type triple in Licenses
 - add comment to LicenseException

Signed-off-by: Rishabh Bhatnagar <bhatnagarrishabh4@gmail.com>
 - setting file referenced in the range to parser files instead of the Unpackaged Files.
 - externalReference now requires just a node rather than a triple.
 - tidied and DRYed parsing of Snippet range.
 - allow licenseInfoInFile of File to be AnyLicenseInfo instead of SimpleLicensingInfo.
 - change signature of getSnippetInformation from Triple To Node.
 - add simpleLicensingInfo switch in the anyLicensingInfo switch.
 - change input of getExternaelDocumentRef from triples to Node for easier prototyping.
 - remove unused methods in utils
 - remove parser association from utils functions

Signed-off-by: Rishabh Bhatnagar <bhatnagarrishabh4@gmail.com>
@swinslow
Copy link
Member

swinslow commented Nov 8, 2020

This is excellent, thanks @RishabhBhatnagar! Merging now.

@swinslow swinslow merged commit 1308779 into spdx:gordf Nov 8, 2020
@swinslow swinslow added this to the 0.1.0 milestone Jul 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants