Repository navigation
Choose where worktrees go, and skip fresh gates before a push - #239
Merged
Merged
Conversation
start and pull -worktree now share one resolver and read the same worktrees: config. The
template expands {dir} {repo} {slug} {issue} {name}; without it each command keeps its layout.
With the Orca launcher the workspace name follows the template.
specsync gates -if-stale runs nothing when the stamp names HEAD on a clean tree, and is refused with -only. A pre-push hook can call it on every push.
Deploying specsync with
|
| Latest commit: |
dd73e26
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://3fe65188.specsync.pages.dev |
| Branch Preview URL: | https://feat-worktree-path-template.specsync.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two small changes that let a repo's own conventions drive the flow verbs.
worktrees.pathsets the folder layout forstartandpull -worktree, for example{dir}/{repo}/{name}. Without the key nothing changes.specsync gates -if-staleruns nothing when the gates already passed on this commit with a clean tree. A pre-push hook can call it on every push.Tested:
go test ./...,specsync validate,specsync linton both changes. A realpre-pushhook blocked a failing gate and skipped a passing repeat.Closes #237
Closes #238