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 #1338

Merged
merged 1 commit into from
Jun 1, 2018
Merged

Allow to override build date #1338

merged 1 commit into from
Jun 1, 2018

Conversation

bmwiedemann
Copy link
Contributor

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.

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.
@progval progval changed the base branch from master to testing June 1, 2018 06:21
@progval
Copy link
Owner

progval commented Jun 1, 2018

As a former contributor to the Reproducible Builds Project I should have done it myself already :D

Thank you!

@progval progval merged commit cd8ad1e into progval:testing Jun 1, 2018
@progval
Copy link
Owner

progval commented Jun 1, 2018

Hmm, if SOURCE_DATE_EPOCH is available, it should be used in the first branch of the try. I'll fix that.

progval added a commit that referenced this pull request Jun 1, 2018
@bmwiedemann
Copy link
Contributor Author

I think it was OK to use (reproducible) git commit time. just using the 'current' build time is problematic.

@progval
Copy link
Owner

progval commented Jun 2, 2018

Using the current build time is a fallback in case the Git history is not available.

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