From d10f7d21b259b01081dcca969f7768fe86c07554 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 13 Jan 2020 10:39:08 +0100 Subject: buildmaster/to-delete.php: include architecture of repository in output --- buildmaster/to-delete.php | 3 +++ 1 file changed, 3 insertions(+) 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] = "" . + $row["repo_arch"] . "/" . $row["repo"] . "/" . $row["pkgname"] . "-"; if ($row["epoch"] != "0") -- cgit v1.2.3-70-g09d2