X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=scanlib.pm;h=3dca704000de24c6dfc17caa78410b7cde07edaf;hb=4ace6a1aa6b7ebd771581b01494cfe0b23d42b92;hp=a2c378b73913439ce72037904f29f30dd8371e34;hpb=c254a0d0c6ce35fab30d43d9e4e7e3015e250013;p=bugscan.git diff --git a/scanlib.pm b/scanlib.pm index a2c378b..3dca704 100644 --- a/scanlib.pm +++ b/scanlib.pm @@ -224,7 +224,7 @@ sub scanspooldir() { next if !$affects_any; } - for my $keyword qw(pending patch help moreinfo unreproducible security upstream etch-ignore) { + for my $keyword qw(pending patch help moreinfo unreproducible security upstream sarge-ignore etch-ignore) { $bi->{$keyword} = ($bug->{'keywords'} =~ /\b$keyword\b/) ? 1 : 0; } @@ -322,7 +322,7 @@ sub check_worry { sub check_worry_stable { my ($bi) = @_; - return ($bi->{'stable'}); + return ($bi->{'stable'} && !$bi->{'sarge-ignore'}); } sub get_taginfo { @@ -336,7 +336,7 @@ sub get_taginfo { $taginfo .= $bi->{'unreproducible'} ? "R" : " "; $taginfo .= $bi->{'security'} ? "S" : " "; $taginfo .= $bi->{'upstream'} ? "U" : " "; - $taginfo .= $bi->{'etch-ignore'} ? "I" : " "; + $taginfo .= ($bi->{'sarge-ignore'} || $bi->{'etch-ignore'}) ? "I" : " "; return $taginfo; }