summaryrefslogtreecommitdiff
path: root/bin/get-package-updates
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-22 15:19:23 +0100
committerErich Eckner <git@eckner.net>2018-03-22 15:19:23 +0100
commitc772be57eca3a2176ac3931c02fb582f85c0d575 (patch)
tree276bbc6566e141444d37ee464a0c9c6c0ac956fe /bin/get-package-updates
parente808f93c3f9af51fa32764d3195bbba33b73d026 (diff)
downloadbuilder-c772be57eca3a2176ac3931c02fb582f85c0d575.tar.xz
decommission package-states directory - we rely on the database now
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates6
1 files changed, 0 insertions, 6 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index a36cb8a..3e9edf9 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -111,9 +111,6 @@ delete_package() {
mysql_run_query >> \
"${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\}\.\(broken\|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.
@@ -317,9 +314,6 @@ done | \
if [ "${mode}" = 'A' ] || [ "${mode}" = 'M' ]; then
# new or modified PKGBUILD
sed -i "/^$(str_to_regex "${package}") /d" "${work_dir}/build-list.new"
- find "${work_dir}/package-states" -regextype grep \
- -regex '.*/'"$(str_to_regex "${package}")"'\(\.[0-9a-f]\{40\}\)\{2\}\.[^.]\+\.\(blocked\|broken\)' \
- -delete
# shellcheck disable=SC2154
echo "${package} ${git_revision} ${new_repo_revisions__archlinux32} ${repository}" >> \
"${work_dir}/build-list.new"