Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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