aboutsummaryrefslogtreecommitdiffstats
path: root/sbo-batch-test
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-07-11 10:54:59 +0200
committerDanilo M. <danix@danix.xyz>2026-07-11 10:54:59 +0200
commitd0ea4601820e639a261a9f1075e5358a8cb089af (patch)
treedfe258b07582fc5fb26b6d326caf3547687d6724 /sbo-batch-test
parent92c3247557ec00fc5fde1e3ffd779736ca0bc5bc (diff)
downloadsbo-batch-tester-d0ea4601820e639a261a9f1075e5358a8cb089af.tar.gz
sbo-batch-tester-d0ea4601820e639a261a9f1075e5358a8cb089af.zip
Add SBO_RSYNC_URL and SBO_PERSONAL_TREES config vars
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'sbo-batch-test')
-rwxr-xr-xsbo-batch-test10
1 files changed, 10 insertions, 0 deletions
diff --git a/sbo-batch-test b/sbo-batch-test
index 159827f..5f9695d 100755
--- a/sbo-batch-test
+++ b/sbo-batch-test
@@ -46,6 +46,16 @@ PKG_CACHE=""
VERSION="15.0"
+# rsync source for the SBo tree (same source sbopkg uses). --setup-repo rsyncs
+# it fresh; --update rsyncs with --delete (personal subtrees excluded) to
+# unshadow. Empty defaults; real value in the external config.
+SBO_RSYNC_URL=""
+
+# Personal SBo subtrees: dir name (under SBO_TREE_ROOTS[0]) -> git clone URL.
+# declare -A here so the external config's assignment lands as a global assoc
+# array. --setup-repo clones each; --update git-pulls each; both then shadow.
+declare -A SBO_PERSONAL_TREES=()
+
# Source the external config if present. Not an error here if missing (keeps the
# script sourceable by test-logic.sh); validate_env / init_base report it.
SBO_BATCH_CONFIG="${SBO_BATCH_CONFIG:-$HOME/.config/sbo-batch-tester/config}"