Bug#855060: unblock: strip-nondetermism/0.031-1

Mattia Rizzolo mattia at debian.org
Mon Feb 13 18:02:09 UTC 2017


Package: release.debian.org
User: release.debian.org at packages.debian.org
Usertags: unblock
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear release team,

Chris updated strip-nd in unstable.
Keep in mind that even if it is made as a non-native source package, we
are upstream for it.
These are the relevant changes:

strip-nondeterminism (0.031-1) unstable; urgency=medium

  * Don't test for stat(2) blksize and blocks; they are filesystem-specific and
    we are already checking the pre- and post-processing contents anyway.
    (Closes: #854937)

 -- Chris Lamb <lamby at debian.org>  Mon, 13 Feb 2017 17:41:27 +1300

strip-nondeterminism (0.030-1) unstable; urgency=medium

  * Print log entry when fixing a file. (Closes: #777239)
  * Run our entire testsuite in autopkgtests; `perl -MExtUtils::Command::MM
    -MTest::Harness` was ignoring all but the first argument. (Closes: #852517)
  * Use error() from Dh_Lib.pm over manual die().
  * Add watch file with cryptographic signature verification.
  * Add documentation regarding uploading a signed tarball.
  * Add myself to AUTHORS and debian/copyright.

 -- Chris Lamb <lamby at debian.org>  Thu, 09 Feb 2017 22:11:16 +1300


Now, I don't know whether he aimed these changes for stretch or not, but
I do believe they would make a good addition.

Either way I'll leave the decision to you, you can find attached a
debdiff between testing and unstable.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
diffstat for strip-nondeterminism-0.029 strip-nondeterminism-0.031

 Makefile.PL                     |    5 ++
 README                          |   10 +++++
 bin/dh_strip_nondeterminism     |    8 +++-
 bin/strip-nondeterminism        |    9 +++-
 debian/changelog                |   20 ++++++++++
 debian/copyright                |    1 
 debian/tests/control            |    2 -
 debian/upstream/signing-key.asc |   76 ++++++++++++++++++++++++++++++++++++++++
 debian/watch                    |    2 +
 lib/File/StripNondeterminism.pm |    2 -
 t/fixtures.t                    |    4 +-
 11 files changed, 129 insertions(+), 10 deletions(-)

diff -Nru strip-nondeterminism-0.029/bin/dh_strip_nondeterminism strip-nondeterminism-0.031/bin/dh_strip_nondeterminism
--- strip-nondeterminism-0.029/bin/dh_strip_nondeterminism	2016-12-22 11:52:33.000000000 +0100
+++ strip-nondeterminism-0.031/bin/dh_strip_nondeterminism	2017-02-13 05:40:46.000000000 +0100
@@ -79,10 +79,13 @@
 		$File::StripNondeterminism::canonical_time = str2time($dh{DATE});
 	}
 
+	verbose_print("Using $File::StripNondeterminism::canonical_time as canonical time");
+
 	foreach (@nondeterministic_files) {
 		my ($path, $normalize) = @$_;
+		verbose_print("Normalizing $path");
 		eval { $normalize->($path); 1 }
-		  or die "dh_strip_nondeterminism: $path: $@";
+		  or error("$path: $@");
 	}
 }
 
@@ -92,8 +95,9 @@
 
 This program is a part of debhelper.
 
-=head1 AUTHOR
+=head1 AUTHORS
 
 Andrew Ayer <agwa at andrewayer.name>
+Chris Lamb <lamby at debian.org>
 
 =cut
diff -Nru strip-nondeterminism-0.029/bin/strip-nondeterminism strip-nondeterminism-0.031/bin/strip-nondeterminism
--- strip-nondeterminism-0.029/bin/strip-nondeterminism	2016-12-22 11:52:33.000000000 +0100
+++ strip-nondeterminism-0.031/bin/strip-nondeterminism	2017-02-13 05:40:46.000000000 +0100
@@ -29,9 +29,9 @@
 my $cmd = $0;
 $cmd =~ s/.*\///;
 my $usage
-  = "Usage: $cmd [-t|--type FILETYPE] [-T|--timestamp SECONDS] [--clamp-timestamp] FILENAME\n";
+  = "Usage: $cmd [-v|--verbose] [-t|--type FILETYPE] [-T|--timestamp SECONDS] [--clamp-timestamp] FILENAME\n";
 
-my ($filetype, $timestamp, $clamp_timestamp, $want_help, $want_version);
+my ($filetype, $timestamp, $clamp_timestamp, $want_help, $verbose, $want_version);
 my $getopt = Getopt::Long::Parser->new;
 $getopt->configure(qw(no_ignore_case permute bundling));
 $getopt->getoptions(
@@ -39,6 +39,7 @@
 	'timestamp|T=i', \$timestamp,
 	'clamp-timestamp!', \$clamp_timestamp,
 	'help|h', \$want_help,
+	'verbose|v', \$verbose,
 	'version|V', \$want_version
 ) or die $usage;
 
@@ -73,6 +74,7 @@
 		next unless $normalizer;
 	}
 
