[Piuparts-commits] rev 387 - piatti/home/piupartsm piatti/home/piupartsm/bin trunk
Holger Levsen
holger at alioth.debian.org
Sun May 3 21:54:15 UTC 2009
Author: holger
Date: 2009-05-03 21:54:15 +0000 (Sun, 03 May 2009)
New Revision: 387
Added:
piatti/home/piupartsm/bin/prepare_backup
Modified:
piatti/home/piupartsm/crontab
trunk/TODO
trunk/piuparts-report.py
Log:
prepare backup, add news entry about testable archive done, link to todo
Added: piatti/home/piupartsm/bin/prepare_backup
===================================================================
--- piatti/home/piupartsm/bin/prepare_backup (rev 0)
+++ piatti/home/piupartsm/bin/prepare_backup 2009-05-03 21:54:15 UTC (rev 387)
@@ -0,0 +1,34 @@
+#!/bin/sh
+
+# Copyright 2009 Holger Levsen (holger at layer-acht.org)
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation; either version 2 of the License, or (at your
+# option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+# Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+#
+# backup statistiscs files to a single directory for DSA to backup
+# piuparts.d.o's state is not backupped
+# (currently it takes one month to run a full piuparts test on a suite
+# which produces a gigabyte of logfiles to be saved, for basically
+# not much value)
+#
+BACKUPDIR=/org/piuparts.debian.org/backup
+DISTROS="sid squeeze"
+HTDOCS=/org/piuparts.debian.org/htdocs
+
+for distro in DISTROS ; do
+ mkdir -p $BACKUPDIR/$distro
+ cp $HTDOCS/$distro/*.txt $BACKUPDIR/$distro/
+done
+
Property changes on: piatti/home/piupartsm/bin/prepare_backup
___________________________________________________________________
Added: svn:executable
+ *
Modified: piatti/home/piupartsm/crontab
===================================================================
--- piatti/home/piupartsm/crontab 2009-04-30 09:20:51 UTC (rev 386)
+++ piatti/home/piupartsm/crontab 2009-05-03 21:54:15 UTC (rev 387)
@@ -30,3 +30,8 @@
05 23 * * * /home/piupartsm/bin/report_persistent_untestable_packages
10 23 * * * /home/piupartsm/bin/report_untestable_packages
+#
+# misc
+#
+55 11 * * * /home/piupartsm/bin/prepare_backup
+
Modified: trunk/TODO
===================================================================
--- trunk/TODO 2009-04-30 09:20:51 UTC (rev 386)
+++ trunk/TODO 2009-05-03 21:54:15 UTC (rev 387)
@@ -9,11 +9,9 @@
- 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 :-)
- - include pts state (as an icon) in source summary pages
+ - include uploaders in maintainer centric pages
- http://piuparts.debian.org/sid/state-dependency-does-not-exist.html#addresses-goodies-for-gnustep
links to http://goldwasser.athome/source/a/addresses-for-gnustep (0.4.7-1).html
@@ -29,7 +27,7 @@
/etc/piuparts/piuparts-master.conf
/etc/piuparts/piuparts-slave.conf
-- report_untestable_packages: moving to untestable/archive/ causes problems, so disabled for now.
+- ~piupartsm/bin/report_untestable_packages: moving to untestable/archive/ causes problems, so disabled for now.
once 0.36 is released:
@@ -62,6 +60,7 @@
- write stats for total number of logs (when a package has more than a log
in fail/ or bugged/)
- RSS feeds of logs
+ - include pts state (as an icon) in source summary pages
- expire old logs a month after testing if newer logs exists (except if the new log is fail
and the old is bugged, then the fail log should be moved to bugged first)
Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py 2009-04-30 09:20:51 UTC (rev 386)
+++ trunk/piuparts-report.py 2009-05-03 21:54:15 UTC (rev 387)
@@ -90,7 +90,7 @@
</tr>
<tr class="normalrow">
<td class="contentcell">
- <a href="http://bugs.debian.org/piuparts" target="_blank">Bugs</a>
+ <a href="http://bugs.debian.org/piuparts" target="_blank">Bugs</a> / <a href="http://svn.debian.org/viewsvn/piuparts/trunk/TODO" target="_blank">ToDo</a>
</td>
</tr>
<tr class="titlerow">
@@ -334,6 +334,11 @@
</tr>
<tr class="normalrow">
<td class="contentcell2">
+ <b>2009-05-01</b>All packages in squeeze and sid which can be tested have been tested. So it takes about one month to do a full piuparts run against one suite of the archive on this machine, that's almost 1000 packages tested per day.
+ </td>
+ </tr>
+ <tr class="normalrow">
+ <td class="contentcell2">
<b>2009-04-20</b>: Deleted 86 more failed logfiles (out of 692 failures in total atm) which were due to broken packages, which most likely are temporarily uninstallable issues - a good indicator for this is that all of those failures happened in sid and none in squeeze. For the future there is a cronjob now, to notify the admins daily of such problems. In more distant future those issues should be detected and avoided.
</td>
</tr>
@@ -695,6 +700,7 @@
sourcerows = "<tr class=\"normalrow\"><td class=\"contentcell2\"><a href=\"http://packages.qa.debian.org/%s\" target=\"_blank\">%s</a></td><td class=\"contentcell2\" colspan=\"2\">%s</td></tr>" % (source, html_protect(source), html_protect(maintainer))
filename = os.path.join(summary_page_path, (source + ".tpl_src"))
+ # don't write header if it already exists (=it was created in an previous section)
if not os.path.isfile(filename):
f = file(filename, "w")
f.write(sourcerows)
More information about the Piuparts-commits
mailing list