X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=blobdiff_plain;f=scanlib.pm;fp=scanlib.pm;h=65b3d7a6d3211290af4f8c4d318672f946f5f772;hp=7451d88be2826ba6bbebc9b9c662c1325b06f243;hb=58e5d0d29c328af4ea46abed36a388c3d91876e2;hpb=05842ea2a5370c6de688a681cbe68d1f18920b3e diff --git a/scanlib.pm b/scanlib.pm index 7451d88..65b3d7a 100644 --- a/scanlib.pm +++ b/scanlib.pm @@ -177,9 +177,9 @@ sub scanspooldir() { next if $skip==1; my %disttags = (); - $disttags{'oldstable'} = grep(/^sarge$/, @tags); - $disttags{'stable'} = grep(/^etch$/, @tags); - $disttags{'testing'} = grep(/^lenny$/, @tags); + $disttags{'oldstable'} = grep(/^etch$/, @tags); + $disttags{'stable'} = grep(/^lenny$/, @tags); + $disttags{'testing'} = grep(/^squeeze$/, @tags); $disttags{'unstable'} = grep(/^sid$/, @tags); $disttags{'experimental'} = grep(/^experimental$/, @tags); @@ -228,7 +228,7 @@ sub scanspooldir() { next if !$affects_any; } - for my $keyword qw(pending patch help moreinfo unreproducible security upstream etch-ignore lenny-ignore) { + for my $keyword qw(pending patch help moreinfo unreproducible security upstream etch-ignore lenny-ignore squeeze-ignore) { $bi->{$keyword} = grep(/^$keyword$/, @tags); } @@ -320,13 +320,13 @@ sub wwwname() { sub check_worry { my ($bi) = @_; - return ($bi->{'testing'} && !$bi->{'lenny-ignore'}); + return ($bi->{'testing'} && !$bi->{'squeeze-ignore'}); } sub check_worry_stable { my ($bi) = @_; - return ($bi->{'stable'} && !$bi->{'etch-ignore'}); + return ($bi->{'stable'} && !$bi->{'lenny-ignore'}); } sub check_worry_unstable { @@ -346,7 +346,7 @@ sub get_taginfo { $taginfo .= $bi->{'unreproducible'} ? "R" : " "; $taginfo .= $bi->{'security'} ? "S" : " "; $taginfo .= $bi->{'upstream'} ? "U" : " "; - $taginfo .= ($bi->{'etch-ignore'} || $bi->{'lenny-ignore'}) ? "I" : " "; + $taginfo .= ($bi->{'lenny-ignore'} || $bi->{'squeeze-ignore'}) ? "I" : " "; return $taginfo; }