diff options
author | Erich Eckner <git@eckner.net> | 2017-07-05 14:39:50 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-07-05 14:39:50 +0200 |
commit | 620c0608b746aec5ff59ee3dc607c7a5b4e2bd9e (patch) | |
tree | 97f7651fe5891d26ed2fc5d0657078e2ed676790 | |
parent | b3c443f179afb0c5aa5c10788904c5e727bbfe59 (diff) | |
download | builder-620c0608b746aec5ff59ee3dc607c7a5b4e2bd9e.tar.xz |
bin/build-master-status: add blocked and locked packages to statistics
-rwxr-xr-x | bin/build-master-status | 12 |
1 files changed, 11 insertions, 1 deletions
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 | \ |