From 42c69f3c1bdf6358ad1ab632997d3a12fd11dd4f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 30 May 2018 10:23:57 +0200 Subject: lib/mysql-functions: mysql_retrieve_repository_ids() -> mysql_retrieve_static_information() ... and it will be called automatically by lib/load-configuration --- bin/copy-to-build-support | 1 - bin/get-package-updates | 2 -- bin/seed-build-list | 1 - 3 files changed, 4 deletions(-) (limited to 'bin') diff --git a/bin/copy-to-build-support b/bin/copy-to-build-support index ef08d7d..dc45d07 100755 --- a/bin/copy-to-build-support +++ b/bin/copy-to-build-support @@ -70,7 +70,6 @@ trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT export TMPDIR="${tmp_dir}" -mysql_retrieve_repository_ids to_copy='build_assignment epoch pkgver pkgrel sub_pkgrel has_issues is_tested pkgname architecture' sed -n ' s/.\+/\0 \0/ diff --git a/bin/get-package-updates b/bin/get-package-updates index ec25899..83d8181 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -107,8 +107,6 @@ if [ -s "${work_dir}/build-master-sanity" ]; then exit fi -mysql_retrieve_repository_ids - # TODO: How should new deletion-list packages be handled? # - packages deleted upstream should be marked as to-be-deleted if # existent and otherwise be ignored diff --git a/bin/seed-build-list b/bin/seed-build-list index 389fdcf..809a5fd 100755 --- a/bin/seed-build-list +++ b/bin/seed-build-list @@ -388,7 +388,6 @@ 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/' -- cgit v1.2.3-54-g00ecf