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

Use NEWS date instead of build date #88

Merged
merged 1 commit into from Sep 21, 2019

Conversation

@bmwiedemann
Copy link
Contributor

commented Sep 17, 2019

Use ChangeLog date instead of build date
to make builds reproducible.
See https://reproducible-builds.org/ for why this is good.

This date call works with GNU date and (some?) BSD date.

Unfortunately, the ChangeLog files seems to not get updated often.

One alternative would be to use SOURCE_DATE_EPOCH

another way is to update these values as constants with a script in git before release

@ensonic

This comment has been minimized.

Copy link
Member

commented Sep 18, 2019

Great idea, but could you use the NEWS file instead? Since the git times the ChangeLog is not used anymore (I should clean it up.).

to make builds reproducible.
See https://reproducible-builds.org/ for why this is good.

This date call works with GNU date and (some?) BSD date.
@bmwiedemann bmwiedemann force-pushed the bmwiedemann:date branch from c394aab to 3cb1bcd Sep 19, 2019
@bmwiedemann bmwiedemann changed the title Use ChangeLog date instead of build date Use NEWS date instead of build date Sep 19, 2019
@bmwiedemann

This comment has been minimized.

Copy link
Contributor Author

commented Sep 20, 2019

Updated it.

@ensonic ensonic merged commit e119db6 into Buzztrax:master Sep 21, 2019
1 check failed
1 check failed
continuous-integration/travis-ci/pr The Travis CI build failed
Details
@ensonic

This comment has been minimized.

Copy link
Member

commented Sep 21, 2019

Thanks a lot.

@bmwiedemann bmwiedemann deleted the bmwiedemann:date branch Oct 4, 2019
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.