X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=blobdiff_plain;f=bugcounts;h=4b00261a20e97111fe64de4647d2db98db0ec35d;hp=3051b19a9074df34c68b5c1ceed5f52d50a3ffa2;hb=8ddb60b02f6e4b12b2f5db92f36f7c19471524a4;hpb=37c1a7189dec60183ce19b121afa2747f17dda68 diff --git a/bugcounts b/bugcounts index 3051b19..4b00261 100755 --- a/bugcounts +++ b/bugcounts @@ -43,17 +43,17 @@ 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 $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}); for my $nr (sort @{$scanlib::packagelist{$p}}) { - next if (defined $bugcfg::exclude{$nr}); $total++; - $pendingcount++ if ($scanlib::bugs{$nr} =~ m/^\[[^]]*P/); - $patchcount++ if ($scanlib::bugs{$nr} =~ m/^\[[^]]*\+/); - $ignorecount++ if ($scanlib::bugs{$nr} =~ m/^\[[^]]*I/); + $pendingcount++ if ($scanlib::bugs{$nr}->{'pending'}); + $patchcount++ if ($scanlib::bugs{$nr}->{'patch'}); + $ignorecount++ if ($scanlib::bugs{$nr}->{'sarge-ignore'} || $scanlib::bugs{$nr}->{'etch-ignore'}); $worrycount++ if (scanlib::check_worry($scanlib::bugs{$nr})); + $stablecount++ if (scanlib::check_worry_stable($scanlib::bugs{$nr})); } } -printf("%d %d %d 0 %d 0 %d\n", $total, $pendingcount, $patchcount, $ignorecount, $worrycount); +printf("%d %d %d 0 %d 0 %d %d\n", $total, $pendingcount, $patchcount, $ignorecount, $worrycount, $stablecount);