index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/seed-build-list | 7 |
diff --git a/bin/seed-build-list b/bin/seed-build-list index feea704..acf25c3 100755 --- a/bin/seed-build-list +++ b/bin/seed-build-list @@ -5,6 +5,8 @@ # shellcheck source=conf/default.conf . "${0%/*}/../conf/default.conf" +# TODO: put new packages also in mysql database + # shellcheck disable=SC2016 usage() { >&2 echo '' @@ -282,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}" |