Age | Commit message (Collapse) | Author |
|
Test: m all
Change-Id: Iccd31e33b40d6d7cd1a876ca468332b01d1b9e34
|
|
Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>
|
|
Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>
|
|
Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>
|
|
Signed-off-by: Keith Zantow <kzantow@gmail.com>
|
|
Signed-off-by: Brandon Lum <lumjjb@gmail.com>
|
|
Signed-off-by: Ian Ling <ian@iancaling.com>
|
|
- Combine the switch cases when defined enum for case type
- Rmoved redundant NL in the code
Signed-off-by: specter25 <ujjwalcoding012@gmail.com>
|
|
- Change the name of Checksum struct so that it can be used by all spdx versions
- Remove unnecessary commented code
Signed-off-by: specter25 <ujjwalcoding012@gmail.com>
|
|
- Store the checksums in a struct with properties algorithm and value
- Define permitted algorithm as constants
Signed-off-by: specter25 <ujjwalcoding012@gmail.com>
|
|
- File, Package, Relationship can have cyclic dependent objects.
- Cyclic dependent License will raise an error.
- Double computation for File, Package, Relationship and License is enabled.
Signed-off-by: Rishabh Bhatnagar <bhatnagarrishabh4@gmail.com>
|
|
- Files and Packages can now be declared in several parts in different parent tags
Signed-off-by: Rishabh Bhatnagar <bhatnagarrishabh4@gmail.com>
|
|
Signed-off-by: Rishabh Bhatnagar <bhatnagarrishabh4@gmail.com>
|
|
- packages was a redundant variable in rdfParser2_2 struct.
- Intention behind adding packages was to make it similar to rdfParser2_2.files
- With this PR, the packages variable has been removed that will partly resolve https://github.com/spdx/tools-golang/issues/51.
Signed-off-by: Rishabh Bhatnagar <bhatnagarrishabh4@gmail.com>
|
|
Signed-off-by: Steve Winslow <steve@swinslow.net>
|
|
- ExternalDocumentRef is now a struct instead of a coalesced string
- Also, added dependency of github.com/spdx/gordf in go.mod file
Signed-off-by: Rishabh Bhatnagar <bhatnagarrishabh4@gmail.com>
|
|
- changed gordf library path from github.com/RishabhBhatnagar/gordf to
github.com/spdx/gordf
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>
|
|
- 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>
|
|
Signed-off-by: RishabhBhatnagar <bhatnagarrishabh4@gmail.com>
|
|
Signed-off-by: RishabhBhatnagar <bhatnagarrishabh4@gmail.com>
|
|
- 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>
|
|
- The update allows the model to handle all types of licenses.
- Removed all methods identified as unused.
Signed-off-by: RishabhBhatnagar <bhatnagarrishabh4@gmail.com>
|
|
- The Licensing Info is Incomplete
- Some other attributes are not set in the tools-golang data model.
Signed-off-by: RishabhBhatnagar <bhatnagarrishabh4@gmail.com>
|