Package: devscripts Version: 2.11.8 Severity: normal Tags: patch dch's NMU detection triggers easily for uploads of orphaned packages, which are not NMUable by definition.
Attached patch should fix that. (One can still create a impossible NMU by giving --nmu explicitly, but I'd say that is then the fault of the person calling it that way). Bernhard R. Link
>From d3b00472b38c774a95a16590be04faa21c29b2ff Mon Sep 17 00:00:00 2001 From: "Bernhard R. Link" <brl...@debian.org> Date: Sun, 10 Jun 2012 11:32:08 +0200 Subject: [PATCH] debchange: fix NMU detection to not NMU QA packages Orphaned packages can by definition not be NMUed, so fix the NMU detection to not trigger if the maintainer contains the packa...@qa.debian.org address. --- scripts/debchange.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/debchange.pl b/scripts/debchange.pl index 17a4d3d..4275c82 100755 --- a/scripts/debchange.pl +++ b/scripts/debchange.pl @@ -862,7 +862,8 @@ if ($opt_auto_nmu eq 'yes' and ! $opt_v and ! $opt_l and ! $opt_s and my $packager = "$MAINTAINER <$EMAIL>"; - if (! grep { $_ eq $packager } ($maintainer, @uploaders) and + if ($maintainer !~ m/<packa...@qa.debian.org>/ and + ! grep { $_ eq $packager } ($maintainer, @uploaders) and $packager ne $changelog{'Maintainer'} and ! $opt_team) { $opt_n=1; $opt_a=0; -- 1.7.10