aboutsummaryrefslogtreecommitdiff
path: root/scripts/testing/archsetup-vm.conf
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-04-20 09:05:39 -0500
committerCraig Jennings <c@cjennings.net>2026-04-20 09:05:39 -0500
commitda7896e3136807ff1b19410f866da12262eab0db (patch)
tree58d7bffe406ceae144cd73555d0fa15ec64ec9d8 /scripts/testing/archsetup-vm.conf
parentac1c8453612bfb93e2a23843ee0fdf31eb33a19e (diff)
downloadarchsetup-da7896e3136807ff1b19410f866da12262eab0db.tar.gz
archsetup-da7896e3136807ff1b19410f866da12262eab0db.zip
aix: synchronous fetch + git-status annotations + auto-pull if clean
Adds multi-machine sync awareness to the session launcher. Before fzf: - Fetches all candidate repos in parallel (capped at 6 concurrent) - Annotates each entry with git status: (↑N ↓N dirty), (no upstream) - Clean repos show no annotation When launching a window: - If working tree is clean, has upstream, is behind (not ahead): pull - Otherwise: open window as-is, user handles any sync manually Design choices: - Fetches are synchronous — accurate status at the cost of a brief wait on session start. Parallel execution keeps it fast (~1-2s for 22 repos). - Pull is --ff-only — never merges, never creates merge commits in aix - Diverged repos (ahead AND behind) trigger no auto-action; user decides - No stash/pop dance — unreliable in multi-project batches; prefer explicit awareness via annotation Primary use case: moving between laptop and desktop. Wrap-it-up's always-push ensures remote is current at session end; this ensures local is current at next session start.
Diffstat (limited to 'scripts/testing/archsetup-vm.conf')
0 files changed, 0 insertions, 0 deletions