From ee8d483a95dd089442f5d151c52ae708b3a2c606 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 18 Jun 2019 13:39:26 +0200 Subject: buildmaster/build-list.php: show column of current blocks --- buildmaster/build-list.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/buildmaster/build-list.php b/buildmaster/build-list.php index 0e178d1..6d42b69 100644 --- a/buildmaster/build-list.php +++ b/buildmaster/build-list.php @@ -111,6 +111,13 @@ $columns = array( "sort" => "deps", "title" => "number of dependencies on the build-list" ), + "blocks" => array( + "label" => "Blocks", + "mysql_name" => "dependending_blocked", + "mysql_query" => "IFNULL(`ba_q`.`currently_blocking`,0)", + "sort" => "blocks", + "title" => "number of dependending build orders on the build-list" + ), "arch" => array( "label" => "Arch", "mysql_name" => "arch", @@ -265,6 +272,7 @@ $result = mysql_run_query( "`build_assignments`.`is_blocked`," . "`build_assignments`.`is_broken`," . "`build_assignments`.`priority`," . + "`build_assignments`.`currently_blocking`," . "`package_sources`.`pkgbase`," . "`package_sources`.`git_revision`," . "`package_sources`.`mod_git_revision`," . -- cgit v1.2.3-70-g09d2