summaryrefslogtreecommitdiff
path: root/bin/seed-build-list
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-22 20:42:54 +0100
committerErich Eckner <git@eckner.net>2018-01-22 20:42:54 +0100
commit09b5e8d6da292ceb6f9bb4a442d292f2e193330a (patch)
tree47db76e19e496a4ce495805bec8a29267342d8f0 /bin/seed-build-list
parent7d67a5bf7d76d8a5b2b11b77a3c17eb37b66be96 (diff)
downloadbuilder-09b5e8d6da292ceb6f9bb4a442d292f2e193330a.tar.xz
bin/seed-build-list: update database, too
Diffstat (limited to 'bin/seed-build-list')
-rwxr-xr-xbin/seed-build-list5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/seed-build-list b/bin/seed-build-list
index 78b29ba..acf25c3 100755
--- a/bin/seed-build-list
+++ b/bin/seed-build-list
@@ -284,6 +284,11 @@ if ${update}; then
"${tmp_dir}/build-list.new" | \
tee -a "${work_dir}/build-list"
+ while read -r git_revision mod_git_revision repository pkgbase; do
+ mysql_generate_package_metadata "${pkgbase}" "${git_revision}" "${mod_git_revision}" "${repository}"
+ done < \
+ "${tmp_dir}/build-list.new"
+
# Remove the lock file
rm -f "${build_list_lock_file}"