[Piuparts-commits] rev 382 - piatti piatti/home/piupartsm/bin trunk trunk/debian

Holger Levsen holger at alioth.debian.org
Wed Apr 29 10:49:52 UTC 2009


Author: holger
Date: 2009-04-29 10:49:52 +0000 (Wed, 29 Apr 2009)
New Revision: 382

Modified:
   piatti/README.txt
   piatti/home/piupartsm/bin/report_untestable_packages
   trunk/TODO
   trunk/debian/changelog
   trunk/debian/control
Log:
add gs to suggests and disable untestable/archive feature as it's buggy

Modified: piatti/README.txt
===================================================================
--- piatti/README.txt	2009-04-29 09:10:58 UTC (rev 381)
+++ piatti/README.txt	2009-04-29 10:49:52 UTC (rev 382)
@@ -28,7 +28,7 @@
 
 === piuparts installation from svn source
 
-* sudo apt-get install apt python debootstrap lsof lsb-release python-debian make dpkg-dev python-support asciidoc xmlto python-rpy r-recommended r-base-dev
+* sudo apt-get install apt python debootstrap lsof lsb-release python-debian make dpkg-dev python-support asciidoc xmlto python-rpy r-recommended r-base-dev gs
 * you need a webserver too, if you run the master
 * Copy 'svn://svn.debian.org/svn/piuparts/piatti/home/piupartss/bin/update-piuparts-setup' on the host and run it. It assumes you want to set it up in '/org/piuparts.debian.org' and does all further svn checkouts as well as source code installation. It needs the piupartss and piupartsm user set up as described below, though.
 * sudo ln -s /org/piuparts.debian.org/etc/ /etc/piuparts

Modified: piatti/home/piupartsm/bin/report_untestable_packages
===================================================================
--- piatti/home/piupartsm/bin/report_untestable_packages	2009-04-29 09:10:58 UTC (rev 381)
+++ piatti/home/piupartsm/bin/report_untestable_packages	2009-04-29 10:49:52 UTC (rev 382)
@@ -24,6 +24,35 @@
 # find packages which have been in untestable for more than $DAYS days and reschedule them for testing
 #
 
