]> git.donarmstrong.com Git - bugscan.git/blobdiff - bugcounts
Count RC bugs in stable.
[bugscan.git] / bugcounts
index 4c2200533232dddbf03e1dba35790b7745796bd4..de473a18011984c2452f9610256640f4c017a3ea 100755 (executable)
--- a/bugcounts
+++ b/bugcounts
@@ -42,8 +42,8 @@ my $total=0;          # total number of bugs
 my $patchcount=0;      # Number of bugs that have a fix proposed
 my $pendingcount=0;    # Number of bugs that will have a fix uploaded RSN
 my $ignorecount=0;      # Number of bugs being ignored
-my $nottestingcount=0; # Number of bugs on packages not in testing
 my $worrycount=0;      # Number of bugs we're actually worried about
+my $stablecount=0;     # Number of bugs affecting stable
 
 for my $p (keys %scanlib::packagelist) {
        next if (defined $bugcfg::exclude{$p});
@@ -53,9 +53,9 @@ for my $p (keys %scanlib::packagelist) {
                $pendingcount++ if ($scanlib::bugs{$nr} =~ m/^\[[^]]*P/);
                $patchcount++ if ($scanlib::bugs{$nr} =~ m/^\[[^]]*\+/);
                $ignorecount++ if ($scanlib::bugs{$nr} =~ m/^\[[^]]*I/);
-               $nottestingcount++ if ($scanlib::bugs{$nr} =~ m/ \[[^]]*X/);
                $worrycount++ if (scanlib::check_worry($scanlib::bugs{$nr}));
+               $stablecount++ if (scanlib::check_worry_stable($scanlib::bugs{$nr}));
        }
 }
 
-printf("%d %d %d 0 %d %d %d\n", $total, $pendingcount, $patchcount, $ignorecount, $nottestingcount, $worrycount);
+printf("%d %d %d 0 %d 0 %d %d\n", $total, $pendingcount, $patchcount, $ignorecount, $worrycount, $stablecount);