[Reproducible-commits] [reproducible-builds-howto] 01/02: Mention PERL_HASH_SEED and PYTHONHASHSEED
Jérémy Bobbio
lunar at moszumanska.debian.org
Tue Aug 25 13:46:18 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository reproducible-builds-howto.
commit cd06eae16d66eb0d899467732001b78ad84c3a20
Author: Jérémy Bobbio <lunar at debian.org>
Date: Tue Aug 25 15:42:35 2015 +0200
Mention PERL_HASH_SEED and PYTHONHASHSEED
---
reproducible-builds-howto.mdwn | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/reproducible-builds-howto.mdwn b/reproducible-builds-howto.mdwn
index f343cce..804ada3 100644
--- a/reproducible-builds-howto.mdwn
+++ b/reproducible-builds-howto.mdwn
@@ -86,6 +86,10 @@ Good:
print MANIFEST, "$package: $deps[$packages]";
}
+For Perl, it is possible to set `PERL_HASH_SEED=0` in the environment. This will result in hash keys always being in the same order. See [perlrun(1)](http://perldoc.perl.org/perlrun.html) for more information.
+
+Python users can similarily set the environment variable [PYTHONHASHSEED](https://docs.python.org/2/using/cmdline.html#envvar-PYTHONHASHSEED). When set to a given integer value, orders in dictionnaries will be the same on every run.
+
Controlled value initialization
-------------------------------
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reproducible-builds-howto.git
More information about the Reproducible-commits
mailing list