index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | buildmaster/index.php | 48 |
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> |