Bug#843470: mergechanges: doesn't know about new .buildinfo files

James McCoy jamessan at debian.org
Tue Nov 22 20:05:10 UTC 2016


On Sun, Nov 20, 2016 at 05:05:16PM +0000, Simon McVittie wrote:
> From 2d7b8d45f23eb59e32c2350fc66943db7431a96e Mon Sep 17 00:00:00 2001
> From: Simon McVittie <smcv at debian.org>
> Date: Sun, 20 Nov 2016 16:32:53 +0000
> Subject: [PATCH] mergechanges: treat *.buildinfo like *.deb for --indep,
>  --source options

Shouldn't it always be kept in the resulting changes file?  It's just
build metadata like the changes/dsc files.  Before I got distracted by
other things, I was considering applying a patch like

diff --git i/scripts/mergechanges.sh w/scripts/mergechanges.sh
index 1e07622..881dec9 100755
--- i/scripts/mergechanges.sh
+++ w/scripts/mergechanges.sh
@@ -141,6 +141,10 @@ checksum_uniq() {
 			echo "$line"
 		    fi
 		    ;;
+		(*.buildinfo)
+		    # build metadata
+		    echo "$line"
+		    ;;
 		(*)
 		    echo "Unrecognised file, is it architecture-dependent?" >&2
 		    echo "$line" >&2

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB



More information about the devscripts-devel mailing list