From: Steinar H. Gunderson Date: Tue, 19 Jun 2007 22:27:39 +0000 (+0000) Subject: Give "source" as architecture for bug_presence(), in order to also detect X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=db439f4044efdec3b5383b20fb0799c2582099dc;p=bugscan.git Give "source" as architecture for bug_presence(), in order to also detect bugs that are filed against source packages that are not also binary packages. --- diff --git a/scanlib.pm b/scanlib.pm index 50a6951..7451d88 100644 --- a/scanlib.pm +++ b/scanlib.pm @@ -142,6 +142,8 @@ sub scanspooldir() { my $skip; # Flow control my $walk; # index variable my $taginfo; # Tag info + + my @archs_with_source = ( @bugcfg::architectures, 'source' ); chdir($dir) or die "chdir $dir: $!\n"; @@ -210,7 +212,7 @@ sub scanspooldir() { bug => $f, status => $bug, dist => $dist, - arch => \@bugcfg::architectures + arch => \@archs_with_source ); # ignore bugs that are absent/fixed in this distribution, include everything