summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-10 14:27:32 +0200
committerErich Eckner <git@eckner.net>2017-10-10 14:27:32 +0200
commit797d9fe71907e575093a955a3faf3932257c7e8d (patch)
tree3b9dc2c978258e9802fa1e59fe15bf04f5618aec
parent03e7feb9d80474424b5fd3d84b7bfe251e42a766 (diff)
downloadbuilder-797d9fe71907e575093a955a3faf3932257c7e8d.tar.xz
bin/build-master-status: add link to modifications for modified broken packages
-rwxr-xr-xbin/build-master-status3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/build-master-status b/bin/build-master-status
index 72b9f7e..7f0a51b 100755
--- a/bin/build-master-status
+++ b/bin/build-master-status
@@ -359,6 +359,9 @@ if ${web}; then
unset right
fi
printf '<tr>'
+ if git -C "${repo_paths__archlinux32}" archive "${mod_rev}" -- "${repo}/${pkg}/PKGBUILD" > /dev/null 2>&1; then
+ mod_rev="<a href=\"https://github.com/archlinux32/packages/tree/${mod_rev}/${repo}/${pkg}\">${mod_rev}</a>"
+ fi
printf '<td>%s</td>' \
'<a href="graphs/'"${pkg}"'.png">'"${left}${pkg}${right}"'</a>' \
"${rev}" \