-
Notifications
You must be signed in to change notification settings - Fork 12
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
Make build more reproducible #182
Comments
@conorsch has expressed interest in doing a first investigation of tarball reproducibility during the 7/23-8/5 sprint. FWIW, some ideas for reproducible/idempotent tarballs here: https://stackoverflow.com/a/54908072 (@rmol also mentioned using |
Good point. Zooming out a bit, we've got two fundamental goals with the build logic:
As @creviera mentions, the tarballs (created via Since we already have a method for ensuring reproducible builds of the binary debian packages, we technically don't need fully reproducible tarballs in order to satisfy 2 above. So, we can remove some of the manual steps that @creviera rightly points out aren't adding much, running simply:
The
It'd be a good idea for us to provide an overview of what's currently reproducible and what's not in our packaging logic, since there are so many moving pieces—tarballs, wheels, and binary debian packages—with recommended next steps. For now, though, the slight win of eliminating manual steps by developers while still retaining the ability to create byte-for-byte identical packages seems worthwhile, while we monitor for broader support in upstream tooling. |
It's worth pointing out that technically speaking, we could make the tarballs fully reproducible on our own, by:
Then we get During standup today, @kushaldas expressed concerns about dynamically generating tarballs, rather than posting static ones as a historical artifact for later reference. A bit more discussion among the team is warranted before we make a call on how to proceed. |
We discussed this further at today's tech mtg.
|
Can we consider this issue resolved by #185? |
Closing per above, but we'll file some follow-up issues for next steps in verifying reproducibility & automating builds. |
Description
Right now, to build a workstation package, we run
If we make the tarballs reproducible, then we could just run:
Which would also allow us to skip manual tarball checksum verification and signing. We still have the python wheels left over as the remaining piece that is not reproducible but as @emkll put it earlier today, we're working our way down the chain of reproducibility. Curious what others know and think about this.
The text was updated successfully, but these errors were encountered: