Skip to content
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

Allow to override build date #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

2 participants