index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-10-06 14:00:05 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-10-06 14:00:05 +0200 |
commit | 6f5abf1b9c394117c933ef8000a7a01299e0b981 (patch) | |
tree | c780229a414784306a1f125583fe8f02078f4e7c /bin/build-master-status | |
parent | ea10fdd184195317fe6716a8db0c0a11bcfae5e4 (diff) |
-rwxr-xr-x | bin/build-master-status | 20 |
diff --git a/bin/build-master-status b/bin/build-master-status index 4a01565..fd78adc 100755 --- a/bin/build-master-status +++ b/bin/build-master-status @@ -419,14 +419,30 @@ if ${web}; then '<html>' \ '<head>' \ '<title>Blacklisted packages</title>' \ + '<link rel="stylesheet" type="text/css" href="/static/style.css">' \ '</head>' \ - '<body>' + '<body>' \ + '<table>' + printf '<tr>' + printf '<th>%s</th>' \ + 'package' \ + 'reason' + printf '</tr>\n' git -C "${repo_paths__archlinux32}" archive "$(cat "${work_dir}/archlinux32.revision")" -- 'blacklist' | \ tar -Ox | \ sed ' - s|$|<br>| + /.#/!s/$/#/ + s|\(.\)#|\1</td><td>| + /^\s*#/{ + s/^\s*#\s*// + s|\s*\(</td><td>\)|</font>\1| + s/^/<font color="#808080">/ + } + s|^|<tr><td>| + s|$|</td></tr>| ' printf '%s\n' \ + '</table>' \ '</body>' \ '</html>' } > \ |