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

Make the documentation year reproducible #46

Conversation

lamby
Copy link
Contributor

@lamby lamby commented Jan 26, 2022

Whilst working on the Reproducible Builds effort I noticed that fluids could not be built reproducibly.

This is due to the documentation automatically including the current year in a copyright footer, which means that the build will change depending on when you build.

This pull request uses SOURCE_DATE_EPOCH to make this "build date" configurable/pluggable.

I originally filed this in Debian as bug number #1004391.

Whilst working on the Reproducible Builds effort [0] I noticed that
fluids could not be built reproducibly.

This is due to the documentation automatically including the current
year in a copyright footer, which means that the build will change
depending on when you build.

This patch uses SOURCE_DATE_EPOCH [1] to make this "build date"
configurable/pluggable.

I originally filed this in Debian as bug #1004391 [2].

 [0] https://reproducible-builds.org/
 [1] https://reproducible-builds.org/specs/source-date-epoch/
 [2] https://bugs.debian.org/1004391
@CalebBell CalebBell merged commit ab071b3 into CalebBell:master Jan 27, 2022
0 of 26 checks passed
@CalebBell
Copy link
Owner

Hello Chris,

Thank you for this pull request! I think reproducible builds are awesome and will make this change in all of my other projects as well. I have made a new release of fluids, 1.0.17, with your contribution.
I am personally a huge user of Debian, and so thank you from the bottom of my heart for your wonderful work as Debian Project Leader. Debian respects its users in so many ways; and continues to do so even while many other operating systems optimize for profit at the expense of their users - because the users are actually the product being served up to other companies.

Sincerely,
Caleb

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