summaryrefslogtreecommitdiff
path: root/bin/build-master-status
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-06 13:02:19 +0200
committerErich Eckner <git@eckner.net>2017-10-06 13:02:19 +0200
commitd7cfb0842f571ab160f7a0794164733a5145c050 (patch)
treeb4c8e33b38afd8d7af3894a6dd639e9e5dfba38c /bin/build-master-status
parentb31a574876c15b1607eecf18992c7e7279a0a1f2 (diff)
downloadbuilder-d7cfb0842f571ab160f7a0794164733a5145c050.tar.xz
bin/build-master-status: blacklisted.html new
Diffstat (limited to 'bin/build-master-status')
-rwxr-xr-xbin/build-master-status18
1 files changed, 18 insertions, 0 deletions
diff --git a/bin/build-master-status b/bin/build-master-status
index 50f86a5..4a01565 100755
--- a/bin/build-master-status
+++ b/bin/build-master-status
@@ -414,6 +414,24 @@ if ${web}; then
} > \
"${tmp_dir}/todos.html"
+ {
+ printf '%s\n' \
+ '<html>' \
+ '<head>' \
+ '<title>Blacklisted packages</title>' \
+ '</head>' \
+ '<body>'
+ git -C "${repo_paths__archlinux32}" archive "$(cat "${work_dir}/archlinux32.revision")" -- 'blacklist' | \
+ tar -Ox | \
+ sed '
+ s|$|<br>|
+ '
+ printf '%s\n' \
+ '</body>' \
+ '</html>'
+ } > \
+ "${tmp_dir}/blacklist.html"
+
find "${tmp_dir}" -maxdepth 1 -type f | \
while read -r file; do
cat "${file}" > \