From: Zefram Date: Fri, 20 Mar 2015 10:40:21 +0000 (+0000) Subject: Declare dependencies in deterministic order (RT#102859) X-Git-Tag: v0.11022~47 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c1f9a59d17b44cff47a15a512a2402a3672156ac;p=dbsrgits%2FSQL-Translator.git Declare dependencies in deterministic order (RT#102859) The dependencies were declared in a non-deterministic order, due to hash randomisation. This causes noise when diffing build logs. --- diff --git a/AUTHORS b/AUTHORS index e05e379..26d2c5e 100644 --- a/AUTHORS +++ b/AUTHORS @@ -61,3 +61,4 @@ The following people have contributed to the SQLFairy project: - Wallace Reis - William Wolf - Ying Zhang +- Zefram diff --git a/Changes b/Changes index f2ecbad..a599229 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ Changes for SQL::Translator * Add support for monotonically increasing SQLite autoincs (GH#47) + * Declare dependencies in deterministic order (RT#102859) 0.11021 2015-01-29 diff --git a/Makefile.PL b/Makefile.PL index 1e32c50..6b2fddd 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -60,7 +60,7 @@ readme_from 'lib/SQL/Translator.pm'; for my $type (qw/requires recommends test_requires/) { no strict qw/refs/; my $f = \&$type; - for my $mod (keys %{$deps->{$type} || {} }) { + for my $mod (sort keys %{$deps->{$type} || {} }) { $f->($mod, $deps->{$type}{$mod}); } }