annotate web/status-by-startdate.html @ 310:26c15a0f0e52

When stopping because of an error, do not raise the exception again as it leads to confusing double tracebacks in the log. Instead, simply log the reason for the stopping and stop in the same way a stop instruction is handled.
author Bernhard Herzog <bh@intevation.de>
date Wed, 02 Dec 2009 14:46:37 +0000
parents 9d8de2984de1
children
rev   line source
153
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
1 <html xmlns:py="http://genshi.edgewall.org/">
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
2 <head>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
3 <title>Tree Packager Status</title>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
4 <style type="text/css">
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
5 .statustable { background:#F4F4F4; }
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
6 .statustablehead { background:#E0E0E0; }
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
7 .statusheading { font-weight:bold; }
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
8 .finished { background:#C0FFC0; }
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
9 .inprogress { background:#FFFFC0; }
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
10 .error { background:#FFC0C0; }
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
11 .date_row {
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
12 background:#F0F0F0;
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
13 font-weight:bold; font-size:smaller;
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
14 text-align:center;
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
15 }
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
16 tr { background:#FFFFFF; }
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
17 td { padding:5px; }
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
18 </style>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
19 </head>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
20 <body>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
21 <h1>Tree Packager Status</h1>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
22
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
23 <table class="statustable">
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
24 <tr>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
25 <th class="statustablehead">Status</th>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
26 <th class="statustablehead">Package</th>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
27 <th class="statustablehead">Revision</th>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
28 <th class="statustablehead">Start</th>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
29 <th class="statustablehead">Stop</th>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
30 <th class="statustablehead">Notes</th>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
31 </tr>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
32
288
9d8de2984de1 Make the web status templates work with newer versions of genshi, like
Bernhard Herzog <bh@intevation.de>
parents: 239
diff changeset
33 <py:for each="row in report.revisions.sorted_by_startdate()">
153
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
34 <py:with vars="item=row[1]">
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
35 <py:if test="item.new_date">
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
36 <tr class="date_row"><td colspan="6">${item.new_date}</td></tr>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
37 </py:if>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
38 <tr class="${item.status.cls}">
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
39 <td>${item.status.desc}</td>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
40 <td style="font-weight:bold;">${item.name}</td>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
41 <td align="right">${item.revno}</td>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
42 <td>${item.status.start}</td>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
43 <td>${item.status.stop}</td>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
44 <td>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
45 <py:for each="title, basename in item.log_files">
239
99be67db8a12 Add the rules revision number to the filenames used by the web status
Bernhard Herzog <bh@intevation.de>
parents: 153
diff changeset
46 <a href="${item.name}/${item.revno}-${item.rulesrev}/${basename}">${title}</a>
153
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
47 </py:for>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
48 </td>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
49 </tr>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
50 </py:with>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
51 </py:for>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
52 </table>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
53
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
54 <hr/>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
55 report generated at ${report.date},
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
56 powered by <a href="http://treepkg.wald.intevation.org/">Tree Packager</a>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
57
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
58 </body>
e5f3f61c0620 New alternative template for the status page. This one sorts by
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
59 </html>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)