Skip to content

Simplify paude harvest with multiple remotes per session - #255

Merged
bbrowning merged 5 commits into
mainfrom
paude-harvest-simplify
Aug 26, 2026
Merged

bbrowning merged 5 commits into
mainfrom
paude-harvest-simplify

Conversation

@bbrowning

Copy link
Copy Markdown
Owner

This cleans up the UX of paude harvest when dealing with paude sessions that contain multiple repos, such as gascity and lots of rigs attached separate from the city workspace at the root.

Allow harvest to select a branch or ref that is not checked out in the
container. Reuse matching ext remotes from the current host repository
so multi-repository sessions do not require repeated path and remote
flags.
Pass an omitted container path through to the workflow so it can infer
that path from a matching ext remote. Discover the current repository
when harvest is invoked from a nested working directory.
Fetch explicitly named refs directly and check out FETCH_HEAD so tags,
pull request refs, and other full refs do not depend on remote-tracking
branch names.
Fetch the selected branch explicitly and reset from FETCH_HEAD. This
avoids reusing a stale remote-tracking ref and allows host destinations
that are linked Git worktrees.
Treat an ext remote containing a %S marker as unsafe when its command
cannot be parsed. This prevents a mismatched container path from
bypassing harvest validation and clarifies the inferred CLI defaults.
@bbrowning
bbrowning merged commit 626919c into main Aug 26, 2026
5 checks passed
@bbrowning
bbrowning deleted the paude-harvest-simplify branch August 26, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant