]> git.donarmstrong.com Git - bugscan.git/blobdiff - make-britney-counts
check the status of the wheezy-ignore tag, not squeeze-ignore for unstable
[bugscan.git] / make-britney-counts
index 5eb3090d32f9250610fea20a3450e9d7858c6f56..2fc765673f26c36d3f95886ab94d87cb9b251792 100755 (executable)
@@ -44,9 +44,11 @@ my %unstablebugs = ();
 while (my ($nr, $bug) = each %scanlib::bugs) {
        for my $package (split /[,\s]+/, $bug->{'package'}) {
                $package =~ y/A-Z/a-z/;
-               $package = $` if ($package =~ /[^-+._a-z0-9]/);
+               $package = $` if ($package =~ /[^-+._:a-z0-9]/);
 
-               if (scanlib::check_worry_unstable($bug)) {
+               # this hack is specific to britney counts, and ignores
+               # bugs tagged ignore for the next testing release
+               if (scanlib::check_worry_unstable($bug) and not $bug->{'wheezy-ignore'}) {
                        push @{$unstablebugs{$package}}, $nr;
                }
                if (scanlib::check_worry($bug)) {