From 175ce5e77cbf53278b67c7c49230a77e232046d1 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 30 Nov 2018 13:22:15 +0100 Subject: buildmaster/index.php: arch switch for statistics new --- buildmaster/index.php | 48 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 46 insertions(+), 2 deletions(-) (limited to 'buildmaster') 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 = ""; + } +} + ?> - Archlinux32 packages + Buildmaster for Archlinux32 packages (<?php print $title; ?>) @@ -17,8 +36,12 @@ require_once BASE . "/lib/mysql.php"; gpg-keys -- status
build logs -- + namcap diffs -- + text-relocations -- ssh-log -- email-log
+ sanity: of state files, + of mysql database and broken dependencies in the database
todos as graph
@@ -26,6 +49,27 @@ require_once BASE . "/lib/mysql.php"; blacklisted packages -- packages to be deleted and links between them
-
+ ">
+"; + switch ($a) { + case "": + print "all packages"; + break; + case "any": + print "architecture independent packages"; + break; + default: + print "packages for " . $a; + } + print "\n"; +} + +?>
+
-- cgit v1.2.3-70-g09d2