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-06-20 14:47:30 +0200
committerErich Eckner <git@eckner.net>2017-06-20 14:47:30 +0200
commit874574da0c90c03afebe7f10fd8550d6e4f1b143 (patch)
treef75128cf0ef133b4642f9b2c8362170ced11fef9
parent2625a975200289d3705475ccdfa6d87882b4b971 (diff)
bin/build-master-status: report count of package builds for broken packages
-rwxr-xr-xbin/build-master-status9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/build-master-status b/bin/build-master-status
index 54bf3de..50b9af4 100755
--- a/bin/build-master-status
+++ b/bin/build-master-status
@@ -186,7 +186,7 @@ fi
if [ -n "${broken_output}" ]; then
if ${nice}; then
- printf '<html>\n<body>\n<table>\n<tr><th>package</th><th>git revision</th><th>modification git revision</th><th>package repository</th></tr>\n' > \
+ printf '<html>\n<body>\n<table>\n<tr><th>package</th><th>git revision</th><th>modification git revision</th><th>package repository</th><th>compilations</th></tr>\n' > \
"${broken_output}"
else
: > "${broken_output}"
@@ -195,7 +195,12 @@ if [ -n "${broken_output}" ]; then
grep '\.broken$' | \
sed 's|\.broken$||' | \
if ${nice}; then
- sed 's|^\(.\+\)\.\([^.]\+\)\.\([^.]\+\)\.\([^.]\+\)$|<tr><td>\1</td><td>\2</td><td>\3</td><td>\4</td></tr>|'
+ sed 's|^\(\(.\+\)\.\([^.]\+\)\.\([^.]\+\)\.\([^.]\+\)\)$|\1 \2 \3 \4 \5|' | \
+ while read -r sf pkg rev mod_rev repo; do
+ printf '<tr>'
+ printf '<td>%s</td>' "${pkg}" "${rev}" "${mod_rev}" "${repo}" "$(wc -l < "${work_dir}/package-states/${sf}.broken")"
+ printf '</tr>\n'
+ done
else
cat
fi >> \