index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-11-27 12:11:11 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-11-27 13:49:59 +0100 |
commit | 29ee45885b97d60c3b98ca11f511be33b5b9ce8b (patch) | |
tree | c28761717704d32510ead3eb3681e646b96e2047 | |
parent | fe2fc11bb3c5b275ac011061b736e19cf56adec9 (diff) |
-rwxr-xr-x | bin/common-functions | 6 | ||||
-rwxr-xr-x | conf/default.conf | 3 |
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 |