From 9d08ab3ee2aec838695fc949e4335fdaafbea7ff Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 20 May 2023 18:34:02 +0200 Subject: bin/get-package-updates: short-circuit blacklist logic for now --- bin/get-package-updates | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'bin/get-package-updates') diff --git a/bin/get-package-updates b/bin/get-package-updates index 93e88da..b791dc2 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -297,10 +297,10 @@ echo 'Check modified packages from the last update, and put them to the build li # trigger rebuild of packages removed from blacklist # shellcheck disable=SC2016 { - printf 'SELECT `package_sources`.`pkgbase`,`upstream_repositories`.`name`,`git_repositories`.`name`' + # TODO: this needs to be properly fixed + printf 'SELECT `package_sources`.`pkgbase`,`upstream_repositories`.`name`' printf ' FROM `package_sources`' mysql_join_package_sources_upstream_repositories - mysql_join_upstream_repositories_git_repositories printf ' WHERE `package_sources`.`pkgbase` IN (' # shellcheck disable=SC2154 git -C "${repo_paths__archlinux32}" diff --name-status "${old_repo_revisions__archlinux32}" "${new_repo_revisions__archlinux32}" -- 'blacklist' | \ @@ -317,8 +317,9 @@ echo 'Check modified packages from the last update, and put them to the build li tr '\n' ',' printf '"");\n' } | \ - mysql_run_query | \ - while read -r pkgbase repository git_repository; do + echo mysql_run_query | \ + while read -r pkgbase repository; do + break eval 'git_rev="${new_repo_revisions__'"${git_repository}"'}"' eval 'git_dir="${repo_paths__'"${git_repository}"'}"' # TODO: maybe, we want to exclude our own packages here, too? But why -- cgit v1.2.3-70-g09d2