summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/common-functions6
-rwxr-xr-xconf/default.conf3
2 files changed, 9 insertions, 0 deletions
diff --git a/bin/common-functions b/bin/common-functions
index b133373..394720b 100755
--- a/bin/common-functions
+++ b/bin/common-functions
@@ -1142,6 +1142,12 @@ print_list_of_archaic_packages() {
find "${work_dir}/package-states" -mindepth 1 -maxdepth 1 -name '*.testing' -mtime "+${max_package_age_testing}" \
-exec head -n1 {} \; | \
"${base_dir}/bin/modify-package-state" -n --tested /dev/stdin
+ # packages remaining longer than $max_package_age_broken_testing days in testing (w/o being tested!) will be considered outdated
+ # and no longer block other packages from being moved
+ find "${work_dir}/package-states" -mindepth 1 -maxdepth 1 -name '*.testing' -mtime "+${max_package_age_broken_testing}" -printf '%f\n' \
+ sed '
+ s|\.testing$||
+ '
;;
'build-list')
while read -r pkg rev mod_rev repo; do
diff --git a/conf/default.conf b/conf/default.conf
index de14704..4260921 100755
--- a/conf/default.conf
+++ b/conf/default.conf
@@ -50,6 +50,9 @@ fi
# block other packages anymore
max_package_age_build_list=7
max_package_age_staging=2
+max_package_age_broken_testing=14
+# after how many days will a package in testing be automatically marked as
+# tested (if there is no open bug against it)
max_package_age_testing=7
# to access the master mirror via rsync