index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-09-05 15:12:19 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-09-05 15:12:19 +0200 |
commit | 15195bc33f0e72d231afa95c06e0aec7a384d6a6 (patch) | |
tree | df07bfe6f1789124316d9363c97512564b942bec | |
parent | ab3dd8fcfe75d8df0c357a26ca748318db6b1462 (diff) |
-rwxr-xr-x | bin/build-master-status | 23 |
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>' ) | \ |