]> git.donarmstrong.com Git - bugscan.git/commitdiff
Give "source" as architecture for bug_presence(), in order to also detect
authorSteinar H. Gunderson <sesse@rietz>
Tue, 19 Jun 2007 22:27:39 +0000 (22:27 +0000)
committerSteinar H. Gunderson <sesse@rietz>
Tue, 19 Jun 2007 22:27:39 +0000 (22:27 +0000)
bugs that are filed against source packages that are not also binary
packages.

scanlib.pm

index 50a695102301cc91917d04101824ad94083b1645..7451d88be2826ba6bbebc9b9c662c1325b06f243 100644 (file)
@@ -142,6 +142,8 @@ sub scanspooldir() {
        my $skip;               # Flow control
        my $walk;               # index variable
        my $taginfo;    # Tag info
        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";
 
 
        chdir($dir) or die "chdir $dir: $!\n";
 
@@ -210,7 +212,7 @@ sub scanspooldir() {
                                        bug => $f, 
                                        status => $bug, 
                                        dist => $dist, 
                                        bug => $f, 
                                        status => $bug, 
                                        dist => $dist, 
-                                       arch => \@bugcfg::architectures
+                                       arch => \@archs_with_source
                                );
 
                                # ignore bugs that are absent/fixed in this distribution, include everything
                                );
 
                                # ignore bugs that are absent/fixed in this distribution, include everything