-
Notifications
You must be signed in to change notification settings - Fork 11
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
Moving towards SLSA Level 1. #69
Comments
I would prefer that we utilize a Makefile as it's pretty standard and we can then have: make distribution Also if a package is included it's easy to build as you can just run make |
@jenstroeger to reach level 1, the repo needs a scripted build and the provenance for the built artifact. Once the build script is added, we can use the SLSA's existing Action to generate a provenance in I agree with @brad-getpassport 's suggestion to use |
Thank you for the details, @behnazh. I can open a PR to add a GNU Makefile, and we take it from there? Unless you insist on writing it 🤓 |
@jenstroeger You can also take the makefile I created from the services project. It's not pretty but does a lot of the setup. |
@behnazh, if I understand you correctly in related issue #25 then we need a scripted build of sorts reach SLSA Level 1 for this repo. For Python packages (What about applications?) that’s described on the Creating Built Distributions — is that what you mean?
It sounds like the script itself is required, but not the built artifact, e.g.
#!/usr/bin/env bash python setup.py bdist
which would create e.g. a
dist/package-1.1.2.macosx-10.14-x86_64.tar.gz
artifact; or using thesdist
to create adist/package-1.1.2.tar.gz
artifact. (See also the setuptools documentation.)The text was updated successfully, but these errors were encountered: