Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/buildmaster
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-30 13:22:15 +0100
committerErich Eckner <git@eckner.net>2018-11-30 13:22:15 +0100
commit175ce5e77cbf53278b67c7c49230a77e232046d1 (patch)
tree4542b24e4b3fc7c6549e9d3b66c77636b19fa0ac /buildmaster
parentfa837467a0a87c20de069e55850ef48bff53a114 (diff)
buildmaster/index.php: arch switch for statistics new
Diffstat (limited to 'buildmaster')
-rw-r--r--buildmaster/index.php48
1 files changed, 46 insertions, 2 deletions
diff --git a/buildmaster/index.php b/buildmaster/index.php
index 2513926..57e3e0f 100644
--- a/buildmaster/index.php
+++ b/buildmaster/index.php
@@ -2,10 +2,29 @@
require_once "../init.php";
require_once BASE . "/lib/mysql.php";
+$arch = "";
+if (array_key_exists("arch",$_GET)) {
+ $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 = "";
+ }
+}
+
?>
<html>
<head>
- <title>Archlinux32 packages</title>
+ <title>Buildmaster for Archlinux32 packages (<?php print $title; ?>)</title>
</head>
<body>
<?php show_warning_on_offline_slave(); ?>
@@ -17,8 +36,12 @@ require_once BASE . "/lib/mysql.php";
<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="https://buildmaster.archlinux32.org/namcap-outputs.html">namcap diffs</a> --
+ <a href="https://buildmaster.archlinux32.org/text-relocations-packages.html">text-relocations</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>
@@ -26,6 +49,27 @@ require_once BASE . "/lib/mysql.php";
<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"><br>
+ <img src="/buildmaster/statistics.php?log<?php if ($arch != "") print "&arch=" . urlencode($_GET["arch"]); ?>"><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>