summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-22 14:18:41 +0100
committerErich Eckner <git@eckner.net>2018-03-22 14:18:41 +0100
commit4f5f0fafc4be959a9a05adac8bf5162a7c5bab46 (patch)
treec39507f20ace68587f7ef580faf627f9fd73cb45 /bin
parent7cc6dee8cfd91e44e7d6436e824937a8a0add008 (diff)
downloadbuilder-4f5f0fafc4be959a9a05adac8bf5162a7c5bab46.tar.xz
lib/common-functions: remove generate_package_metadata, delete_old_metadata - this information is now in the database
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cleanup3
-rwxr-xr-xbin/get-package-updates1
-rwxr-xr-xbin/seed-build-list1
3 files changed, 0 insertions, 5 deletions
diff --git a/bin/cleanup b/bin/cleanup
index 15b6fc9..02ac98b 100755
--- a/bin/cleanup
+++ b/bin/cleanup
@@ -99,9 +99,6 @@ find "${build_log_directory}/success" -maxdepth 1 -type f -mtime +14 \
-not -exec zgrep -q '^+.*ELF file .* has text relocations' '{}' \; \
-delete
-# remove old package meta data
-delete_old_metadata
-
# remove dependency graphs of packages on the deletion list
sed '
s|^|'"${webserver_directory}"'/graphs/|
diff --git a/bin/get-package-updates b/bin/get-package-updates
index ce9d57a..a36cb8a 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -353,7 +353,6 @@ done | \
} | \
mysql_run_query
mysql_generate_package_metadata 'to-be-decided' "${package}" "${git_revision}" "${new_repo_revisions__archlinux32}" "${repository}"
- generate_package_metadata "${package}" "${git_revision}" "${new_repo_revisions__archlinux32}" "${repository}"
continue
fi
diff --git a/bin/seed-build-list b/bin/seed-build-list
index 0db9cdf..41707dd 100755
--- a/bin/seed-build-list
+++ b/bin/seed-build-list
@@ -373,7 +373,6 @@ printf 'CREATE TEMPORARY TABLE `pkgbases` (`pkgbase` VARCHAR(64), `repository` V
printf '%s ' "${pkgbase}" "${git_rev}" "${mod_git_rev}" "${repo}" >&2
printf '%s ' "${pkgbase}" "${git_rev}" "${mod_git_rev}" "${repo}" | \
sed 's/ $/\n/'
- generate_package_metadata "${pkgbase}" "${git_rev}" "${mod_git_rev}" "${repo}"
mysql_generate_package_metadata 'build-list' "${pkgbase}" "${git_rev}" "${mod_git_rev}" "${repo}"
printf '%s %s %s %s\n' "${pkgbase}" "${git_rev}" "${mod_git_rev}" "${repo}" >> \
"${work_dir}/build-list"