Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/buildmaster/index.php
blob: e6c2145f34db8c929e46f2505ae4400f56f297d7 (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
<?php
require_once "../init.php";
require_once BASE . "/lib/mysql.php";

if (array_key_exists("arch",$_GET)) {
  $archs = array();
  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"
    );
  }
} else {
  $archs = array("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><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>
    <img src="statistics.php?log<?php print $march_param; ?>"><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"><br>
  </body>
</html>