X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=blobdiff_plain;f=bugcounts;h=de473a18011984c2452f9610256640f4c017a3ea;hp=4c2200533232dddbf03e1dba35790b7745796bd4;hb=c0db4b9d56c1fbb988dffa9fff9f86d181d8b270;hpb=208048faabf59b200dbabe0ddfe34406d7c8fbd5 diff --git a/bugcounts b/bugcounts index 4c22005..de473a1 100755 --- 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);