From 620c0608b746aec5ff59ee3dc607c7a5b4e2bd9e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 5 Jul 2017 14:39:50 +0200 Subject: bin/build-master-status: add blocked and locked packages to statistics --- bin/build-master-status | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/build-master-status b/bin/build-master-status index 7827ab5..611bc6c 100755 --- a/bin/build-master-status +++ b/bin/build-master-status @@ -131,6 +131,14 @@ broken="$( ls "${work_dir}/package-states/" | \ grep -c '\.broken$' )" || true +blocked="$( + ls "${work_dir}/package-states/" | \ + grep -c '\.blocked$' + )" || true +locked="$( + ls "${work_dir}/package-states/" | \ + grep -c '\.locked$' + )" || true loops="$( ls "${work_dir}/build-list.loops" | \ grep -c '^loop_[0-9]\+$' @@ -206,7 +214,9 @@ if [ -n "${statistics_output}" ]; then "${testing}" \ "${broken}" \ "${loops}" \ - "${looped_packages}" | \ + "${looped_packages}" \ + "${locked}" \ + "${blocked}" | \ sed 's| $|\n|' ) | \ tail -n 10080 | \ -- cgit v1.2.3-70-g09d2