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
Merged

Conversation

bmwiedemann
Copy link
Contributor

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
Copy link
Member

ensonic 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 changed the title Use ChangeLog date instead of build date Use NEWS date instead of build date Sep 19, 2019
@bmwiedemann
Copy link
Contributor Author

Updated it.

@ensonic ensonic merged commit e119db6 into Buzztrax:master Sep 21, 2019
@ensonic
Copy link
Member

ensonic commented Sep 21, 2019

Thanks a lot.

@bmwiedemann bmwiedemann deleted the date branch October 4, 2019 12:54
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