X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=blobdiff_plain;f=scanlib.pm;h=7451d88be2826ba6bbebc9b9c662c1325b06f243;hp=9bd84581e59d1292a3dfd49662a91e2362ebfa83;hb=db439f4044efdec3b5383b20fb0799c2582099dc;hpb=ba928af3f693d3d4fc348c4d1395967fbddd04b1 diff --git a/scanlib.pm b/scanlib.pm index 9bd8458..7451d88 100644 --- a/scanlib.pm +++ b/scanlib.pm @@ -83,6 +83,7 @@ sub readpackages() { next unless m/^Package:\s/; # We're only interested in the packagenames s/^Package:\s*//; # Strip the fieldname $section{$_} = "$archive/$sect"; + print "$root/$sect/binary-$arch/Packages.gz\n" if ($_ eq 'xtla'); } close(P); } @@ -141,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"; @@ -209,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 @@ -326,6 +329,12 @@ sub check_worry_stable { return ($bi->{'stable'} && !$bi->{'etch-ignore'}); } +sub check_worry_unstable { + my ($bi) = @_; + + return ($bi->{'unstable'}); +} + sub get_taginfo { my $bi = shift;