]> git.donarmstrong.com Git - bugscan.git/blobdiff - bugcounts
Kill the comments stuff; it hasn't been used for ages.
[bugscan.git] / bugcounts
index b0337fc01d7f68a7c88f605e54cafc3de4f3d7f6..1920a5b617b2a5905335c1e3f199dc542ffe6bdc 100755 (executable)
--- 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
@@ -66,10 +65,6 @@ for my $p (keys %scanlib::packagelist) {
                }
                $worrycount++ if (scanlib::check_worry($scanlib::bugs{$nr}));
        }
-
-       if (defined($scanlib::comments{$p}) && $scanlib::comments{$p} =~ m/^\[REMOVE\]/) {
-               $removecount += scalar @{$scanlib::packagelist{$p}};
-       }
 }
 
-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);