summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-08-24 09:47:45 +0200
committerErich Eckner <git@eckner.net>2017-08-24 09:47:45 +0200
commitfbd125c82e6412a561cc6370f281cbc51b0db0c8 (patch)
treed3803206c69d5b135bedaee3d82bb12e60fc33c9
parent5a5d9d27837dc695645aecebb25ce2080f520d7e (diff)
downloadbuilder-fbd125c82e6412a561cc6370f281cbc51b0db0c8.tar.xz
bin/build-master-status: make link to dependency graph for blocked packages
-rwxr-xr-xbin/build-master-status5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/build-master-status b/bin/build-master-status
index 34d3084..f99f999 100755
--- a/bin/build-master-status
+++ b/bin/build-master-status
@@ -266,7 +266,10 @@ if ${web}; then
)"
if [ -f "${work_dir}/package-states/${sf}.blocked" ]; then
tr '\n' ' ' < "${work_dir}/package-states/${sf}.blocked" | \
- sed 's|FS#\([0-9]\+\)|<a href="https://bugs.archlinux.org/task/\1">FS#\1</a>|'
+ sed '
+ s|FS#\([0-9]\+\)|<a href="https://bugs.archlinux.org/task/\1">FS#\1</a>|
+ /FS#[0-9]\+/!s|^\(wait for \)\(\S\+\) $|\1<a href="graphs/\2.png">\2</a> |
+ '
else
printf '&nbsp;'
fi