Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/get-package-updates
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-05-20 18:34:02 +0200
committerErich Eckner <git@eckner.net>2023-05-20 18:34:02 +0200
commit9d08ab3ee2aec838695fc949e4335fdaafbea7ff (patch)
tree1c64a4ee334318393b328ca6178efff1aade5f2c /bin/get-package-updates
parentdb1b64a2651790dab8c0682f8519110916918ee7 (diff)
bin/get-package-updates: short-circuit blacklist logic for now
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates9
1 files changed, 5 insertions, 4 deletions
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