auto-discover org containers in code() launcher (redo of #13) #16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "code-fn-auto-discover-org-containers-retry"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Re-do of #13. Forgejo's merge API returned
HTTP 200withmerged=truefor #13 but main wasn't actually advanced — parallel squash-merge race with #15 meant only #15 landed on main. Same content, cherry-picked fresh onto current main.Details
Replaces the hardcoded
HHS//department-of-veterans-affairs/fallback in thecode()zsh launcher with a scan of~/code/*/for any directory matching the argument. Skips containers that are themselves git repos so a top-level project with a same-named subdir isn't mistaken for a container. Warns on ambiguity and suggests the explicitcontainer/projectform.Test plan
Follow-up
The stale remote branch
code-fn-auto-discover-org-containers(from #13) is still on origin. Safe to delete after this merges.