dragotin / kraft

Kraft helps to handle your daily quotes and invoices in your small business.
http://volle-kraft-voraus.de
GNU General Public License v2.0
55 stars 17 forks source link

Omit `BUILD_HOST_NAME` for reproducible builds #215

Closed bmwiedemann closed 7 months ago

bmwiedemann commented 8 months ago

Distributions that want reproducible builds, set the SOURCE_DATE_EPOCH environment variable. In this case, we should not record the build host name to allow for bit-identical rebuilds elsewhere.

This PR was done while working on reproducible builds for openSUSE.

bmwiedemann commented 8 months ago

An alternative would be to drop BUILD_HOST_NAME completely. It would simplify the code.

dragotin commented 7 months ago

Thank you @bmwiedemann for this patch, and sorry for screwing it up in the first place.

The build host was an explicit wish by a community member, so I'd like to keep it.