From 9822e67fd0a66471759aa014019bb32aff8eca25 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 7 Jul 2017 13:29:06 +0200 Subject: bin/build-master-status: give reason for blocking --- bin/build-master-status | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/bin/build-master-status b/bin/build-master-status index 611bc6c..14939ba 100755 --- a/bin/build-master-status +++ b/bin/build-master-status @@ -232,7 +232,8 @@ if [ -n "${broken_output}" ]; then 'git revision' \ 'modification git revision' \ 'package repository' \ - 'compilations' + 'compilations' \ + 'blocked' printf '\n' fi ls "${work_dir}/package-states" | \ @@ -247,17 +248,23 @@ if [ -n "${broken_output}" ]; then "${mod_rev}" \ "${repo}" \ "$(wc -l < "${work_dir}/package-states/${sf}.broken")" + if [ -f "${work_dir}/package-states/${sf}.blocked" ]; then + tr '\n' ' ' < "${work_dir}/package-states/${sf}.blocked" + else + printf ' ' + fi printf '\n' done | \ sort -k5n,5 | \ - while read -r pkg rev mod_rev repo count; do + while read -r pkg rev mod_rev repo count reason; do printf '' printf '%s' \ "${pkg}" \ "${rev}" \ "${mod_rev}" \ "${repo}" \ - "${count}" + "${count}" \ + "${reason}" printf '\n' done else -- cgit v1.2.3-70-g09d2