freedomofpress / securedrop-builder

Packaging logic for building SecureDrop-related Debian packages
GNU General Public License v3.0
7 stars 11 forks source link

WIP: Script to rebuild a package from buildinfo #433

Open legoktm opened 1 year ago

legoktm commented 1 year ago

rebuilding securedrop-client 0.9.0 with this basically worked: https://gist.github.com/legoktm/3352b54b373bc9f186f555a087a6d3a4 - all the diffs are known issues.

Remaining work:

I don't think we're yet at the point of automating this, but we should try it during release time to verify the buildinfo/package.

In https://github.com/freedomofpress/securedrop/issues/6356#issuecomment-1470566604 I explained how we can add in more environment variables. I think we should prefix them with "SD_", so we probably want to rename PKG_GITREF, etc. to use that. And then probably some new SD_BUILDER_GIT_VERSION