Mercurial > treepkg
annotate recipes/gnupg/pkits.html @ 274:2676abfc0e1d
Refactoring: Implement do_package in treepkg.packager.SourcePackager.
The actual implementation in the derived classes is almost identical in
all cases so it's better to have as much of the implementation in the
base class. The update_version_numbers method is not called directly by
the base class code so is removed from the base class. OTOH,
prepare_sources_for_tarball has been added as a more general variant of
update_version_numbers that is actually called by the default
implementation of do_package.
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Thu, 07 May 2009 15:19:15 +0000 |
parents | 27e78096a3fe |
children |
rev | line source |
---|---|
156
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
1 <html xmlns:py="http://genshi.edgewall.org/"> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
2 <head> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
3 <title>PKITS Log for GnuPG2 rev. ${pkits.revision}</title> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
4 <style type="text/css"> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
5 .statustable { background:#F4F4F4; } |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
6 .statustablehead { background:#E0E0E0; } |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
7 .statusheading { font-weight:bold; } |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
8 .PASS { background:#C0FFC0; } |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
9 .SKIP { background:#FFFFC0; } |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
10 .FAIL { background:#FFC0C0; } |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
11 .UNRESOLVED { background:#D0D0D0 } |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
12 .unknown { background:#FFFFFF } |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
13 tr { background:#FFFFFF; } |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
14 td { padding:5px; } |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
15 </style> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
16 </head> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
17 <body> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
18 <H1>PKITS Log for GnuPG2 rev. ${pkits.revision}</H1> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
19 <table class="statustable"> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
20 <tr> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
21 <th class="statustablehead">Test ID</th> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
22 <th class="statustablehead">Status</th> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
23 <th class="statustablehead">Details</th> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
24 </tr> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
25 <py:for each="line in pkits.lines"> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
26 <py:with vars="testid, status, details = line.split(None, 2)"> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
27 <tr class="${status in ['PASS', 'SKIP', 'FAIL', 'UNRESOLVED'] |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
28 and status or 'unknown'}"> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
29 <td>${testid}</td> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
30 <td>${status}</td> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
31 <td>${details}</td> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
32 </tr> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
33 </py:with> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
34 </py:for> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
35 </table> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
36 </body> |
27e78096a3fe
gnupg2 recipe: format the PKITS log as a HTML table
Bernhard Herzog <bh@intevation.de>
parents:
diff
changeset
|
37 </html> |