psf / sboms-for-python-packages

Software Bill-of-Materials documents for Python packages
22 stars 1 forks source link

Explore creating tool/pre-commit hook for keeping a source SBOM file up-to-date #11

Open sethmlarson opened 1 week ago

sethmlarson commented 1 week ago

For projects which vendor dependencies into their source tree, having a simple way to keep those SBOMs up-to-date in CI seems important. CPython already has this in the form of a custom tool which regenerates hashes and checks them against a known SBOM file. If there are differences, CI fails and points the contributor at documentation asking questions like: