view recipes/gnupg/pkits.html @ 258:bb98e728f25b

Allow default values for individual options to be passed to read_config_section. The default value can now be passed as a third item in a tuple used in the section description passed to read_config_section. The predefined option descriptions have been updated to use this new mechanism and the global defaults variable is not needed anymore. Also, indivdual PackageTrack classes can now use this mechanism to specify defaults for their additional configuration options.
author Bernhard Herzog <bh@intevation.de>
date Fri, 17 Apr 2009 18:48:58 +0000
parents 27e78096a3fe
children
line wrap: on
line source
<html xmlns:py="http://genshi.edgewall.org/">
  <head>
    <title>PKITS Log for GnuPG2 rev. ${pkits.revision}</title>
    <style type="text/css">
      .statustable { background:#F4F4F4; }
      .statustablehead { background:#E0E0E0; }
      .statusheading { font-weight:bold; }
      .PASS { background:#C0FFC0; }
      .SKIP { background:#FFFFC0; }
      .FAIL { background:#FFC0C0; }
      .UNRESOLVED { background:#D0D0D0 }
      .unknown { background:#FFFFFF }
      tr { background:#FFFFFF; }
      td { padding:5px; }
    </style>
  </head>
  <body>
    <H1>PKITS Log for GnuPG2 rev. ${pkits.revision}</H1>
    <table class="statustable">
      <tr>
	<th class="statustablehead">Test ID</th>
	<th class="statustablehead">Status</th>
	<th class="statustablehead">Details</th>
      </tr>
      <py:for each="line in pkits.lines">
	<py:with vars="testid, status, details = line.split(None, 2)">
	  <tr class="${status in ['PASS', 'SKIP', 'FAIL', 'UNRESOLVED']
                       and status or 'unknown'}">
	    <td>${testid}</td>
	    <td>${status}</td>
	    <td>${details}</td>
	  </tr>
	</py:with>
      </py:for>
    </table>
  </body>
</html>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)