[perl-ExtUtils-Depends] Sort hash keys in saved configuration for reproducibility
- From: Brian Manning <bmanning src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-ExtUtils-Depends] Sort hash keys in saved configuration for reproducibility
- Date: Sat, 18 Oct 2014 15:11:49 +0000 (UTC)
commit 64b194cfbc650f727278ce3c6e73b14904a4d219
Author: Niko Tyni <ntyni debian org>
Date: Wed Oct 1 22:44:17 2014 +0300
Sort hash keys in saved configuration for reproducibility
Bug-Debian: https://bugs.debian.org/763677
Having stable saved configuration helps the recent efforts
for reproducible builds, see https://wiki.debian.org/ReproducibleBuilds
lib/ExtUtils/Depends.pm | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/ExtUtils/Depends.pm b/lib/ExtUtils/Depends.pm
index 05ba8d4..2e43411 100644
--- a/lib/ExtUtils/Depends.pm
+++ b/lib/ExtUtils/Depends.pm
@@ -114,6 +114,7 @@ sub install {
sub save_config {
use Data::Dumper;
local $Data::Dumper::Terse = 0;
+ local $Data::Dumper::Sortkeys = 1;
use IO::File;
my ($self, $filename) = @_;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]