From: Don Armstrong Date: Mon, 10 Aug 2009 21:48:21 +0000 (-0700) Subject: support cloned blocks; handle multi-packages properly X-Git-Tag: release/2.6.0~455^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;ds=sidebyside;h=4cff682760150b988cdf40fc866adf47364c8392;p=debbugs.git support cloned blocks; handle multi-packages properly --- diff --git a/cgi/bugreport.cgi b/cgi/bugreport.cgi index d6d5cf2..def15df 100755 --- a/cgi/bugreport.cgi +++ b/cgi/bugreport.cgi @@ -290,7 +290,7 @@ unless (%status) { #$|=1; my %package; -my @packages = splitpackages($status{package}); +my @packages = make_list($status{package}); foreach my $pkg (@packages) { if ($pkg =~ /^src\:/) { diff --git a/scripts/service b/scripts/service index 8d9875d..dce8703 100755 --- a/scripts/service +++ b/scripts/service @@ -852,7 +852,7 @@ END $ok++; $ref= $2; my $add_remove = defined $1 && $1 eq 'un'; - my @blockers = split /[\s,]+/, $3; + my @blockers = map {exists $clonebugs{$_}?$clonebugs{$_}:$_} split /[\s,]+/, $3; $ref = $clonebugs{$ref} if exists $clonebugs{$ref}; $bug_affected{$ref} = 1; eval {