[Piuparts-commits] rev 378 - trunk

Holger Levsen holger at alioth.debian.org
Tue Apr 28 12:49:29 UTC 2009


Author: holger
Date: 2009-04-28 12:49:29 +0000 (Tue, 28 Apr 2009)
New Revision: 378

Modified:
   trunk/TODO
   trunk/piuparts-report.py
Log:
be more verbose in debugging output

Modified: trunk/TODO
===================================================================
--- trunk/TODO	2009-04-28 11:42:57 UTC (rev 377)
+++ trunk/TODO	2009-04-28 12:49:29 UTC (rev 378)
@@ -3,10 +3,12 @@
 
 for 0.36:
 
-- then R
+- do fancy R graphs with the data from $distro/counts.txt
+
 - take care of old conf files on upgrades
 	/etc/piuparts/piuparts-master.conf
 	/etc/piuparts/piuparts-slave.conf
+
 - report:
  - refactor code, sources.txt should not be calculated where it currently is
  - get rid of old log pages and put stats in the index page
@@ -28,6 +30,7 @@
 - untestable packages are not recognicable as such, see http://piuparts.debian.org/source/a/apache2.html 
   atm. (log is N/A, even though its there, even if empty) - http://piuparts.debian.org/sid/state-cannot-be-tested.html
   aint helpful neither.
+- confirm, that killing the slave results in retesting the currently tested package. 
 
 for 0.37:
 
@@ -39,6 +42,7 @@
   - installation hangs and uses all cpu when installing with 
     DEBIAN_FRONTEND="noninteractive"
   - owned and unowned files after purge (policy 6.8 + 10.7.3)
+   - should ignore dirs untils #NUMBER is fixed
   - 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

Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py	2009-04-28 11:42:57 UTC (rev 377)
+++ trunk/piuparts-report.py	2009-04-28 12:49:29 UTC (rev 378)
@@ -660,11 +660,13 @@
 
         countsfile = os.path.join(self._output_directory, "counts.txt") 
         if not os.path.isfile(countsfile):
+          logging.debug("writing new file: %s" % countsfile) 
           write_file(countsfile, header)
         else:
           last_line = read_file(countsfile)[-1]
         if not current_day in last_line:
           append_file(countsfile, counts)
+          logging.debug("appending line: %s" % counts) 
 
     def prepare_package_summaries(self, logs_by_dir):
         logging.debug("Writing package templates in %s" % self._config.section)    




More information about the Piuparts-commits mailing list