#! /usr/bin/perl # vim: ts=8 sw=8 nowrap # Generate some counts for the bugreports use Getopt::Std; require scanlib; require bugcfg; use strict; # use warnings; my $Version = "BugCount 1.1\nCopyright (C) Wichert Akkerman \n"; my $statusfile = "status"; sub ShowVersion() { print "$Version\n"; exit 0; } sub ShowUsage() { print <{'pending'}); $patchcount++ if ($bug->{'patch'}); $ignorecount++ if ($bug->{$bugcfg::debian_releases->{stable}.'-ignore'} || $bug->{$bugcfg::debian_releases->{testing}.'-ignore'}); $worrycount++ if (scanlib::check_worry($bug)); $stablecount++ if (scanlib::check_worry_stable($bug)); } printf("%d %d %d 0 %d 0 %d %d\n", $total, $pendingcount, $patchcount, $ignorecount, $worrycount, $stablecount);