From 1c3ce92dc5f2cc5b91ca732989fbc7dc644f7ea6 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Wed, 20 Aug 2025 13:28:32 +0200 Subject: [PATCH] pkg-auto: More printing of current actions This is to fill the silent moment between report generation in SDKs and the beginning of package updates handling. Also adds missing info about handling non-package updates. Signed-off-by: Krzesimir Nowak --- pkg_auto/impl/pkg_auto_lib.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkg_auto/impl/pkg_auto_lib.sh b/pkg_auto/impl/pkg_auto_lib.sh index 6df3a22247..5604b4d4bc 100644 --- a/pkg_auto/impl/pkg_auto_lib.sh +++ b/pkg_auto/impl/pkg_auto_lib.sh @@ -2275,6 +2275,8 @@ function handle_package_changes() { mvm_declare hpc_pkg_slots_set_mvm mvm_mvc_set read_reports hpc_all_pkgs hpc_pkg_slots_set_mvm + info "doing package consistency checks" + # map[package]map[slot]string (string being "min version:max version") mvm_declare hpc_old_pkg_slot_verminmax_map_mvm mvm_mvc_map mvm_declare hpc_new_pkg_slot_verminmax_map_mvm mvm_mvc_map @@ -2283,6 +2285,8 @@ function handle_package_changes() { unset_report_mvms + info "preparing for handling package changes" + # TODO: when we handle moving packages between repos, then there # should be two maps, for old and new state local -A hpc_package_sources_map @@ -3237,6 +3241,8 @@ function handle_eclass() { # shellcheck source=for-shellcheck/globals source "${WORKDIR}/globals" + info "handling update of ${eclass}" + local -a lines lines=() if [[ -e "${OLD_PORTAGE_STABLE}/${eclass}" ]] && [[ -e "${NEW_PORTAGE_STABLE}/${eclass}" ]]; then @@ -3259,6 +3265,8 @@ function handle_profiles() { # shellcheck source=for-shellcheck/globals source "${WORKDIR}/globals" + info "handling update of profiles" + local -a files=() local which arch for which in "${WHICH[@]}"; do @@ -3329,6 +3337,8 @@ function handle_licenses() { # shellcheck source=for-shellcheck/globals source "${WORKDIR}/globals" + info "handling update of licenses" + local -a dropped=() added=() changed=() local line hl_stripped # Lines are: @@ -3402,6 +3412,8 @@ function handle_scripts() { # shellcheck source=for-shellcheck/globals source "${WORKDIR}/globals" + info "handling update of scripts" + local out_dir out_dir="${REPORTS_DIR}/updates/scripts" mkdir -p "${out_dir}"