Read the newest bug format instead of the old, archaic form.
[bugscan.git] / bugcfg.pm
1 #! /usr/bin/perl
2 # vim: ts=4 sw=4 nowrap
3
4 # General configuration stuff
5
6 $host=`hostname`;
7 chomp $host;
8 if ($host eq "master" or $host eq "spohr" or $host eq "rietz") {
9         $spooldir       = "/org/bugs.debian.org/debbugs/spool/db-h";
10         $maintainerlist = "/etc/debbugs/Maintainers";
11         $debian_ftproot = "/org/bugs.debian.org/etc/indices/ftp/testing";
12         $nonUS_ftproot  = "/org/bugs.debian.org/etc/indices/nonus/testing";
13         $debian_sources = "/etc/debbugs/indices/ftp.sources";
14         $nonUS_sources  = "/etc/debbugs/indices/nonus.sources";
15         $pseudolist     = "/org/bugs.debian.org/etc/pseudo-packages.description";
16         $nonuslist      = "/debian/home/maor/masterfiles/Packages.non-US";
17         $versionindex = "/org/bugs.debian.org/versions/indices/versions.idx";
18         $versionpkgdir = "/org/bugs.debian.org/versions/pkg";
19 } elsif ($host eq "merkel") {
20         $spooldir       = "/org/bugs.debian.org/spool/db-h";
21         $maintainerlist = "/etc/debbugs/Maintainers";
22         $debian_ftproot = "/org/bugs.debian.org/etc/indices/ftp/testing";
23         $nonUS_ftproot  = "/org/bugs.debian.org/etc/indices/nonus/testing";
24         $debian_sources = "/etc/debbugs/indices/ftp.sources";
25         $nonUS_sources  = "/etc/debbugs/indices/nonus.sources";
26         $pseudolist     = "/org/bugs.debian.org/etc/pseudo-packages.description";
27         $nonuslist      = "/debian/home/maor/masterfiles/Packages.non-US";
28         $versionindex = "/org/bugs.debian.org/versions/indices/versions.idx";
29         $versionpkgdir = "/org/bugs.debian.org/versions/pkg";
30 } elsif ($host eq "lightning") {
31         $spooldir       = "/debian/home/iwj/debian-bugs/spool/db";
32         $maintainerlist = "/debian/debian/indices/Maintainers";
33         $ftproot        = "/debian/debian/dists/potato/";
34         $pseudolist     = "/debian/home/maor/masterfiles/pseudo-packages.description";
35         $nonuslist      = "/debian/home/maor/masterfiles/Packages.non-US";
36 } else {
37         die "Unknown machine, please configure paths in bugcfg.pm\n";
38 }
39
40 $btsURL                 = "http://www.debian.org/Bugs/";
41 @architectures          = ( "i386", "m68k", "alpha", "sparc", "powerpc", "arm", "hppa", "ia64", "mips", "mipsel", "s390" );
42 @sections               = ( "main", "contrib", "non-free" );
43 @priorities             = ( "serious", "grave", "critical" );
44 @skiptags               = ( "wontfix", "fixed" );
45
46 1;
47