Skip to content

Conversation

@bmwiedemann
Copy link

@bmwiedemann bmwiedemann commented Oct 9, 2018

Allow to override build date
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 use ISO-8601 date format to be understood everywhere.
And use UTC to be independent of timezones.

Based on rtomayko#98 by Chris Lamb.

@kamontat
Copy link
Owner

Personally, I think the old date format is user friendly more that the ISO. Could you change it back or make as variable for custom.

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.

It prioritizes the variable over mtime
because openSUSE's `tallow` package touched a .md file with a patch.
@bmwiedemann
Copy link
Author

Updated it. That makes the diff a lot smaller, too. I think the worry was that %B would differ from locales, but that might not actually be the case with ruby.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants