Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
configury: Allow to override build date+host+user #1560
Allow to override build date+host+user with
Also switch to UTC to be independent of timezone.
Note: This date call is designed to work with different flavors
This PR was done while working on reproducible builds for openSUSE.
For reproducible builds, it would also be a good solution to just drop one or both of these date+user+host to avoid the added complexity.
with SOURCE_DATE_EPOCH in order to make builds reproducible. See https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable. Also switch to UTC to be independent of timezone. Also use ISO 8601 date format to be easier to parse. Note: This date call is designed to work with different flavors of date (GNU, BSD and others). If only GNU (Linux) support is needed, the patch can be simplified. This PR was done while working on reproducible builds for openSUSE. Signed-off-by: Bernhard M. Wiedemann <email@example.com>