X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=blobdiff_plain;f=bugcounts;h=1920a5b617b2a5905335c1e3f199dc542ffe6bdc;hp=f3913ee91b851e60819fd5f6e2c2072c177946bb;hb=d58d0b081c8bc059a905f7eb9c7dd6c38cd8e2ca;hpb=038c6aa61e809657e74971f8fe72a56fe57551a7 diff --git a/bugcounts b/bugcounts index f3913ee..1920a5b 100755 --- a/bugcounts +++ b/bugcounts @@ -43,7 +43,6 @@ scanlib::readstatus($statusfile); scanlib::readcomments($commentsfile); my $total=0; # total number of bugs -my $removecount=0; # Number of bugs that will disappear if packages are removed 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 @@ -64,17 +63,8 @@ for my $p (keys %scanlib::packagelist) { my $sect = ($scanlib::comments{$nr} =~ m/\[([^]]*)\]/); $sectcount{$sect}++; } - unless ($scanlib::bugs{$nr} =~ m/^\[[^]]*I/ or - $scanlib::bugs{$nr} =~ m/ \[[^]]*X/ or - ($scanlib::bugs{$nr} =~ m/ \[[^]]*[OSUE]/ and $scanlib::bugs{$nr} !~ m/ \[[^]]*T/)) { - $worrycount++; - # print STDERR "$nr $bugs{$nr}\n"; - } - } - - if (defined($scanlib::comments{$p}) && $scanlib::comments{$p} =~ m/^\[REMOVE\]/) { - $removecount += scalar @{$scanlib::packagelist{$p}); + $worrycount++ if (scanlib::check_worry($scanlib::bugs{$nr})); } } -printf("%d %d %d %d %d %d %d\n", $total, $pendingcount, $patchcount, $removecount, $ignorecount, $nottestingcount, $worrycount); +printf("%d %d %d 0 %d %d %d\n", $total, $pendingcount, $patchcount, $ignorecount, $nottestingcount, $worrycount);