summaryrefslogtreecommitdiff
path: root/buildmaster/index.php
blob: b1e488bf32faf5a5b98d91296b11c9cca75de5ff (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
81
82
83
84
85
86
87
88
89
<?php
require_once "../init.php";
require_once BASE . "/lib/mysql.php";

$archs = array();
if (array_key_exists("arch",$_GET))
  foreach (explode("&",$_SERVER["QUERY_STRING"]) as $param) {
    if (strpos($param,"arch=")!==0)
      continue;
    $param = substr($param,5);
    if ($param == "")
      continue;
    $archs[$param] = $param;
  }
if (count($archs)==0)
  $archs = array(
    "i486" => "i486",
    "i686" => "i686",
    "pentium4" => "pentium4",
    "any" => "any"
  );

function encode_arch($a) {
  return "arch=" . urlencode($a);
}

$sarch_param = implode("&",array_map('encode_arch',$archs));
$march_param = "";
if ($sarch_param != "") {
  $march_param = "&" . $sarch_param;
  $sarch_param = "?" . $sarch_param;
}

?>
<html>
  <head>
    <title>Buildmaster for Archlinux32 packages (<?php print implode(", ",$archs); ?>)</title>
  </head>
  <body>
<?php show_warning_on_offline_slave(); ?>
    <a href="build-list.php<?php print $sarch_param; ?>">build list</a>
    as <a href="build-list-links.php<?php print $sarch_param; ?>">graph</a> --
    <a href="build-list.php?broken=Broken<?php print $march_param; ?>">broken packages</a> --
    <a href="build-list.php?next=Can<?php print $march_param; ?>">buildable packages</a><br>
    <a href="build-slaves.php">build-slaves</a> --
    <a href="gpg-keys.php">gpg-keys</a> --
    <a href="status.php">status</a><br>
    <a href="https://buildmaster.archlinux32.org/build-logs/">build logs</a> --
    <a href="log.php?show=ssh">ssh-log</a> --
    <a href="log.php?show=email">email-log</a> --
    <a href="log.php?show=command">command-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="mysql-issues.php?ignore-i486&ignore-pentium4">broken dependencies in the database</a><br>
    <a href="todos.php">todos</a>
    as <a href="todos.php?graph">graph</a><br>
    <a href="https://buildmaster.archlinux32.org/database-layout.png">database layout</a><br>
    <a href="blacklist.php">blacklisted packages</a> --
    <a href="to-delete.php">packages to be deleted</a>
    and <a href="deletion-links.php">links between them</a><br>
    build master monitoring by
    <a href="https://buildmaster.archlinux32.org/munin/buildmaster/buildmaster/index.html">munin</a>
    and
    <a href="https://buildmaster.archlinux32.org/nagios/">nagios</a><br>
    <img src="statistics.php?log<?php print $march_param; ?>"><br>
    <img src="execution-times.php"><br>
<?php

foreach (array("any", "i486", "i686", "pentium4", "") as $a) {
  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">
    <img src="https://archlinux32.org/static/tinc.png"><br>
    <img src="https://buildmaster.archlinux32.org/key-graph.png">
  </body>
</html>