summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-30 10:23:57 +0200
committerErich Eckner <git@eckner.net>2018-05-30 10:23:57 +0200
commit42c69f3c1bdf6358ad1ab632997d3a12fd11dd4f (patch)
tree9cf16f4f3b5e21374a321ca4c60fa48f12ada6cf /bin
parent731a2e13d0c87cbc1a7467f17bcf01fb84faf357 (diff)
downloadbuilder-42c69f3c1bdf6358ad1ab632997d3a12fd11dd4f.tar.xz
lib/mysql-functions: mysql_retrieve_repository_ids() -> mysql_retrieve_static_information() ... and it will be called automatically by lib/load-configuration
Diffstat (limited to 'bin')
-rwxr-xr-xbin/copy-to-build-support1
-rwxr-xr-xbin/get-package-updates2
-rwxr-xr-xbin/seed-build-list1
3 files changed, 0 insertions, 4 deletions
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/'