+#
+# FIXME: piuparts-master and report break in unforseen ways if packages are in untestable/archive, so
+# 	 this code got disabled until I have time to fix it.
+# 
+# piuparts-report fails like this:
+#
+# 12:34 Copying log files
+# Traceback (most recent call last):
+#   File "/org/piuparts.debian.org/share/piuparts/piuparts-report", line 858, in <module>
+#     main()
+#   File "/org/piuparts.debian.org/share/piuparts/piuparts-report", line 845, in main
+#     section.generate_output(master_directory=global_config["master-directory"],output_directory=global_config["output-directory"],section_names=section_names)
+#   File "/org/piuparts.debian.org/share/piuparts/piuparts-report", line 822, in generate_output
+#     self.generate_html()
+#   File "/org/piuparts.debian.org/share/piuparts/piuparts-report", line 729, in generate_html
+#     copy_logs(logs_by_dir, self._output_directory)
+#   File "/org/piuparts.debian.org/share/piuparts/piuparts-report", line 467, in copy_logs
+#     update_file(source, target)
+#   File "/org/piuparts.debian.org/share/piuparts/piuparts-report", line 456, in update_file
+#     shutil.copyfile(source, target)
+#   File "/usr/lib/python2.5/shutil.py", line 46, in copyfile
+#     fsrc = open(src, 'rb')
+# IOError: [Errno 2] No such file or directory: 'untestable/dict-freedict-eng-swa_1.3-4.log'
+#
+#
+#
+# piuparts-master doesnt hand out reserved packages if there are some in untestable/archive...
+#
+
 LOGS=`mktemp`
 find $MASTER/*/untestable/ -mtime +$DAYS -name "*.log" 2>/dev/null > $LOGS
 if [ -s $LOGS ] ; then 
@@ -31,7 +60,7 @@
 		mkdir -p $MASTER/$distro/untestable/archive
         	for package_log in $(grep $distro $LOGS) ; do 
         		if [ ! -f $MASTER/$distro/untestable/archive/$(basename $package_log) ] ; then
-				mv $package_log $MASTER/$distro/untestable/archive/
+				#mv $package_log $MASTER/$distro/untestable/archive/
 		        fi
 			rm -f $package_log
 		done
@@ -39,8 +68,8 @@
 	echo "Untestable packages detected, which have been tested more than $DAYS days ago!"
 	echo "These packages have been rescheduling for piuparts testing."
 	echo
-	echo "If they continue to fail testing, you will be informed again in 10 days."
-	echo
+#	echo "If they continue to fail testing, you will be informed again in 10 days."
+#	echo
 	echo "This is usually because a package was reserverd with a specific version and then"
         echo "a higher version became available and the reserved version vanished. So it's good"
 	echo "to test them again."

Modified: trunk/TODO
===================================================================
--- trunk/TODO	2009-04-29 09:10:58 UTC (rev 381)
+++ trunk/TODO	2009-04-29 10:49:52 UTC (rev 382)
@@ -9,6 +9,7 @@
  - do fancy R graphs with the data from $distro/counts.txt
   - refactor..! search for FIXME
   - also per state
+  - suggest gs
  - include links to http://qa.debian.org/developer.php?login=$maintainer_email 
    or probably better: create maintainer centric pages.
  - include uploaders in maintainer centric pages :-)
@@ -30,6 +31,8 @@
 	/etc/piuparts/piuparts-master.conf
 	/etc/piuparts/piuparts-slave.conf
 
+- report_untestable_packages: moving to untestable/archive/ causes problems, so disabled for now.
+
 once 0.36 is released:
 
 - integration with packages.qa.debian.org
@@ -48,7 +51,8 @@
   - 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
+  - files owned by two or more packages are not removed by dpkg, these should be ignored.
+    eg, "/etc/php5	 owned by: php5-cgi, php5-common" from http://piuparts.debian.org/squeeze/fail/php5-cgi_5.2.6.dfsg.1-3.log
   - 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/debian/changelog
===================================================================
--- trunk/debian/changelog	2009-04-29 09:10:58 UTC (rev 381)
+++ trunk/debian/changelog	2009-04-29 10:49:52 UTC (rev 382)
@@ -49,7 +49,8 @@
     - provide links to logfiles in statistics page.
     - provide links to source packages pages from state pages and back, as well
       as links to the dependencies state.
-    - draw graphs of package states over time (if pypthon-rpy is installed).
+    - draw graphs of package states over time (if pypthon-rpy and gs are 
+      installed).
     - improve layout, generate navigation for all pages.
   * Break backwards compatibility of the configuration files for master-slave-
     mode. Merge those three into one: /etc/piuparts/piuparts/piuparts.conf.
@@ -65,7 +66,7 @@
     - depend on python (>>2.4), make dependency to python-debian unversioned
     - add build-dependencies on debhelper, asciidoc and xmlto.
     - remove build-dependencies on docbook2x and docbook-xml.
-    - suggest python-rpy as it improves piuparts-reports output.
+    - suggest python-rpy and gs to improve piuparts-report output.
     - set Homepage: to http://piuparts.debian.org
     - bump Standards-Version to 3.8.1, no changes neccessary.
   * Rewrite debian/rules from scratch using debhelper.

Modified: trunk/debian/control
===================================================================
--- trunk/debian/control	2009-04-29 09:10:58 UTC (rev 381)
+++ trunk/debian/control	2009-04-29 10:49:52 UTC (rev 382)
@@ -20,7 +20,7 @@
 Architecture: all
 Depends: apt, python (>> 2.4), debootstrap (>= 0.3.3), lsof, lsb-release, 
     python-debian
-Suggests: python-rpy
+Suggests: python-rpy, gs
 Description: .deb package installation, upgrading, and removal testing tool
  piuparts tests that .deb packages (as used by Debian) handle
  installation, upgrading, and removal correctly. It does this by




More information about the Piuparts-commits mailing list