index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | buildmaster/index.php | 11 | ||||
-rw-r--r-- | buildmaster/mysql-issues.php | 3 | ||||
-rw-r--r-- | packages/differences.php | 3 | ||||
-rw-r--r-- | packages/pkginfo.php | 2 |
diff --git a/buildmaster/index.php b/buildmaster/index.php index 1200e8e..4617103 100644 --- a/buildmaster/index.php +++ b/buildmaster/index.php @@ -13,7 +13,12 @@ if (array_key_exists("arch",$_GET)) { $archs[$param] = $param; } if (count($archs)==0) { - $archs = array("i486" => "i486", "i686" => "i686", "any" => "any"); + $archs = array( + "i486" => "i486", + "i686" => "i686", + "pentium4" => "pentium4", + "any" => "any" + ); } } else { $archs = array("i686" => "i686", "any" => "any"); @@ -49,7 +54,7 @@ if ($sarch_param != "") { <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">broken dependencies in the database</a><br> + <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> @@ -59,7 +64,7 @@ if ($sarch_param != "") { <img src="statistics.php?log<?php print $march_param; ?>"><br> <?php -foreach (array("any", "i486", "i686", "") as $a) { +foreach (array("any", "i486", "i686", "pentium4", "") as $a) { print " <a href=\"?arch=" . $a . "\">"; switch ($a) { case "": diff --git a/buildmaster/mysql-issues.php b/buildmaster/mysql-issues.php index 7fa7514..f84d9f5 100644 --- a/buildmaster/mysql-issues.php +++ b/buildmaster/mysql-issues.php @@ -10,6 +10,9 @@ require_once BASE . "/lib/mysql.php"; if (array_key_exists("ignore-i486", $_GET)) $ignore .= " AND `r_a`.`name` != \"i486\""; + if (array_key_exists("ignore-pentium4", $_GET)) + $ignore .= " AND `r_a`.`name` != \"pentium4\""; + ob_start(); ?> diff --git a/packages/differences.php b/packages/differences.php index f04ea67..0673715 100644 --- a/packages/differences.php +++ b/packages/differences.php @@ -56,6 +56,9 @@ function check_a_older_than_b($a_v, $a_bp, $b_v, $b_bp) { ')'; } +# TODO: should have a separate column for pentium4 - maybe it makes sense +# to make this filterable to only compare two architectures! + $result = mysql_run_query( 'SELECT ' . '`bp_i486`.`pkgname`,' . diff --git a/packages/pkginfo.php b/packages/pkginfo.php index 86f7100..5d93db9 100644 --- a/packages/pkginfo.php +++ b/packages/pkginfo.php @@ -16,7 +16,7 @@ if (!array_key_exists('repo_arch', $_GET)) { unset($_GET['arch']); } -if (($_GET['repo']=='i686') || ($_GET['repo']=='i486') || ($_GET['repo']=='any')) { +if (($_GET['repo']=='i686') || ($_GET['repo']=='i486') || ($_GET['repo']=='pentium4') || ($_GET['repo']=='any')) { header('Location: ' . $uri_prefix . $_GET['repo'] . '/' . $_GET['repo_arch'] . '/' . $_GET['pkgname'] . '/'); die(); } |