diff options
author | Erich Eckner <git@eckner.net> | 2018-09-24 10:10:27 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-09-24 10:10:27 +0200 |
commit | 5968de28c8c3e8c0fc2ef41773f4eb1ac13c5dda (patch) | |
tree | 71eba9958fb6cfa2fc311b0a47754677e8772c7a | |
parent | da1828e8b0bccc24b8be912d6804460e8e9d4afa (diff) | |
download | builder-5968de28c8c3e8c0fc2ef41773f4eb1ac13c5dda.tar.xz |
lib/mysql-functions: let `commit_time` unset in mysql_add_package_source() -- whoops, I forgot most of the files
-rwxr-xr-x | bin/get-package-updates | 8 | ||||
-rwxr-xr-x | bin/seed-build-list | 2 |
2 files changed, 3 insertions, 7 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates index 18149f9..3d1c1e3 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -380,15 +380,11 @@ trigger_rebuild_on_any_file_sed_expression=$( sort -k1,1 | \ sed 's|^[012] ||' } | \ - while read -r mode package git_revision old_git_revision repository; do - if [ "${old_git_revision}" = 'empty' ]; then - old_git_revision='' - fi + while read -r mode package git_revision _ repository; do if [ "${mode}" = 'D' ]; then # deleted PKGBUILD # shellcheck disable=SC2154 git_revision="${new_repo_revisions__archlinux32}" - old_git_revision='' found_package=false for repository in ${repo_names}; do eval 'repo_path="${repo_paths__'"${repository}"'}"' @@ -461,7 +457,7 @@ trigger_rebuild_on_any_file_sed_expression=$( mysql_run_query # shellcheck disable=SC2154 printf '%s ' "${package}" "${git_revision}" "${new_repo_revisions__archlinux32}" "${repository}" >&2 - mysql_generate_package_metadata "${repository_ids__any_to_be_decided}" "${package}" "${git_revision}" "${old_git_revision}" "${new_repo_revisions__archlinux32}" "${repository}" + mysql_generate_package_metadata "${repository_ids__any_to_be_decided}" "${package}" "${git_revision}" "${new_repo_revisions__archlinux32}" "${repository}" printf '\n' >&2 continue fi diff --git a/bin/seed-build-list b/bin/seed-build-list index 02da05c..0fc29f3 100755 --- a/bin/seed-build-list +++ b/bin/seed-build-list @@ -551,7 +551,7 @@ if ${update}; then while read -r pkgbase git_rev mod_git_rev repo; do printf '%s ' "${pkgbase}" "${git_rev}" "${mod_git_rev}" "${repo}" | \ sed 's/ $/\n/' - mysql_generate_package_metadata "${repository_ids__any_build_list}" "${pkgbase}" "${git_rev}" '' "${mod_git_rev}" "${repo}" + mysql_generate_package_metadata "${repository_ids__any_build_list}" "${pkgbase}" "${git_rev}" "${mod_git_rev}" "${repo}" done < \ "${tmp_dir}/update-list" |