mirror of
https://github.com/flatcar/scripts.git
synced 2026-01-14 21:12:37 +01:00
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 <knowak@microsoft.com>
This commit is contained in:
parent
a94b2a4264
commit
1c3ce92dc5
@ -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}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user