summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-13 11:38:10 +0200
committerErich Eckner <git@eckner.net>2019-09-13 11:38:10 +0200
commitfe3490d2fe32e75d0d842168fc7468a6eda9b10c (patch)
tree4e6e59f17db4ca84af8d1e78512f3ad2d67ccef0
parent5c39dfdbcb51805b8a261b2b78786fad3295cfd0 (diff)
downloadarchweb32-fe3490d2fe32e75d0d842168fc7468a6eda9b10c.tar.xz
buildmaster/build-list.php: display upstream_flag_date, too
-rw-r--r--buildmaster/build-list.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/buildmaster/build-list.php b/buildmaster/build-list.php
index 96d2dac..8e48c17 100644
--- a/buildmaster/build-list.php
+++ b/buildmaster/build-list.php
@@ -239,6 +239,13 @@ $columns = array(
"sort" => "blocked",
"title" => "block reason"
),
+ "upstream_flag_date" => array(
+ "label" => "Upstream Flag Date",
+ "mysql_name" => "upstream_flag_date",
+ "mysql_query" => "IF(`ba_q`.`upstream_flag_date`=\"0000-00-00 00:00:00\",NULL,`ba_q`.`upstream_flag_date`)",
+ "sort" => "blocked",
+ "title" => "block reason"
+ ),
"build_slave" => array(
"label" => "Build Slave",
"mysql_name" => "build_slave",
@@ -283,6 +290,7 @@ mysql_run_query(
'`uses_upstream` BIT,' .
'`uses_modification` BIT,' .
'`commit_time` TIMESTAMP,' .
+ '`upstream_flag_date` TIMESTAMP,' .
'`package_repository` VARCHAR(64),' .
'`git_repository` VARCHAR(64),' .
'`arch` VARCHAR(16),' .
@@ -304,6 +312,7 @@ mysql_run_query(
'`package_sources`.`uses_upstream`,' .
'`package_sources`.`uses_modification`,' .
'`package_sources`.`commit_time`,' .
+ '`package_sources`.`upstream_flag_date`,' .
'`upstream_repositories`.`name`,' .
'`git_repositories`.`name`,' .
'`architectures`.`name`' .