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 support for hosting SPDX-2 SBOMs alongside release artifacts #2359

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

sethmlarson
Copy link
Contributor

@sethmlarson sethmlarson commented Jan 12, 2024

Part 1 of #2339

I modeled this PR off of the Sigstore bundle PR since it's a very similar approach.

There may be more than one SBOM per artifact eventually (for multiple reasons, either users demanding CycloneDX or a new major version of SPDX) so accounting for that possibility by using spdx2 as the prefix for the database field.

I don't know what the "admin" interface needs to look like for release managers to be able to submit SBOM files for new releases, this might already be enough if Sigstore bundles are doable today.

@hugovk
Copy link
Member

hugovk commented Jan 12, 2024

Updating from main should fix the Read the Docs build.

@sethmlarson
Copy link
Contributor Author

@hugovk Thanks Hugo! I've rebased on main.

@sethmlarson
Copy link
Contributor Author

Okay I believe that by adding the sbom_spdx2_file field to ReleaseFileResource is enough to add support for uploading via API. This will require a change in python/release-tools#82 once it's available here.

@ewdurbin ewdurbin merged commit 0d5432a into python:main Jan 17, 2024
2 checks passed
@sethmlarson sethmlarson deleted the sbom-spdx2 branch January 17, 2024 19:39
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.

3 participants