point stuff at newajbug/common.pl ; usr/lib on master is unusably out of date
various typo fixes in pkgindex.cgi and such
use POSIX qw(strftime tzset);
#require '/usr/lib/debbugs/errorlib';
use POSIX qw(strftime tzset);
#require '/usr/lib/debbugs/errorlib';
-require '/usr/lib/debbugs/common.pl';
-#require '/debian/home/ajt/newajbug/common.pl';
+#require '/usr/lib/debbugs/common.pl';
+require '/debian/home/ajt/newajbug/common.pl';
require '/etc/debbugs/config';
require '/etc/debbugs/text';
require '/etc/debbugs/config';
require '/etc/debbugs/text';
use POSIX qw(strftime tzset nice);
#require '/usr/lib/debbugs/errorlib';
use POSIX qw(strftime tzset nice);
#require '/usr/lib/debbugs/errorlib';
-require '/usr/lib/debbugs/common.pl';
-#require '/debian/home/ajt/newajbug/common.pl';
+#require '/usr/lib/debbugs/common.pl';
+require '/debian/home/ajt/newajbug/common.pl';
require '/etc/debbugs/config';
require '/etc/debbugs/text';
require '/etc/debbugs/config';
require '/etc/debbugs/text';
my $Archived = $archive ? "Archived" : "";
my $Archived = $archive ? "Archived" : "";
-my %maintainer = &getmaintainers();
+my %maintainers = &getmaintainers();
my %strings = ();
$ENV{"TZ"} = 'UTC';
my %strings = ();
$ENV{"TZ"} = 'UTC';
set_option("repeatmerged", $repeatmerged);
set_option("archive", $archive);
set_option("repeatmerged", $repeatmerged);
set_option("archive", $archive);
-set_option("include", { map {($_,1)} (split /[\s,]+/, $include) })
- if ($include);
-set_option("exclude", { map {($_,1)} (split /[\s,]+/, $exclude) })
- if ($exclude);
+#set_option("include", { map {($_,1)} (split /[\s,]+/, $include) })
+# if ($include);
+#set_option("exclude", { map {($_,1)} (split /[\s,]+/, $exclude) })
+# if ($exclude);
$note .= "reports filed under the different binary package names.</p>\n";
} elsif ($indexon eq "maint") {
$tag = "maintainer";
$note .= "reports filed under the different binary package names.</p>\n";
} elsif ($indexon eq "maint") {
$tag = "maintainer";
- %@count = countbugs(sub {my %d=@_; my $me;
+ %count = countbugs(sub {my %d=@_; my $me;
$me = $maintainers{$d{"pkg"}} || "";
$me =~ s/\s*\(.*\)\s*//;
$me = $1 if ($me =~ m/<(.*)>/);
$me = $maintainers{$d{"pkg"}} || "";
$me =~ s/\s*\(.*\)\s*//;
$me = $1 if ($me =~ m/<(.*)>/);
$tag = "submitter";
%count = countbugs(sub {my %d=@_; my $se;
($se = $d{"submitter"} || "") =~ s/\s*\(.*\)\s*//;
$tag = "submitter";
%count = countbugs(sub {my %d=@_; my $se;
($se = $d{"submitter"} || "") =~ s/\s*\(.*\)\s*//;
- if ($se =~ m/<(.*)>/) { $me = $1 }
+ $se = $1 if ($se =~ m/<(.*)>/);
return $se;
});
$note = "<p>Note that people may use different email accounts for\n";
return $se;
});
$note = "<p>Note that people may use different email accounts for\n";
my $result = "<ul>\n";
foreach my $x (sort keys %count) {
my $result = "<ul>\n";
foreach my $x (sort keys %count) {
- $result .= sprintf('<li><a href="pkgreport.cgi?%s=%s">%s</a> %d bugs</li>\n',
+ $result .= sprintf('<li><a href="pkgreport.cgi?%s=%s">%s</a> %d bugs</li>',
$indexon, $x, $x, $count{$x});
$indexon, $x, $x, $count{$x});
use POSIX qw(strftime tzset nice);
#require '/usr/lib/debbugs/errorlib';
use POSIX qw(strftime tzset nice);
#require '/usr/lib/debbugs/errorlib';
-require '/usr/lib/debbugs/common.pl';
-#require '/debian/home/ajt/newajbug/common.pl';
+#require '/usr/lib/debbugs/common.pl';
+require '/debian/home/ajt/newajbug/common.pl';
require '/etc/debbugs/config';
require '/etc/debbugs/text';
require '/etc/debbugs/config';
require '/etc/debbugs/text';