aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-03-01Merge "Added blueprints to spdx-tools library"Ibrahim Kanouche
2023-02-28Move OWNERS to be listed here explicitly, since the one in ↵Joe Onorato
build/soong/compliance is going away. Test: treehugger Change-Id: I5acefdf4e3d8070ac906b1d84605a2bcd613d4a8
2023-02-28Added blueprints to spdx-tools libraryIbrahim Kanouche
Test: m all Change-Id: Iccd31e33b40d6d7cd1a876ca468332b01d1b9e34
2023-02-02Added LICENSE and OWNERS to spdx-toolsIbrahim Kanouche
Test: m all Change-Id: I6f5530317fd497497daa6bdabdd898fb14db2b43
2023-01-25Upgrade spdx-tools to v0.4.0platform-tools-34.0.0platform-tools-33.0.4Sadaf Ebrahimi
This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update spdx-tools For more info, check https://cs.android.com/android/platform/superproject/+/master:tools/external_updater/README.md Test: TreeHugger Change-Id: Ifd1b9282e8eea85b2ac1e3032e2f0a2c3ea1f1b4
2023-01-12Merge pull request #179 from lumjjb/release040Brandon Lum
release: Update docs for 0.4.0 release
2023-01-11release: Update docs for 0.4.0 releaseBrandon Lum
Signed-off-by: Brandon Lum <lumjjb@gmail.com>
2023-01-12Merge pull request #180 from swinslow/fix-reqs-docsBrandon Lum
docs: Remove outdated statement about requirements
2023-01-11docs: Remove outdated statement about requirementsSteve Winslow
The README file currently states that tools-golang has no dependencies other than spdx/gordf and the Go standard library. With the addition of the YAML functionality and usage of go-cmp, this is no longer an accurate statement. Rather than calling out the specific dependencies, this commit just removes that section. Users are able to check go.mod and go.sum if they want to know which dependencies are required. Signed-off-by: Steve Winslow <steve@swinslow.net>
2023-01-04Merge pull request #174 from jedevc/json-tagsBrandon Lum
Ensure consistency between JSON struct tags across different SPDX versions
2022-12-29Merge pull request #173 from puerco/sha512Brandon Lum
Expand algorithm support to all valid ones
2022-12-05Update tests to support all algorithmsAdolfo García Veytia (Puerco)
Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>
2022-12-05json: sync exported struct tags across spdx versionsJustin Chadwell
Signed-off-by: Justin Chadwell <me@jedevc.com>
2022-12-05json: hide deprecated and non-spec fieldsJustin Chadwell
Some non-spec defined fields and deprecated fields were being incorrectly exported as part of the v2_1 and v2_2 module, so they were out-of-sync with v2_3. Signed-off-by: Justin Chadwell <me@jedevc.com>
2022-12-05json: add omitempty tag to comment fieldsJustin Chadwell
Tags are marked as optional by the spec, so we should avoid writing the field on JSON output if it's unset. Signed-off-by: Justin Chadwell <me@jedevc.com>
2022-11-30Update 2.3 tag-value parsers to support all algorithmsAdolfo García Veytia (Puerco)
Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>
2022-11-30Update 2.2 tag-value parsers to support all algorithmsAdolfo García Veytia (Puerco)
Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>
2022-11-30Update 2.3 RDF parsers to support all algorithmsAdolfo García Veytia (Puerco)
Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>
2022-11-30Update 2.2 RDF parsers to support all algorithmsAdolfo García Veytia (Puerco)
Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>
2022-11-30Add SHA512 support to 2.3 parser testsAdolfo García Veytia (Puerco)
Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>
2022-11-30Add SHA512 support to 2.2 parser testsAdolfo García Veytia (Puerco)
Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>
2022-11-30Update 2.3 parsers to support SHA512Adolfo García Veytia (Puerco)
Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>
2022-11-30Update v2.2 parsers to support SHA512Adolfo García Veytia (Puerco)
Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>
2022-11-08Merge pull request #170 from kzantow-anchore/fix/encode-decode-issuesBrandon Lum
fix: JSON encoding and decoding not properly handling SPDXRef- prefixes
2022-11-07fix: JSON decoding not properly handling SPDXRef- prefixesKeith Zantow
Signed-off-by: Keith Zantow <kzantow@gmail.com>
2022-11-02Initial empty repositorymain-16k-with-phonesmain-16kUmer Abdullah
2022-10-31Merge pull request #164 from kzantow-anchore/feat/spdx-2.3-supportBrandon Lum
Add support for SPDX 2.3
2022-10-24chore: add remaining 2.3 checksum algorithms to tvloader/parse_fileKeith Zantow
Signed-off-by: Keith Zantow <kzantow@gmail.com>
2022-10-24chore: fix a 2.1 referenceKeith Zantow
Signed-off-by: Keith Zantow <kzantow@gmail.com>
2022-10-24chore: fix a few 2.2 referencesKeith Zantow
Signed-off-by: Keith Zantow <kzantow@gmail.com>
2022-10-24chore: add common hash algorithmsKeith Zantow
Signed-off-by: Keith Zantow <kzantow@gmail.com>
2022-10-11chore: update a few missed functions for 2.3Keith Zantow
Signed-off-by: Keith Zantow <kzantow@gmail.com>
2022-10-10chore: correct RDF 2.2 exampleKeith Zantow
Signed-off-by: Keith Zantow <kzantow@gmail.com>
2022-10-10chore: support for 2.3 features to rdfloaderKeith Zantow
Signed-off-by: Keith Zantow <kzantow@gmail.com>
2022-10-07chore: add idsercher functions for 2.3Keith Zantow
Signed-off-by: Keith Zantow <kzantow@gmail.com>
2022-10-07chore: add builder and verification functions for 2.3Keith Zantow
Signed-off-by: Keith Zantow <kzantow@gmail.com>
2022-10-07chore: add tag value reader and parser for v2.3Keith Zantow
Signed-off-by: Keith Zantow <kzantow@gmail.com>
2022-10-07chore: missed YAML writer for v2.3 data modelKeith Zantow
Signed-off-by: Keith Zantow <kzantow@gmail.com>
2022-10-07chore: Add YAML support for v2.3 data modelKeith Zantow
Signed-off-by: Keith Zantow <kzantow@gmail.com>
2022-10-07chore: Update v2.3 JSON testKeith Zantow
Signed-off-by: Keith Zantow <kzantow@gmail.com>
2022-10-06chore: Add v2.3 data model to licensediffKeith Zantow
Signed-off-by: Keith Zantow <kzantow@gmail.com>
2022-10-06chore: Add v2.3 data model to reporterKeith Zantow
Signed-off-by: Keith Zantow <kzantow@gmail.com>
2022-10-06chore: Add v2.3 data model and JSON supportKeith Zantow
Signed-off-by: Keith Zantow <kzantow@gmail.com>
2022-10-06chore: Fix section numbers in 2.2 data modelKeith Zantow
Signed-off-by: Keith Zantow <kzantow@gmail.com>
2022-10-03Merge pull request #163 from pxp928/update-externalBrandon Lum
updated constants
2022-10-03updated constantspxp928
Signed-off-by: pxp928 <parth.psu@gmail.com>
2022-09-28Merge pull request #162 from pxp928/add-enumsBrandon Lum
added referenceType enum
2022-09-28changed to string type based on commentpxp928
Signed-off-by: pxp928 <parth.psu@gmail.com>
2022-09-28added referenceType enumpxp928
Signed-off-by: pxp928 <parth.psu@gmail.com>
2022-08-18Merge pull request #154 from lumjjb/add-securitySteve Winslow
Add security.md