summaryrefslogtreecommitdiff
path: root/buildmaster/index.php
blob: 47e1e1cefb7854ab25db3edb6d5d5867a28aded7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?php
require_once "../init.php";
require_once BASE . "/lib/mysql.php";

if (!array_key_exists("arch",$_GET))
  $_GET["arch"]="i686";

$arch = $_GET["arch"];
switch ($arch) {
  case "any":
    $title = "architecture independent packages";
  break;
  case "i486":
    $title = "i486";
  break;
  case "i686":
    $title = "i686";
  break;
  default:
    $title = "all architectures";
    $arch = "";
}
if ($arch != "") {
  $sarch_param = "?arch=" . urlencode($arch);
  $march_param = "&arch=" . urlencode($arch);
} else {
  $sarch_param = "";
  $march_param = "";
}

?>
<html>
  <head>
    <title>Buildmaster for Archlinux32 packages (<?php print $title; ?>)</title>
  </head>
  <body>
<?php show_warning_on_offline_slave(); ?>
    <a href="/buildmaster/build-list.php<?php print $sarch_param; ?>">build list</a>
    as <a href="/buildmaster/build-list-links.php">graph</a> --
    <a href="/buildmaster/build-list.php?broken=Broken<?php print $march_param; ?>">broken packages</a> --
    <a href="/buildmaster/build-list.php?next=Can<?php print $march_param; ?>">buildable packages</a><br>
    <a href="/buildmaster/build-slaves.php">build-slaves</a> --
    <a href="/buildmaster/gpg-keys.php">gpg-keys</a> --
    <a href="/buildmaster/status.php">status</a><br>
    <a href="https://buildmaster.archlinux32.org/build-logs/">build logs</a> --
    <a href="/buildmaster/log.php?show=ssh">ssh-log</a> --
    <a href="/buildmaster/log.php?show=email">email-log</a><br>
    sanity: of <a href="https://buildmaster.archlinux32.org/master-sanity.html">state files</a>,
    of <a href="https://buildmaster.archlinux32.org/mysql-sanity.html">mysql database</a> and
    <a href="/buildmaster/mysql-issues.php?ignore-i486">broken dependencies in the database</a><br>
    <a href="/buildmaster/todos.php">todos</a>
    as <a href="/buildmaster/todos.php?graph">graph</a><br>
    <a href="https://buildmaster.archlinux32.org/database-layout.png">database layout</a><br>
    <a href="/buildmaster/blacklist.php">blacklisted packages</a> --
    <a href="/buildmaster/to-delete.php">packages to be deleted</a>
    and <a href="/buildmaster/deletion-links.php">links between them</a><br>
    <img src="/buildmaster/statistics.php?log<?php print $march_param; ?>"><br>
<?php

foreach (array("any", "i486", "i686", "") as $a) {
  if ($arch == $a)
    continue;
  print "    <a href=\"?arch=" . $a . "\">";
  switch ($a) {
    case "":
      print "all packages";
    break;
    case "any":
      print "architecture independent packages";
    break;
    default:
      print "packages for " . $a;
  }
  print "</a>\n";
}

?><br>
    <img src="https://buildmaster.archlinux32.org/vnstat.png"><br>
  </body>
</html>