]> git.pld-linux.org Git - projects/buildlogs.git/blame - obsolete/buildlogs.sql/buildlogs.inc
- you don't have to delete the buildlogs.db before starting
[projects/buildlogs.git] / obsolete / buildlogs.sql / buildlogs.inc
CommitLineData
10d3ed03 1<?php
73549f8e 2$database_file = "/home/services/httpd/html/pld-buildlogs/db/buildlogs.db";
3$database = "sqlite:$database_file";
10d3ed03 4$root_directory = "/home/services/ftp/pub/pld-buildlogs";
5f0148b9 5$addr = array(
6 0 => "", /* must be first */
7 1 => "th/SRPMS",
8 2 => "th/i486",
9 3 => "th/i686",
10 4 => "th/athlon",
11 5 => "th/x86_64",
6144c2ef 12// 6 => "th/amd64",
13 6 => "th/ia64",
14 7 => "th/alpha",
15 8 => "th/ppc",
16 9 => "th/sparc",
17 10 => "ac/SRPMS",
18 11 => "ac/i386",
19 12 => "ac/i586",
20 13 => "ac/i686",
21 14 => "ac/athlon",
22 15 => "ac/amd64",
23 16 => "ac/alpha",
24 17 => "ac/ppc",
25 18 => "ac/sparc",
26 19 => "ac/sparc64"
5f0148b9 27);
28
29$qa_addr = array(
30 0 => "", /* must be first */
31 1 => "http://ftp.pld-linux.org/dists/th/.stat/builder/th/rpmqa-SRPMS.txt",
32 2 => "http://ftp.pld-linux.org/dists/th/.stat/builder/th/rpmqa-i486.txt",
33 3 => "http://ftp.pld-linux.org/dists/th/.stat/builder/th/rpmqa-i686.txt",
34 4 => "http://ftp.pld-linux.org/dists/th/.stat/builder/th/rpmqa-athlon.txt",
35 5 => "http://ftp.pld-linux.org/dists/th/.stat/builder/th/rpmqa-x86_64.txt",
6144c2ef 36// 6 => "http://ftp.pld-linux.org/dists/th/.stat/builder/th/rpmqa-amd64.txt",
37 6 => "http://ftp.pld-linux.org/dists/th/.stat/builder/th/rpmqa-ia64.txt",
38 7 => "http://ftp.pld-linux.org/dists/th/.stat/builder/th/rpmqa-alpha.txt",
39 8 => "http://ftp.pld-linux.org/dists/th/.stat/builder/th/rpmqa-ppc.txt",
40 9 => "http://ftp.pld-linux.org/dists/th/.stat/builder/th/rpmqa-sparc.txt",
41 10 => "http://ftp.pld-linux.org/dists/ac/.stat/builder/ac/rpmqa-SRPMS.txt",
42 11 => "http://ftp.pld-linux.org/dists/ac/.stat/builder/ac/rpmqa-i386.txt",
43 12 => "http://ftp.pld-linux.org/dists/ac/.stat/builder/ac/rpmqa-i586.txt",
44 13 => "http://ftp.pld-linux.org/dists/ac/.stat/builder/ac/rpmqa-i686.txt",
45 14 => "http://ftp.pld-linux.org/dists/ac/.stat/builder/ac/rpmqa-athlon.txt",
46 15 => "http://ftp.pld-linux.org/dists/ac/.stat/builder/ac/rpmqa-amd64.txt",
47 16 => "http://ftp.pld-linux.org/dists/ac/.stat/builder/ac/rpmqa-alpha.txt",
48 17 => "http://ftp.pld-linux.org/dists/ac/.stat/builder/ac/rpmqa-ppc.txt",
49 18 => "http://ftp.pld-linux.org/dists/ac/.stat/builder/ac/rpmqa-sparc.txt",
50 19 => "http://ftp.pld-linux.org/dists/ac/.stat/builder/ac/rpmqa-sparc64.txt"
5f0148b9 51);
52
53$reverse_addr = array(
54 "th/SRPMS" => 1,
55 "th/i486" => 2,
56 "th/i686" => 3,
57 "th/athlon" => 4,
58 "th/x86_64" => 5,
6144c2ef 59 "th/amd64" => 5,
60 "th/ia64" => 6,
61 "th/alpha" => 7,
62 "th/ppc" => 8,
63 "th/sparc" => 9,
64 "ac/SRPMS" => 10,
65 "ac/i386" => 11,
66 "ac/i586" => 12,
67 "ac/i686" => 13,
68 "ac/athlon" => 14,
69 "ac/amd64" => 15,
70 "ac/alpha" => 16,
71 "ac/ppc" => 17,
72 "ac/sparc" => 18,
73 "ac/sparc64" => 19
5f0148b9 74);
75
10d3ed03 76?>
This page took 0.193665 seconds and 4 git commands to generate.