index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-07-07 13:29:06 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-07-07 13:29:06 +0200 |
commit | 9822e67fd0a66471759aa014019bb32aff8eca25 (patch) | |
tree | 1d874a4f9805f8a0c9b33bf7e3e969fae3b219b6 /bin | |
parent | 1d609e5ab12c45dab202c3e5e65c0fcb82355624 (diff) |
-rwxr-xr-x | bin/build-master-status | 13 |
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 '</tr>\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 '<tr>' printf '<td>%s</td>' \ "${pkg}" \ "${rev}" \ "${mod_rev}" \ "${repo}" \ - "${count}" + "${count}" \ + "${reason}" printf '</tr>\n' done else |