From f0c0454a6ad998bc994d8fdaa0be47944fbed4b7 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 23 Jan 2018 09:30:41 +0100 Subject: bin/build-master-status-from-mysql: remove obsolete output --- bin/build-master-status-from-mysql | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'bin/build-master-status-from-mysql') diff --git a/bin/build-master-status-from-mysql b/bin/build-master-status-from-mysql index 2ed9a24..a0c2b4f 100755 --- a/bin/build-master-status-from-mysql +++ b/bin/build-master-status-from-mysql @@ -5,33 +5,6 @@ # shellcheck source=conf/default.conf . "${0%/*}/../conf/default.conf" -# shellcheck disable=SC2016 -{ - printf 'SELECT `build_slaves`.`name`,`build_slaves`.`operator`,`package_sources`.`pkgbase`,`build_slaves`.`last_connection`' - printf ' FROM `build_slaves`' - printf ' LEFT JOIN `build_assignments` ON' - printf ' `build_slaves`.`currently_building`=`build_assignments`.`id`' - printf ' LEFT JOIN `package_sources` ON' - printf ' `build_assignments`.`package_source`=`package_sources`.`id`' - printf ' ORDER BY `build_slaves`.`last_connection`' -} | \ - ${mysql_command} --html | \ - sed ' - s,,\0\n,g - ' | \ - sed ' - \,$, { - s,pkgbase,currently building, - y,_, , - } - \,$, ! { - s,NULL,\ , - } - 1 i list of build slaves - $ a - ' | \ - sponge "${webserver_directory}/build-slaves.html" - { mysql_sanity_check || true { -- cgit v1.2.3-70-g09d2