Skip to content

Commit 23b937e

Browse files
committed
pkg-auto: Update docs of package handling functions
1 parent 23ba12f commit 23b937e

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

pkg_auto/impl/pkg_auto_lib.sh

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2073,6 +2073,19 @@ function handle_package_changes_job() {
20732073
return 0
20742074
}
20752075

2076+
# Generate a report about one, possibly renamed, package. This
2077+
# includes generating diffs between old and new ebuilds for each of
2078+
# used slot of a package, diffs of other files the package has, some
2079+
# automatic reports based on md5-cache entries along with summary and
2080+
# changelog stubs.
2081+
#
2082+
# Parameters:
2083+
#
2084+
# 1 - the main output directory, the generated output will end up in
2085+
# some subdirectories
2086+
# 2 - bunch of maps (generally, package information)
2087+
# 3 - old package name
2088+
# 4 - new package name
20762089
function handle_one_package_change() {
20772090
local output_dir=${1}; shift
20782091
local -n bunch_of_maps_ref=${1}; shift
@@ -2355,10 +2368,8 @@ function handle_one_package_change() {
23552368
pkg_debug_disable
23562369
}
23572370

2358-
# This monstrosity takes renames map and package tags information,
2359-
# reads the reports, does consistency checks and uses the information
2360-
# from previous steps to write out package differences between the old
2361-
# and new state into the reports directory.
2371+
# Reads the reports, does consistency checks, runs jobs to process all
2372+
# the packages, and writes out reports into the reports directory.
23622373
#
23632374
# Params:
23642375
#

0 commit comments

Comments
 (0)