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 <erich.eckner.ext@bestsecret.com>2023-05-22 14:38:55 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2023-05-22 14:41:16 +0200
commit23609ff2e07de412a4da59dab05dc1cbaada5bca (patch)
tree39d313d130d6517f7cdfabb6da06c5eb981a33e3 /bin/get-package-updates
parent89af8fca555fabd73860aea96f0492fc11177714 (diff)
add some debug output
* make it not appear as it is stuck
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index a00e95c..a4c273d 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -112,6 +112,7 @@ delete_package() {
local architecture="$1"
local pkgbase="$2"
local repository="$3"
+ >&2 printf 'delete_package %s %s %s\n' "${architecture}" "${pkgbase}" "${repository}"
# shellcheck disable=SC2016
query_delete_packages=$(
printf '`architectures` AS `d_a`'
@@ -190,6 +191,9 @@ delete_package() {
# check_if_package_should_be_deleted $pkgbase $repository
check_if_package_should_be_deleted() {
+ local pkgbase="$1"
+ local repository="$2"
+ >&2 printf 'check_if_package_should_be_deleted %s %s\n' "${pkgbase}" "${repository}"
if git -C "${repo_paths__archlinux32}" archive "${new_repo_revisions__archlinux32}" -- "${repository}/${pkgbase}" >/dev/null 2>&1; then
return 1
fi