index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-01-25 14:02:49 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-01-25 14:02:49 +0100 |
commit | 3658074d4134c1ab5204704a0c2900c272bea7f9 (patch) | |
tree | 279f4e89775fbc80f66bc243b118eb7235d0615d /web-scripts | |
parent | 72bc0636528e27b4e60c4274e03820a84d2954a2 (diff) |
-rw-r--r-- | web-scripts/broken-packages.php | 8 |
diff --git a/web-scripts/broken-packages.php b/web-scripts/broken-packages.php index 5351bcc..515ec22 100644 --- a/web-scripts/broken-packages.php +++ b/web-scripts/broken-packages.php @@ -27,7 +27,7 @@ $result = $mysql -> query( "JOIN `binary_packages` `to_be_built` ON `to_be_built`.`id` = `install_target_providers`.`package` " . "JOIN `repositories` ON `to_be_built`.`repository` = `repositories`.`id` " . "WHERE `broken_bin`.`build_assignment`=`build_assignments`.`id` ". - "AND `repositories`.`name`=\"community-testing\"" . + "AND `repositories`.`name`=\"build-list\"" . ") AS `dependencies_pending`," . "(SELECT count(*) " . "FROM `build_dependency_loops` " . @@ -85,10 +85,10 @@ foreach ($row as $key => $val) $rows[$count]["loops"] = $row["loops"]; $rows[$count]["pkgbase"] = $row["pkgbase"]; - if ($row["dependencies_pending"]=="1") - $rows[$count]["pkgbase_print"] = "(" . $rows[$count]["pkgbase"] . ")"; - else + if ($row["dependencies_pending"]=="0") $rows[$count]["pkgbase_print"] = $rows[$count]["pkgbase"]; + else + $rows[$count]["pkgbase_print"] = "(" . $rows[$count]["pkgbase"] . ")"; $rows[$count]["git_revision"] = $row["git_revision"]; $rows[$count]["mod_git_revision"] = $row["mod_git_revision"]; $rows[$count]["name"] = $row["name"]; |