Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2021-09-01 06:05:55 +0300
committerBryan Drewery <bryan@shatow.net>2021-09-01 06:07:34 +0300
commita3b8720a3d6eadfafee6808421c05950f421e1a5 (patch)
tree72118ae4d9164a45c8c637a9994f19d39118de81 /src
parent154acc1608ff2a019fec03ae67dd0e84961d87ad (diff)
delete_old_pkg: Clarify FLAVOR/pkgclean handling
Issue #915
Diffstat (limited to 'src')
-rw-r--r--src/share/poudriere/common.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh
index c5b21354..9eced978 100644
--- a/src/share/poudriere/common.sh
+++ b/src/share/poudriere/common.sh
@@ -5493,6 +5493,13 @@ delete_pkg_xargs() {
}
# Incremental rebuild checks.
+#
+# Most checks here operate on PKGNAME which is *unique* for any given
+# origin+FLAVOR pair.
+# We do not automatically do a "pkgclean" here as we only inspect packages that
+# are queued or listed to be built. If we inspected everything then we would
+# cause users who test with a subset of their normal ports to lose packages.
+#
# We delete and force a rebuild in these cases:
# - pkg bootstrap is not available
# - FORBIDDEN is set for the port
@@ -5507,7 +5514,7 @@ delete_pkg_xargs() {
# - Changed PKGNAME
# - PORTVERSION, PORTREVISION, or PORTEPOCH bump.
# - Changed ABI/ARCH/NOARCH
-# - Default FLAVOR changed
+# - FLAVOR for a PKGNAME changed
# - New list of dependencies (not including versions)
# (requires default-on CHECK_CHANGED_DEPS)
# - Changed options