#! /usr/bin/perl
-# vim: ts=4 sw=4 nowrap
+# vim: ts=8 sw=8 nowrap
#
# General functions for scanning the BTS-database.
# Based on bugscan, written by Richard Braakman <dark@debian.org>,
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;
}
sub check_worry_stable {
my ($bi) = @_;
- return ($bi->{'stable'});
+ return ($bi->{'stable'} && !$bi->{'sarge-ignore'});
}
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;
}