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

vendor: replace spdx/tools-golang with jedevc/spdx-tools-golang #3410

Merged
merged 1 commit into from
Dec 14, 2022

Conversation

jedevc
Copy link
Member

@jedevc jedevc commented Dec 14, 2022

The relevant commits including refactoring to the struct tags, preventing unneccessary output from the resulting sbom as we import and re-export it.

This should help reduce the size of the resulting SBOMs (minimally).

For example, before:

        "externalRefs": [
          {
            "referenceCategory": "SECURITY",
            "referenceType": "cpe23Type",
            "referenceLocator": "cpe:2.3:a:musl:musl:1.2.3-r4:*:*:*:*:*:*:*",
            "comment": ""
          },

Then, after:

        "externalRefs": [
          {
            "referenceCategory": "SECURITY",
            "referenceType": "cpe23Type",
            "referenceLocator": "cpe:2.3:a:musl:musl:1.2.3-r4:*:*:*:*:*:*:*"
          },

See spdx/tools-golang#174 - when this is merged, we can remove the replace directive.

The relevant commits including refactoring to the struct tags,
preventing unneccessary output from the resulting sbom as we import and
re-export it.

Signed-off-by: Justin Chadwell <me@jedevc.com>
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