[Piuparts-commits] rev 367 - piatti/org/piuparts.debian.org/htdocs piatti/org/piuparts.debian.org/htdocs/images trunk

Holger Levsen holger at alioth.debian.org
Mon Apr 20 10:11:35 UTC 2009


Author: holger
Date: 2009-04-20 10:11:34 +0000 (Mon, 20 Apr 2009)
New Revision: 367

Removed:
   piatti/org/piuparts.debian.org/htdocs/images/red-lowerleft.png
   piatti/org/piuparts.debian.org/htdocs/images/red-lowerright.png
   piatti/org/piuparts.debian.org/htdocs/images/red-upperleft.png
   piatti/org/piuparts.debian.org/htdocs/images/red-upperright.png
Modified:
   piatti/org/piuparts.debian.org/htdocs/style.css
   trunk/TODO
   trunk/piuparts-report.py
Log:
make pusling happy: less red, no yellow, more blue.

Modified: piatti/org/piuparts.debian.org/htdocs/style.css
===================================================================
--- piatti/org/piuparts.debian.org/htdocs/style.css	2009-04-19 23:39:21 UTC (rev 366)
+++ piatti/org/piuparts.debian.org/htdocs/style.css	2009-04-20 10:11:34 UTC (rev 367)
@@ -48,28 +48,19 @@
  background-color: white;
 }
 
-table.reddy
+#obeytoyourfriend
 {
  color: #000;
- background-color: #000;
+ background-color: white;
  border: 0px solid #000;
  border-collapse: collapse;
  margin-top: 0px;
  margin-bottom: 5px;
  padding-top: 0px;
-}
-
-td.reddy {
+ padding-left: 15px;
  font-family: serif;
- font-size: 24px;
- font-weight: normal;
- background-color: #d70751;
- color: #FFFF00;
- border: 0px solid #d70751;
- vertical-align: middle;
- text-align: center;
- padding: 0px;
- margin: 0px;
+ font-variant:small-caps;
+ font-size: 140%;
 }
 
 p.validate {
@@ -252,9 +243,18 @@
     text-align: center;
     padding: 4px;
 }
+td.bluetitlecell { 
+    color: white; 
+    background-color: #0755d7;
+    border: 2px solid black;
+    font-weight: bold; 
+    text-align: center;
+    padding: 4px;
+}
 td.labelcell {
     border: 1px solid black;
     padding: 2px;
+    font-style: bold;
 }
 td.contentcell {
     text-align: center;
@@ -266,3 +266,5 @@
     padding: 2px;
     border: 1px solid black;
 }
+
+    

Modified: trunk/TODO
===================================================================
--- trunk/TODO	2009-04-19 23:39:21 UTC (rev 366)
+++ trunk/TODO	2009-04-20 10:11:34 UTC (rev 367)
@@ -35,15 +35,21 @@
 
 - report: 
  - write stats about the reasons for failures:
-  - installation hangs and uses all cpu when installing with DEBIAN_FRONTEND="noninteractive"
+  - installation hangs and uses all cpu when installing with 
+    DEBIAN_FRONTEND="noninteractive"
   - owned and unowned files after purge (policy 6.8 + 10.7.3)
   - prompts without using debconf (#206684 is pending, will be in policy 3.8.2)
   - left-over processes (10.7.3)
-  - "E: Broken packages" - often indicates a problem with the archive at the time of testing, not with the package being tested
+  - "E: Broken packages" - often indicates a problem with the archive at the
+    time of testing, not with the package being tested
+  - "/var/lib/dpkg/info/.*.postinst: .* command not found" - missing depends
+  - "/var/lib/dpkg/info/.*.postrm: .* command not found" - missing depends or
+    using non-essential packages in purge
   - unclassified
- - write stats for total number of logs (when a package has more than a log in fail/ or bugged/)
- - include links to http://qa.debian.org/developer.php?login=$maintainer_email or probably
-   better: create maintainer centric pages.
+ - write stats for total number of logs (when a package has more than a log 
+   in fail/ or bugged/)
+ - include links to http://qa.debian.org/developer.php?login=$maintainer_email 
+   or probably better: create maintainer centric pages.
  - RSS feeds of logs
 
 - expire old logs a month after testing if newer logs exists (except if the new log is fail

Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py	2009-04-19 23:39:21 UTC (rev 366)
+++ trunk/piuparts-report.py	2009-04-20 10:11:34 UTC (rev 367)
@@ -55,25 +55,7 @@
      <img src="http://piuparts.debian.org/images/debian.png" border="0" hspace="0" vspace="0" alt="Debian Project"></a>
     Quality Assurance
    </h1>
-  <table class="reddy">
-   <tr>
-    <td class="reddy">
-     <img src="http://piuparts.debian.org/images/red-upperleft.png" align="left" border="0" hspace="0" vspace="0"
-      alt="" width="15" height="16"></td>
-    <td rowspan="2" class="reddy">Policy is your friend. Trust the Policy. Love the Policy. Obey the Policy.</td>
-    <td class="reddy">
-     <img src="http://piuparts.debian.org/images/red-upperright.png" align="right" border="0" hspace="0" vspace="0"
-     alt="" width="16" height="16"></td>
-   </tr>
-   <tr>
-    <td class="reddy">
-     <img src="http://piuparts.debian.org/images/red-lowerleft.png" align="left" border="0" hspace="0" vspace="0"
-      alt="" width="16" height="16"></td>
-    <td class="reddy">
-     <img src="http://piuparts.debian.org/images/red-lowerright.png" align="right" border="0" hspace="0" vspace="0"
-      alt="" width="15" height="16"></td>
-   </tr>
-  </table>
+   <div id="obeytoyourfriend">Policy is your friend. Trust the Policy. Love the Policy. Obey the Policy.</div>
  </div>
  <hr>
 <div id="main">
@@ -101,7 +83,7 @@
      </td>
      </tr>     
     <tr class="titlerow">
-     <td class="titlecell">
+     <td class="bluetitlecell">
       Available reports
      </td>
     </tr>
@@ -231,7 +213,7 @@
 STATE_BODY_TEMPLATE = """
    <table class="righttable">
     <tr class="titlerow">
-     <td class="titlecell">
+     <td class="bluetitlecell">
       Packages in state "$state" in $section
      </td>
     </tr>
@@ -259,7 +241,7 @@
      </td>
     </tr>
     <tr class="titlerow">
-     <td class="titlecell" colspan="3">
+     <td class="bluetitlecell" colspan="3">
       Packages per state
      </td>
     </tr>
@@ -708,7 +690,7 @@
 
             success = True
             failed = False
-            binaryrows = "<tr class=\"titlerow\"><td class=\"titlecell\" colspan=\"3\">Binary package(s) in "+self._config.section+"</td></tr>"
+            binaryrows = "<tr class=\"titlerow\"><td class=\"bluetitlecell\" colspan=\"3\">Binary package(s) in "+self._config.section+"</td></tr>"
             for binary in binaries.split(", "):
               state = self._binary_db.state_by_name(binary)
               binaryrows += "<tr class=\"normalrow\"><td class=\"contentcell2\">%s</td><td class=\"contentcell2\">%s: %s</td><td class=\"contentcell2\">current: %s</td></tr>" % (binary, self.link_to_state_page(self._config.section,binary,state), self.links_to_logs(binary, state, logs_by_dir), current_version)




More information about the Piuparts-commits mailing list