Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-15 11:01:59 +0200
committerErich Eckner <git@eckner.net>2018-05-15 11:01:59 +0200
commitc95d83e7c6ac3f72536153ea1b1910cea3e414ad (patch)
treefa2192157b4a03f85affeaa021d94b1ab2fb5f94 /bin
parente42f9b1fd873a032e95941bf5c3527a9bfe4b0a0 (diff)
lib/mysql-functions: mysql_generate_package_metadata() expect current_repository_id instead of current_repository as parameter
Diffstat (limited to 'bin')
-rwxr-xr-xbin/get-package-updates2
-rwxr-xr-xbin/seed-build-list3
2 files changed, 3 insertions, 2 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index b2515ca..8931a3a 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -400,7 +400,7 @@ trigger_rebuild_on_any_file_sed_expression=$(
mysql_run_query
# shellcheck disable=SC2154
printf '%s ' "${package}" "${git_revision}" "${new_repo_revisions__archlinux32}" "${repository}" >&2
- mysql_generate_package_metadata 'to-be-decided' "${package}" "${git_revision}" "${old_git_revision}" "${new_repo_revisions__archlinux32}" "${repository}"
+ mysql_generate_package_metadata "${repository_ids__any_to_be_decided}" "${package}" "${git_revision}" "${old_git_revision}" "${new_repo_revisions__archlinux32}" "${repository}"
printf '\n' >&2
continue
fi
diff --git a/bin/seed-build-list b/bin/seed-build-list
index 0e43f39..923e65a 100755
--- a/bin/seed-build-list
+++ b/bin/seed-build-list
@@ -371,10 +371,11 @@ printf 'CREATE TEMPORARY TABLE `pkgbases` (`pkgbase` VARCHAR(64), `repository` V
sort -u | \
tr '\t' ' ' | \
if ${update}; then
+ mysql_retrieve_repository_ids
while read -r pkgbase git_rev mod_git_rev repo; do
printf '%s ' "${pkgbase}" "${git_rev}" "${mod_git_rev}" "${repo}" | \
sed 's/ $/\n/'
- mysql_generate_package_metadata 'build-list' "${pkgbase}" "${git_rev}" '' "${mod_git_rev}" "${repo}"
+ mysql_generate_package_metadata "${repository_ids__any_build_list}" "${pkgbase}" "${git_rev}" '' "${mod_git_rev}" "${repo}"
done
rm -f "${build_list_lock_file}"