Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-07-07 13:29:06 +0200
committerErich Eckner <git@eckner.net>2017-07-07 13:29:06 +0200
commit9822e67fd0a66471759aa014019bb32aff8eca25 (patch)
tree1d874a4f9805f8a0c9b33bf7e3e969fae3b219b6
parent1d609e5ab12c45dab202c3e5e65c0fcb82355624 (diff)
bin/build-master-status: give reason for blocking
-rwxr-xr-xbin/build-master-status13
1 files 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 '</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 '&nbsp;'
+ 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