Skip to content

Commit 1c3ce92

Browse files
committed
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 <[email protected]>
1 parent a94b2a4 commit 1c3ce92

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pkg_auto/impl/pkg_auto_lib.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2275,6 +2275,8 @@ function handle_package_changes() {
22752275
mvm_declare hpc_pkg_slots_set_mvm mvm_mvc_set
22762276
read_reports hpc_all_pkgs hpc_pkg_slots_set_mvm
22772277

2278+
info "doing package consistency checks"
2279+
22782280
# map[package]map[slot]string (string being "min version:max version")
22792281
mvm_declare hpc_old_pkg_slot_verminmax_map_mvm mvm_mvc_map
22802282
mvm_declare hpc_new_pkg_slot_verminmax_map_mvm mvm_mvc_map
@@ -2283,6 +2285,8 @@ function handle_package_changes() {
22832285

22842286
unset_report_mvms
22852287

2288+
info "preparing for handling package changes"
2289+
22862290
# TODO: when we handle moving packages between repos, then there
22872291
# should be two maps, for old and new state
22882292
local -A hpc_package_sources_map
@@ -3237,6 +3241,8 @@ function handle_eclass() {
32373241
# shellcheck source=for-shellcheck/globals
32383242
source "${WORKDIR}/globals"
32393243

3244+
info "handling update of ${eclass}"
3245+
32403246
local -a lines
32413247
lines=()
32423248
if [[ -e "${OLD_PORTAGE_STABLE}/${eclass}" ]] && [[ -e "${NEW_PORTAGE_STABLE}/${eclass}" ]]; then
@@ -3259,6 +3265,8 @@ function handle_profiles() {
32593265
# shellcheck source=for-shellcheck/globals
32603266
source "${WORKDIR}/globals"
32613267

3268+
info "handling update of profiles"
3269+
32623270
local -a files=()
32633271
local which arch
32643272
for which in "${WHICH[@]}"; do
@@ -3329,6 +3337,8 @@ function handle_licenses() {
33293337
# shellcheck source=for-shellcheck/globals
33303338
source "${WORKDIR}/globals"
33313339

3340+
info "handling update of licenses"
3341+
33323342
local -a dropped=() added=() changed=()
33333343
local line hl_stripped
33343344
# Lines are:
@@ -3402,6 +3412,8 @@ function handle_scripts() {
34023412
# shellcheck source=for-shellcheck/globals
34033413
source "${WORKDIR}/globals"
34043414

3415+
info "handling update of scripts"
3416+
34053417
local out_dir
34063418
out_dir="${REPORTS_DIR}/updates/scripts"
34073419
mkdir -p "${out_dir}"

0 commit comments

Comments
 (0)