[Piuparts-commits] [SCM] piatti.debian.org configuration files branch, piatti, updated. bd576b4d2a7b962aad4245414b3a858dec5e52c6
Andreas Beckmann
debian at abeckmann.de
Fri Dec 2 13:16:05 UTC 2011
The following commit has been merged in the piatti branch:
commit acdc4f1c7e475cd5f7e4be4a41e08ffdf1cbec19
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Wed Nov 30 14:59:14 2011 +0100
configurable delay for rescheduling untestable packages
[global]
reschedule-untestable-days = 7
Signed-off-by: Andreas Beckmann <debian at abeckmann.de>
diff --git a/home/piupartsm/bin/report_untestable_packages b/home/piupartsm/bin/report_untestable_packages
index e165b9f..947fd72 100755
--- a/home/piupartsm/bin/report_untestable_packages
+++ b/home/piupartsm/bin/report_untestable_packages
@@ -38,20 +38,20 @@ get_config_value()
get_config_value MASTER global master-directory
get_config_value SECTIONS global sections
+get_config_value DAYS global reschedule-untestable-days 7
#
# find packages which have been in untestable for more than $DAYS days and reschedule them for testing
#
-DAYS=7
LOGS=`mktemp`
for SECTION in $SECTIONS ; do
find $MASTER/$SECTION/untestable/ -mtime +$DAYS -name "*.log" 2>/dev/null >> $LOGS
done
if [ -s $LOGS ] ; then
echo "Untestable packages detected, which have been tested more than $DAYS days ago!"
- echo "These packages have been rescheduling for piuparts testing."
+ echo "These packages have been rescheduled for piuparts testing."
echo
for package_log in $(cat $LOGS) ; do
rm -fv $package_log
--
piatti.debian.org configuration files
More information about the Piuparts-commits
mailing list