Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-27 12:11:11 +0100
committerErich Eckner <git@eckner.net>2017-11-27 13:49:59 +0100
commit29ee45885b97d60c3b98ca11f511be33b5b9ce8b (patch)
treec28761717704d32510ead3eb3681e646b96e2047 /bin
parentfe2fc11bb3c5b275ac011061b736e19cf56adec9 (diff)
bin/common-functions: broken packages (which thus cannot be marked as tested) won't block other packages after $max_package_age_broken_testing days
Diffstat (limited to 'bin')
-rwxr-xr-xbin/common-functions6
1 files changed, 6 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