2.0 KiB
2.0 KiB
Repo Split Publish Runbook
Use this runbook after valid Gitea credentials are available (PAT or git credential-helper username/password).
Local Seed Repos (already initialized)
launcherat/Users/vsg/Documents/VSG Codex/launcher(commitcaf06d2)governanceat/Users/vsg/Documents/VSG Codex/governance(commit823f201)contractsat/Users/vsg/Documents/VSG Codex/contracts(commitdbac2f0)
Create Remote Repos
- Create
edut/launcher(private) - Create
edut/governance(private) - Create
edut/contracts(private or public per policy)
Example (replace <TOKEN>):
curl -fsSL -H "Authorization: token <TOKEN>" -H "Content-Type: application/json" \
-X POST "https://git.workvsg.com/api/v1/orgs/edut/repos" \
-d '{"name":"launcher","private":true,"description":"EDUT free launcher shell and wallet onboarding app"}'
Repeat for governance and contracts.
Or run the helper with PAT:
cd "/Users/vsg/Documents/VSG Codex/web"
./scripts/publish_split_repos.sh <gitea_pat>
Or run it without arguments to use git credential helper auth for git.workvsg.com:
cd "/Users/vsg/Documents/VSG Codex/web"
./scripts/publish_split_repos.sh
Push Local Seed Repos
cd "/Users/vsg/Documents/VSG Codex/launcher"
git remote add origin https://git.workvsg.com/edut/launcher.git
git push -u origin main
cd "/Users/vsg/Documents/VSG Codex/governance"
git remote add origin https://git.workvsg.com/edut/governance.git
git push -u origin main
cd "/Users/vsg/Documents/VSG Codex/contracts"
git remote add origin https://git.workvsg.com/edut/contracts.git
git push -u origin main
Post-Publish Validation
- Verify each repo has expected initial commit.
- Verify repo visibility policy (public/private) matches boundary blueprint.
- Add cross-repo links in each README.
- Lock branch protections and required-review settings.
Current Blocker
Gitea API creation attempts with current credential material return 401 invalid username/password/token.