kubernetes-sigs / bom

A utility to generate SPDX-compliant Bill of Materials manifests
https://kubernetes-sigs.github.io/bom/
Apache License 2.0
329 stars 48 forks source link

fix(osinfo): Fix package URL type for OS packages #343

Closed micahhausler closed 1 year ago

micahhausler commented 1 year ago

What type of PR is this?

/kind bug

What this PR does / why we need it:

The tool was outputting invalid purl types. I looked at using github.com/package-url/packageurl-go, but it is missing types (like apk, opend package-url/packageurl-go#63) defined in the spec.

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

N/A

Does this PR introduce a user-facing change?

NONE
k8s-ci-robot commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: justaugustus, micahhausler

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubernetes-sigs/bom/blob/main/OWNERS)~~ [justaugustus] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment