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 build reproducible #585

Merged
merged 3 commits into from Nov 24, 2023
Merged

Conversation

sebastic
Copy link
Contributor

@lamby provided a patch for the Debian package to make the build reproducible in Debian Bug #1012836:

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

This is because the default value for the "last_change" field in the gpkg sqlite file contains the current date:

  last_change DATETIME NOT NULL DEFAULT (strftime('%Y-%m-%dT%H:%M:%fZ','now'))

Patch attached that uses SOURCE_DATE_EPOCH instead if it's available.

Other distributions benefit from having this change upstream.

@lamby
Copy link
Contributor

lamby commented Jun 15, 2022

Thanks! Was just about to do this PR myself. :)

@weskamm
Copy link
Member

weskamm commented Nov 24, 2023

Thanks for your contribution!

@weskamm weskamm merged commit 687b190 into mapproxy:master Nov 24, 2023
4 checks passed
@sebastic sebastic deleted the reproducible-build branch November 24, 2023 09:53
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

3 participants