index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-12-09 12:09:35 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-12-09 12:09:35 +0100 |
commit | 638581d3298c979aca14e1bba367426bdd3c22e0 (patch) | |
tree | ec988622e73c14625f3a92794822c10de127fda9 | |
parent | ae193d35edbdb63feeaefc2acd088d27e4003643 (diff) |
-rwxr-xr-x | bin/db-update | 18 |
diff --git a/bin/db-update b/bin/db-update index a9cd206..bf2dd99 100755 --- a/bin/db-update +++ b/bin/db-update @@ -508,13 +508,17 @@ if [ -z "$( "${s}.no-base" done + >&2 printf 'calculate what packages should be unstaged ...' find_biggest_subset_of_packages "${tmp_dir}/done-packages" "${tmp_dir}/build-list-packages" "${tmp_dir}/all-builds.no-base" "${tmp_dir}/all-depends.no-base" "${tmp_dir}/force-unstage-packages" > \ "${tmp_dir}/unstage-packages" + >&2 printf ' ok.\n' else + >&2 printf 'calculate what packages should be unstaged ...' find_biggest_subset_of_packages "${tmp_dir}/done-packages" "${tmp_dir}/build-list-packages" "${tmp_dir}/all-builds" "${tmp_dir}/all-depends" "${tmp_dir}/force-unstage-packages" > \ "${tmp_dir}/unstage-packages" + >&2 printf ' ok.\n' fi @@ -549,12 +553,20 @@ if [ -z "$( "${tmp_dir}/base-packages" \ - )" ]; then + >&2 echo 'db-update stabilize: we pretend, the group "base" does not exist, so we only fetch "direct" dependencies on base-packages' + >&2 printf 'calculate what packages should be stabilized ...' find_biggest_subset_of_packages "${tmp_dir}/stabilize-packages" "${tmp_dir}/keep-packages" "${tmp_dir}/all-builds.no-base" "${tmp_dir}/all-depends.no-base" "${tmp_dir}/force-stabilize-packages" | \ sponge "${tmp_dir}/stabilize-packages" + >&2 printf ' ok.\n' + else + + >&2 printf 'calculate what packages should be stabilized ...' find_biggest_subset_of_packages "${tmp_dir}/stabilize-packages" "${tmp_dir}/keep-packages" "${tmp_dir}/all-builds" "${tmp_dir}/all-depends" "${tmp_dir}/force-stabilize-packages" | \ sponge "${tmp_dir}/stabilize-packages" + >&2 printf ' ok.\n' + fi # unlock build list @@ -595,14 +607,16 @@ done < \ "${tmp_dir}/unstage-packages" | \ sponge "${tmp_dir}/unstage-packages" -# move packages in packages_to_stabilize from *testing/ to the stable repos if [ -s "${tmp_dir}/stabilize-packages" ]; then + >&2 printf 'move packages from *testing/ to the stable repos ...' move_packages "${tmp_dir}/stabilize-packages" + >&2 printf ' ok.\n' fi -# move packages from *staging to *testing if [ -s "${tmp_dir}/unstage-packages" ]; then + >&2 printf 'move packages from *staging to *testing ...' move_packages "${tmp_dir}/unstage-packages" + >&2 printf ' ok.\n' fi clean_up_lock_file |