Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/buildmaster/to-delete.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-13 10:39:08 +0100
committerErich Eckner <git@eckner.net>2020-01-13 10:39:08 +0100
commitd10f7d21b259b01081dcca969f7768fe86c07554 (patch)
treea0c805bab4492d12c9198fe47caa1f13a87938b9 /buildmaster/to-delete.php
parent46eecf2009cc81c9bbe42b4fbfbde527ad8e96d1 (diff)
buildmaster/to-delete.php: include architecture of repository in output
Diffstat (limited to 'buildmaster/to-delete.php')
-rw-r--r--buildmaster/to-delete.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildmaster/to-delete.php b/buildmaster/to-delete.php
index f287ce5..394ff6b 100644
--- a/buildmaster/to-delete.php
+++ b/buildmaster/to-delete.php
@@ -7,6 +7,7 @@ abort_iff_webspider();
$result = mysql_run_query(
"SELECT " .
+ "`r_a`.`name` AS `repo_arch`," .
"`repositories`.`name` AS `repo`," .
"`binary_packages`.`pkgname`," .
"`binary_packages`.`epoch`," .
@@ -19,6 +20,7 @@ abort_iff_webspider();
mysql_join_binary_packages_architectures() .
mysql_join_binary_packages_binary_packages_in_repositories() .
mysql_join_binary_packages_in_repositories_repositories() .
+ mysql_join_repositories_architectures('', 'r_a') .
" LEFT JOIN `upstream_packages`" .
" ON `upstream_packages`.`pkgname`=`binary_packages`.`pkgname`" .
" WHERE `binary_packages_in_repositories`.`is_to_be_deleted`" .
@@ -50,6 +52,7 @@ if ($result -> num_rows > 0) {
$rows[$count] =
"<font color=\"" . $color . "\">" .
+ $row["repo_arch"] . "/" .
$row["repo"] . "/" .
$row["pkgname"] . "-";
if ($row["epoch"] != "0")