]> git.donarmstrong.com Git - bugscan.git/blobdiff - bugcounts
Change the format of the status file to be something much closer to the
[bugscan.git] / bugcounts
index de473a18011984c2452f9610256640f4c017a3ea..038769b2c05c398a62188cdf47868884bd1c5a97 100755 (executable)
--- a/bugcounts
+++ b/bugcounts
@@ -50,9 +50,9 @@ for my $p (keys %scanlib::packagelist) {
        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}->{'etch-ignore'});
                $worrycount++ if (scanlib::check_worry($scanlib::bugs{$nr}));
                $stablecount++ if (scanlib::check_worry_stable($scanlib::bugs{$nr}));
        }