[Reproducible-builds] Bug#790899: epydoc: please support timestamps from environment

Reiner Herrmann reiner at reiner-h.de
Thu Jul 2 19:13:39 UTC 2015


Source: epydoc
Version: 3.0.1+dfsg-7
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: toolchain timestamps
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi!

In 3.0.1+dfsg-6 a patch has been added that allows packages to disable embedding of timestamps.
But the default behavior of epydoc is to still embed timestamps (which requires modifications
for each package using epydoc).
If timestamps have to be kept, we have a proposal for using deterministic ones [1] (based on
the latest debian/changelog entry), which is contained in the environment variable
SOURCE_DATE_EPOCH (which will hopefully soon be exported by debhelper).

The attached patch proposes a way to use this variable to get reproducible timestamps, if the
variable has been set (if not, it falls back to the old behavior).

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal

-------------- next part --------------
A non-text attachment was scrubbed...
Name: epydoc.patch
Type: text/x-diff
Size: 3475 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150702/d9f47994/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150702/d9f47994/attachment.sig>


More information about the Reproducible-builds mailing list