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

Pick up date from SOURCE_DATE_EPOCH, for reproducible builds #18

Merged
merged 3 commits into from Jun 27, 2017

Conversation

smcv
Copy link
Contributor

@smcv smcv commented Jun 24, 2017

The goal of reproducible builds is that a rebuild of the same source code with the same compiler, libraries, etc. should result in the same binaries. SOURCE_DATE_EPOCH provides a standard way for build systems to fill in the date of the latest source change, typically from a git commit or from metadata like the debian/changelog in Debian packages.

This does not change anything if SOURCE_DATE_EPOCH is not defined; the intention is that a larger build system like a Debian package will define it.

Please see https://reproducible-builds.org/ for more information about reproducible builds.

Most of this pull request was sent to ioquake3 as commit ioquake/ioq3@9c76b54 (which also touched engine files not present here). This version also defines PRODUCT_DATE when invoking q3lcc, making qagame.qvm reproducible if a suitable SOURCE_DATE_EPOCH is provided.

smcv and others added 3 commits June 25, 2017 00:08
The goal of reproducible builds is that a rebuild of the same source
code with the same compiler, libraries, etc. should result in the same
binaries. SOURCE_DATE_EPOCH provides a standard way for build systems
to fill in the date of the latest source change, typically from a git
commit or from metadata like the debian/changelog in Debian packages.

This does not change anything if SOURCE_DATE_EPOCH is not defined;
the intention is that a larger build system like a Debian package
will define it.

Please see https://reproducible-builds.org/ for more information about
reproducible builds.

Originally sent to ioquake3 as commit
ioquake/ioq3@9c76b54
(which also touched engine files not present here).

Signed-off-by: Simon McVittie <smcv@debian.org>
With a suitable setting for SOURCE_DATE_EPOCH, this makes building
qagame.qvm reproducible too.

Signed-off-by: Simon McVittie <smcv@debian.org>
@sago007
Copy link
Member

sago007 commented Jun 27, 2017

Looks good to me

@sago007 sago007 merged commit 3150715 into OpenArena:master Jun 27, 2017
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