diff options
-rwxr-xr-x | bin/build-master-status | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/bin/build-master-status b/bin/build-master-status index 4c34f93..080cc15 100755 --- a/bin/build-master-status +++ b/bin/build-master-status @@ -200,10 +200,33 @@ if ${web}; then '<html>' \ '<head>' \ '<title>Status of archlinux32 build master</title>' \ + '<link rel="stylesheet" type="text/css" href="/static/style.css">' \ '</head>' \ '<body>' sed 's|$|<br>|' "${tmp_dir}/build-master-status.html" printf '%s\n' \ + '<br>' \ + 'currently building packages:<br>' \ + '<table>' + printf '<tr>' + printf '<th>%s</th>' \ + 'since (UTC)' \ + 'pkgname' \ + 'git revision' \ + 'modification git revision' \ + 'package repository' \ + 'build slave' + printf '</tr>' + find "${work_dir}/package-states" -maxdepth 1 -name '*.locked' -printf '<tr><td>%TY-%Tm-%Td %TH:%TM</td><td>%f ' -execdir cat {} \; | \ + sed ' + s|$|</td></tr>| + s|\.locked |</td><td>| + s|\.\([^.]\+\)$|</td><td>\1| + s|\.\([^.]\+\)$|</td><td>\1| + s|\.\([^.]\+\)$|</td><td>\1| + ' + printf '%s\n' \ + '</table>' \ '</body>' \ '</html>' ) | \ |