From b61c5f236ced1841b84c7d24feedad500b685509 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 7 Mar 2018 20:01:15 +0100 Subject: bin/get-package-updates: remove broken, blocked and locked marker files of build assignments which get deleted --- bin/get-package-updates | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/get-package-updates b/bin/get-package-updates index a95bd94..1e0502f 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -105,6 +105,9 @@ delete_package() { echo "$1" >> \ "${work_dir}/deletion-list.new" sed -i "/^$(str_to_regex "${1}") /d" "${work_dir}/build-list.new" + find "${work_dir}/package-states" -maxdepth 1 -mindepth 1 -regextype grep \ + -regex '.*/'"$(str_to_regex "${1}")"'\(\.[^.]\+\)\{3\}\.\(blocked\|locked\)' \ + -delete # TODO: Once we want to rely on the database for test_exclusion, we # need to run the command below unconditionally, but with some # changes, so we can easily revert. -- cgit v1.2.3-70-g09d2