Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/build-master-status
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-master-status')
-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