[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.44-638-g256a900

Andreas Beckmann debian at abeckmann.de
Fri Jun 1 21:08:37 UTC 2012


The following commit has been merged in the develop branch:
commit 256a900c9c5538a99d38187960ad117567a9804a
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Fri Jun 1 22:41:22 2012 +0200

    reschedule /affected/ logs like /fail/ logs
    
    reschedule /affected/ logs regularily as they require some other
    package to be fixed
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/debian/changelog b/debian/changelog
index a46969b..77b19d3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -31,6 +31,7 @@ piuparts (0.45) UNRELEASED; urgency=low
         Version: buggy-version
         Affects: package-under-test
         Found: package-under-test/tested-version
+    - Reschedule /affected/ logs like /fail/ logs.
   * piuparts.py:
     - Implement --install-remove-install option to test installation in
       config-files-remaining state.  (Closes: #359154)
diff --git a/home/piupartsm/bin/reschedule_oldest_logs b/home/piupartsm/bin/reschedule_oldest_logs
index 1580bea..f70a728 100755
--- a/home/piupartsm/bin/reschedule_oldest_logs
+++ b/home/piupartsm/bin/reschedule_oldest_logs
@@ -59,8 +59,8 @@ for SECTION in $SECTIONS ; do
 		get_config_value _FAIL_COUNT $SECTION reschedule-fail-count $FAIL_COUNT
 		cd $MASTER/$SECTION
 		# FIXME: we ignore bugged here - ptyhon-bts is really the way to go
-		find pass fail -name "*.log" -mtime +$_AGE | xargs --no-run-if-empty -n99999 -s999999 ls -dt | tail -n $_COUNT > $LOGS
-		find fail -name "*.log" -mtime +$_FAIL_AGE | xargs --no-run-if-empty -n99999 -s999999 ls -dt | tail -n $_FAIL_COUNT >> $LOGS
+		find pass fail affected -name "*.log" -mtime +$_AGE | xargs --no-run-if-empty -n99999 -s999999 ls -dt | tail -n $_COUNT > $LOGS
+		find fail affected -name "*.log" -mtime +$_FAIL_AGE | xargs --no-run-if-empty -n99999 -s999999 ls -dt | tail -n $_FAIL_COUNT >> $LOGS
 		if [ -s $LOGS ]; then
 			echo $SECTION
 			ls -dtl $(cat $LOGS)

-- 
piuparts git repository



More information about the Piuparts-commits mailing list