+	print "Normalizing $filename\n" if $verbose;
 	eval { $normalizer->($filename); 1 }
 	  or die "strip-nondeterminism: $filename: $@";
 }
@@ -126,9 +128,10 @@
 
 =back
 
-=head1 AUTHOR
+=head1 AUTHORS
 
 Andrew Ayer
+Chris Lamb
 
 =head1 COPYRIGHT
 
diff -Nru strip-nondeterminism-0.029/debian/changelog strip-nondeterminism-0.031/debian/changelog
--- strip-nondeterminism-0.029/debian/changelog	2016-12-27 13:54:57.000000000 +0100
+++ strip-nondeterminism-0.031/debian/changelog	2017-02-13 05:41:27.000000000 +0100
@@ -1,3 +1,23 @@
+strip-nondeterminism (0.031-1) unstable; urgency=medium
+
+  * Don't test for stat(2) blksize and blocks; they are filesystem-specific and
+    we are already checking the pre- and post-processing contents anyway.
+    (Closes: #854937)
+
+ -- Chris Lamb <lamby at debian.org>  Mon, 13 Feb 2017 17:41:27 +1300
+
+strip-nondeterminism (0.030-1) unstable; urgency=medium
+
+  * Print log entry when fixing a file. (Closes: #777239)
+  * Run our entire testsuite in autopkgtests; `perl -MExtUtils::Command::MM
+    -MTest::Harness` was ignoring all but the first argument. (Closes: #852517)
+  * Use error() from Dh_Lib.pm over manual die().
+  * Add watch file with cryptographic signature verification.
+  * Add documentation regarding uploading a signed tarball.
+  * Add myself to AUTHORS and debian/copyright.
+
+ -- Chris Lamb <lamby at debian.org>  Thu, 09 Feb 2017 22:11:16 +1300
+
 strip-nondeterminism (0.029-2) unstable; urgency=medium
 
   [ Chris Lamb ]
diff -Nru strip-nondeterminism-0.029/debian/copyright strip-nondeterminism-0.031/debian/copyright
--- strip-nondeterminism-0.029/debian/copyright	2016-12-27 13:54:57.000000000 +0100
+++ strip-nondeterminism-0.031/debian/copyright	2017-02-13 05:41:27.000000000 +0100
@@ -4,6 +4,7 @@
 
 Files: *
 Copyright: Copyright (C) 2014 Andrew Ayer
+           Copyright (C) 2017 Chris Lamb
 License: GPL-3+
 
 Files: lib/File/StripNondeterminism/handlers/ar.pm
diff -Nru strip-nondeterminism-0.029/debian/tests/control strip-nondeterminism-0.031/debian/tests/control
--- strip-nondeterminism-0.029/debian/tests/control	2016-12-27 13:53:42.000000000 +0100
+++ strip-nondeterminism-0.031/debian/tests/control	2017-02-13 05:41:27.000000000 +0100
@@ -1,2 +1,2 @@
-Test-Command: mkdir -p "${ADTTMP}" && cp -rv t/ bin/ "${ADTTMP}" && cd "${ADTTMP}" && perl -MExtUtils::Command::MM -MTest::Harness t/*.t
+Test-Command: mkdir -p "${ADTTMP}" && cp -rv t/ bin/ "${ADTTMP}" && cd "${ADTTMP}" && for X in t/*.t; do perl -MExtUtils::Command::MM -MTest::Harness ${X} || return ${?}; done
 Restrictions: allow-stderr
diff -Nru strip-nondeterminism-0.029/debian/upstream/signing-key.asc strip-nondeterminism-0.031/debian/upstream/signing-key.asc
--- strip-nondeterminism-0.029/debian/upstream/signing-key.asc	1970-01-01 01:00:00.000000000 +0100
+++ strip-nondeterminism-0.031/debian/upstream/signing-key.asc	2017-02-13 05:41:27.000000000 +0100
@@ -0,0 +1,76 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mQINBEpaPPMBEADG/4uW0xA0Fcx07pJgJMtka4DvehIcunxEj2QI4YTopdPyAkTj
+9cNBljUtiZ1IvgtimQeJQt1XXyt5RR9q9nxn9D3Ce11JFe+TyO9YwVB4rIFk0ix8
+QfyFM3VfCV003puS1rsh84Eytpl48Haht4EY4Xm03+ZlJAbfqk+VY8FmQGcV4+g6
+9M3qdFSMGP9AzlM6bFel6vqEHvGKBxWt7JD2uIwF2CQAIaHS+3RU0AoJdAQF0OJy
+2rW4B88tuGvnaxx/0lzT40xBvaO5nR9KzNf8n+YV6s59k6loiN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fRap1821rV73gzbST/zh8Gfjf0uEfgb6LRrwRotzGIw9n+m1fks43qs/lO+Z
+xNfR
+=qega
+-----END PGP PUBLIC KEY BLOCK-----
diff -Nru strip-nondeterminism-0.029/debian/watch strip-nondeterminism-0.031/debian/watch
--- strip-nondeterminism-0.029/debian/watch	1970-01-01 01:00:00.000000000 +0100
+++ strip-nondeterminism-0.031/debian/watch	2017-02-13 05:41:27.000000000 +0100
@@ -0,0 +1,2 @@
+version=3
+opts=pgpsigurlmangle=s/$/.asc/ http://reproducible.alioth.debian.org/releases/strip-nondeterminism/strip-nondeterminism-(.+).tar.bz2
diff -Nru strip-nondeterminism-0.029/lib/File/StripNondeterminism.pm strip-nondeterminism-0.031/lib/File/StripNondeterminism.pm
--- strip-nondeterminism-0.029/lib/File/StripNondeterminism.pm	2016-12-22 11:52:33.000000000 +0100
+++ strip-nondeterminism-0.031/lib/File/StripNondeterminism.pm	2017-02-13 05:40:46.000000000 +0100
@@ -34,7 +34,7 @@
 
 our($VERSION, $canonical_time, $clamp_time);
 
-$VERSION = '0.029'; # 0.029
+$VERSION = '0.031'; # 0.031
 
 sub init {
 	$ENV{'TZ'} = 'UTC';
diff -Nru strip-nondeterminism-0.029/Makefile.PL strip-nondeterminism-0.031/Makefile.PL
--- strip-nondeterminism-0.029/Makefile.PL	2016-12-22 11:52:33.000000000 +0100
+++ strip-nondeterminism-0.031/Makefile.PL	2017-02-13 05:40:46.000000000 +0100
@@ -6,7 +6,10 @@
 
 WriteMakefile(
 	NAME		=> 'File::StripNondeterminism',
-	AUTHOR		=> 'Andrew Ayer <agwa at andrewayer.name>',
+	AUTHOR => [
+		'Andrew Ayer <agwa at andrewayer.name>',
+		'Chris Lamb <lamby at debian.org>'
+	],
 	VERSION_FROM	=> 'lib/File/StripNondeterminism.pm',
 	ABSTRACT	=> 'tool for stripping nondeterminism from files',
 	EXE_FILES	=> [qw(bin/dh_strip_nondeterminism bin/strip-nondeterminism)],
diff -Nru strip-nondeterminism-0.029/README strip-nondeterminism-0.031/README
--- strip-nondeterminism-0.029/README	2016-12-22 11:52:33.000000000 +0100
+++ strip-nondeterminism-0.031/README	2017-02-13 05:40:46.000000000 +0100
@@ -8,3 +8,13 @@
 strip-nondeterminism contains the File::StripNondeterminism Perl module, the
 strip-nondeterminism command line utility, and the dh_strip_nondeterminism
 Debhelper add-on.
+
+After releasing, please upload a signed tarball:
+
+  $ VERSION=FIXME
+
+  $ git archive --format=tar --prefix=strip-nondeterminism-${VERSION}/ ${VERSION} | bzip2 -9 > strip-nondeterminism-${VERSION}.tar.bz2
+
+  $ gpg --detach-sig --armor --output=strip-nondeterminism-${VERSION}.tar.bz2.asc < strip-nondeterminism-${VERSION}.tar.bz2
+
+  $ scp strip-nondeterminism-${VERSION}* alioth.debian.org:/home/groups/reproducible/htdocs/releases/strip-nondeterminism
diff -Nru strip-nondeterminism-0.029/t/fixtures.t strip-nondeterminism-0.031/t/fixtures.t
--- strip-nondeterminism-0.029/t/fixtures.t	2016-12-22 11:52:33.000000000 +0100
+++ strip-nondeterminism-0.031/t/fixtures.t	2017-02-13 05:40:46.000000000 +0100
@@ -42,8 +42,8 @@
 	# 8 => "atime (last access time in seconds since the epoch)",
 	# 9 => "mtime (last modified time in seconds since the epoch)",
 	# 10 => "ctime (inode change time in seconds since the epoch)",
-	11 => "blksize (preferred I/O size in bytes for interacting with the file)",
-	12 => "blocks (actual number of system-specific blocks allocated on disk)",
+	# 11 => "blksize (preferred I/O size in bytes for interacting with the file)",
+	# 12 => "blocks (actual number of system-specific blocks allocated on disk)",
 );
 
 File::StripNondeterminism::init();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20170213/e3c85eee/attachment.sig>


More information about the Reproducible-builds mailing list