[Reproducible-builds] Bug#795835: epydoc: Please use (deterministic) sorting for module and class trees

Val Lorentz progval at progval.net
Mon Aug 17 10:09:42 UTC 2015


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

Hi!

While working on the “reproducible builds” effort [1], we have noticed
that class trees written by epydoc list classes in an order that varies
across builds.

The attached patch uses a total order on classes (orders on class name,
then module, then package, then parent package, etc.) instead of a
partial one (only class name).
It also added ordering for modules.

Once applied, more packages using epydoc can be built reproducibly in
our current experimental framework.

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

Regards,
Val
-------------- next part --------------
A non-text attachment was scrubbed...
Name: epydoc_trees_sort.diff
Type: text/x-patch
Size: 1685 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150817/ce4b16b2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150817/ce4b16b2/attachment.sig>


More information about the Reproducible-builds mailing list