8 Commits

Author SHA1 Message Date
lyn
95cf7b85fa feat(git-hangman-lab): add --visibility flag to repo create
Previously repo create only initialized the local repo and relied on
Gitea's push-to-create feature, which always yields a private
repository. Now the script pre-creates the remote via the Gitea API
honoring --visibility public|private (default: private), and falls
back to a PATCH when the repo already exists.
2026-04-15 16:22:30 +00:00
82e287b265 refactor(git-hangman-lab): get-latest now uses search API instead of list-all parsing
Replace fragile list-all + awk URL extraction with repo search command
for repo URL lookup. search returns {name,id,owner,clone-url} with
exact match, eliminating column-index dependency.
2026-04-14 22:01:34 +00:00
597282cbd7 fix(git-hangman-lab): repo search - output single match as {"name","id","owner","clone-url"}, exit 1 if not found 2026-04-14 21:57:44 +00:00
060b95f699 feat(git-hangman-lab): repo search - search repository by exact name
Send GET to /api/v1/repos/search?q={name} and filter results
by exact name match. Output: {"ok": true/false, "data": [...]}
with each match containing id, owner.login, name, clone_url.
2026-04-14 21:52:27 +00:00
0b0f7d2a9f fix(git-hangman-lab): repo get-latest - fix URL extraction from list-all output
The awk field parser was using $3 (owner column) instead of $4 (url column).
Also fixed space trimming on extracted URL field.
2026-04-14 19:27:29 +00:00
lyn
87e75b77e8 Add repo get-latest subcommand: pull latest or clone if missing, with --recursive and --force support 2026-04-14 08:34:23 +00:00
lyn
d20e827a5c Integrate create-repo/add-collaborators/list-projs/repo-config into repo script, remove originals, update git-ctrl and SKILL.md 2026-04-13 13:49:23 +00:00
lyn
f3c19ba6e2 Add repo subcommand with create/add-collaborators/list-all/config; clean up SKILL.md 2026-04-13 13:46:46 +00:00