[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.52-42-ge8d8e9b

Andreas Beckmann anbe at debian.org
Fri May 31 10:05:33 UTC 2013


The following commit has been merged in the develop branch:
commit e8d8e9bcf65a31dac228057d2a631a92efea997c
Author: Andreas Beckmann <anbe at debian.org>
Date:   Fri May 31 09:49:28 2013 +0200

    p.conf.pejacevic: adjust timings
    
    reschedule stale reverved packages after 24 hours
    reschedule untestable packages after 4 days
    run detect_{piuparts,network}_issues every 6 hours
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>

diff --git a/TODO b/TODO
index 7178ab1..91688ad 100644
--- a/TODO
+++ b/TODO
@@ -60,8 +60,6 @@ for 0.5x:
 - once adequate 0.6 (which is fixing #709372) is available, don't run adequate
   tests for ignored_tags anymore.
 
-- add cronjob to find reserved packages older than 24h
-
 
 for 0.6x:
 
diff --git a/conf/crontab-master.in b/conf/crontab-master.in
index ff0f07a..ce8ed99 100644
--- a/conf/crontab-master.in
+++ b/conf/crontab-master.in
@@ -21,8 +21,8 @@
 # - these may result in packages being retested
 # - if that's not the case, run them from within generate_daily_report
 #
-30 21 * * * @sharedir@/piuparts/master/detect_network_issues
-45 21 * * * @sharedir@/piuparts/master/detect_piuparts_issues
+30 3-21/6 * * * @sharedir@/piuparts/master/detect_network_issues
+45 3-21/6 * * * @sharedir@/piuparts/master/detect_piuparts_issues
 0  22 * * * @sharedir@/piuparts/master/detect_archive_issues
 30 22 * * * @sharedir@/piuparts/master/report_untestable_packages
 0  23 * * * @sharedir@/piuparts/master/report_stale_reserved_packages
diff --git a/instances/piuparts.conf.pejacevic b/instances/piuparts.conf.pejacevic
index 8e38671..cd9f44a 100644
--- a/instances/piuparts.conf.pejacevic
+++ b/instances/piuparts.conf.pejacevic
@@ -107,6 +107,7 @@ reschedule-old-count = 250
 expire-fail-days = 15
 reschedule-fail-days = 10
 reschedule-fail-count = 25
+reschedule-untestable-days = 4
 
 
 [experimental]
diff --git a/master-bin/report_stale_reserved_packages.in b/master-bin/report_stale_reserved_packages.in
index 26da920..c899b79 100755
--- a/master-bin/report_stale_reserved_packages.in
+++ b/master-bin/report_stale_reserved_packages.in
@@ -25,10 +25,10 @@ get_config_value SECTIONS global sections
 
 
 #
-# find packages which have been reserved for more than 2 days and unschedule them
+# find packages which have been reserved for more than one day and unschedule them
 #
 
-DAYS=2
+DAYS=1
 LOGS=`mktemp`
 for SECTION in $SECTIONS ; do
 	test -d $MASTER/$SECTION/reserved || continue

-- 
piuparts git repository



More information about the Piuparts-commits mailing list