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
from
Open

Conversation

@bmwiedemann
Copy link

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

This comment has been minimized.

Copy link
Owner

kamontat commented Dec 14, 2019

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 bmwiedemann force-pushed the bmwiedemann:date branch from a72b2db to 2068469 Dec 14, 2019
@bmwiedemann

This comment has been minimized.

Copy link
Author

bmwiedemann commented Dec 14, 2019

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
Projects
None yet
2 participants
You can’t perform that action at this time.