From a853575b0532916f8633ad90b58e792aa45a9e70 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 12 Apr 2019 14:11:21 +0200 Subject: pentium4 new --- buildmaster/index.php | 11 ++++++++--- buildmaster/mysql-issues.php | 3 +++ packages/differences.php | 3 +++ packages/pkginfo.php | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) 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 != "") { email-log
sanity: of state files, of mysql database and - broken dependencies in the database
+ broken dependencies in the database
todos as graph
database layout
@@ -59,7 +64,7 @@ if ($sarch_param != "") {
"; 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(); } -- cgit v1.2.3