D7693: Enable reproducible packaging of template archives
Aaron Puchert
noreply at phabricator.kde.org
Mon Sep 4 22:18:56 UTC 2017
aaronpuchert created this revision.
REVISION SUMMARY
Builds of KDevelop are not reproducible right now because the archives
containing templates contain metadata related to the build environment,
such as the time of checkout. The order of files in an archive is also
not guaranteed.
The Reproducible Builds project recommends [1] to use (in addition to
what we have) --mtime="@${SOURCE_DATE_EPOCH}" and --sort=name. This will
only be used if the environment variable is set. The latter option is
available only since tar 1.28 (from 2014), but we assume that people
have it if they know about reproducible builds.
[1] https://reproducible-builds.org/docs/archives/
REPOSITORY
R32 KDevelop
BRANCH
reproducible-build
REVISION DETAIL
https://phabricator.kde.org/D7693
AFFECTED FILES
kdevplatform/cmake/modules/KDevPlatformMacros.cmake
To: aaronpuchert, #kdevelop
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170904/2016a6a6/attachment-0001.html>
More information about the KDevelop-devel
mailing list