From f609df352c267f6711b6b25f85e14f0d597926b5 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Mon, 11 Oct 2021 20:30:40 -0700 Subject: Default DELETE_UNQUEUED_PACKAGES to no and document. --- src/etc/poudriere.conf.sample | 11 +++++++++++ src/share/poudriere/common.sh | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/etc/poudriere.conf.sample b/src/etc/poudriere.conf.sample index c7f4ff3e..71b5b897 100644 --- a/src/etc/poudriere.conf.sample +++ b/src/etc/poudriere.conf.sample @@ -320,6 +320,17 @@ DISTFILES_CACHE=/usr/ports/distfiles # Defaut: yes #TRIM_ORPHANED_BUILD_DEPS=yes +# Whether or not bulk/testport should delete unknown files in the repository +# Default: yes +#DELETE_UNKNOWN_FILES=yes + +# Whether or not bulk/testport should automatically "pkgclean". +# Values: yes, always, no +# yes: Does the behavior with bulk -a and bulk -f. Use of testport or +# bulk -t or bulk -C will not delete unqueued packages. +# Default: no +#DELETE_UNQUEUED_PACKAGES=no + # A list of directories to exclude from leftover and filesystem violation # mtree checks. Ccache is used here as an example but is already # excluded by default. There is no need to add it here unless a diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh index 0e3722b3..502fa68b 100644 --- a/src/share/poudriere/common.sh +++ b/src/share/poudriere/common.sh @@ -8756,7 +8756,7 @@ fi : ${HTML_JSON_UPDATE_INTERVAL:=2} : ${HTML_TRACK_REMAINING:=no} : ${FORCE_MOUNT_HASH:=no} -: ${DELETE_UNQUEUED_PACKAGES:=yes} +: ${DELETE_UNQUEUED_PACKAGES:=no} : ${DELETE_UNKNOWN_FILES:=yes} DRY_RUN=0 INTERACTIVE_MODE=0 -- cgit v1.2.3