index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2023-05-22 10:35:26 +0200 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2023-05-22 10:35:26 +0200 |
commit | 49badd0b69b96c23b307e97f86f2f0ca1e302752 (patch) | |
tree | e83654e30ad9ae2ca9449e3986eca67834bf6eb3 /bin/get-package-updates | |
parent | 07222edeb968f22132e0078343811a873fdab189 (diff) |
-rwxr-xr-x | bin/get-package-updates | 6 |
diff --git a/bin/get-package-updates b/bin/get-package-updates index 28e3536..f9ef9d6 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -335,10 +335,9 @@ echo 'Check modified packages from the last update, and put them to the build li if [ "${mode}" = '<' ]; then if check_if_package_should_be_deleted "${pkgbase}" "${repository}"; then delete_package 'any' "${pkgbase}" - continue - else - mode='>' + # TODO: remove moved packages, too fi + continue fi if git -C "${repo_paths__archlinux32}" archive "${new_repo_revisions__archlinux32}" -- "${repository}/${pkgbase}" >/dev/null 2>&1; then mod_git_revision="${new_repo_revisions__archlinux32}" @@ -347,6 +346,7 @@ echo 'Check modified packages from the last update, and put them to the build li fi printf '%s %s %s %s\n' "${pkgbase}" "${repository}" "${git_revision}" "${mod_git_revision}" done + exit 1 git -C "${repo_paths__archlinux32}" diff "${old_repo_revisions__archlinux32}^^" "${new_repo_revisions__archlinux32}" --name-status \ | tr '\t/' ' ' \ | cut -d' ' -f1,2,3 \ |