Rename pal-e-docs repo to pal-e-api #217
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-api#217
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Type
Feature
Lineage
Standalone — addresses long-standing naming confusion. See
phase-pal-e-docs-repo-renames(deferred) andfeedback_naming_convention.md.Repo
forgejo_admin/pal-e-docs→forgejo_admin/pal-e-apiUser Story
As the platform
I want the backend API repo named pal-e-api instead of pal-e-docs
So that the repo name matches its role (FastAPI backend) and doesn't collide with the project name
Context
pal-e-docs is used for the project, the repo, the API, the MCP server, and the SDK — causing constant confusion. The naming convention established that pal-e-docs = project name only. The repo should be pal-e-api since it's the FastAPI backend.
Forgejo handles URL redirects after rename, so existing links won't break immediately. The MCP server key stays
pal-e-docs(it's the project name, not the repo name) — this means zero changes to hook tool matchers.File Targets
Forgejo API rename:
PATCH /api/v1/repos/forgejo_admin/pal-e-docswith{"name": "pal-e-api"}ArgoCD application update:
kubectl patch application -n argocd pal-e-docs --type merge -p '{"spec":{"source":{"repoURL":"https://forgejo.tail5b443a.ts.net/forgejo_admin/pal-e-api.git"}}}'Files to verify/update in the renamed repo:
CLAUDE.md— update repo name references.woodpecker.yaml— verify image paths still work (Harbor project name may differ from repo name)README.md— update repo name if referencedFiles the agent should NOT touch:
mcp__pal-e-docs__*stays — it's the project name)settings.jsonMCP server key (pal-e-docsstays)pal-e-docs(separate blast radius, may defer)Acceptance Criteria
forgejo_admin/pal-e-apiforgejo_admin/pal-e-docsredirectsTest Expectations
curl https://forgejo.tail5b443a.ts.net/api/v1/repos/forgejo_admin/pal-e-apireturns 200kubectl get application -n argocd pal-e-docs -o jsonpath='{.status.sync.status}'returns Syncedcurl -s https://pal-e-docs-api.tail5b443a.ts.net/healthConstraints
pal-e-docsis the project nameChecklist
Related
phase-pal-e-docs-repo-renames— deferred phase this replacesproject-pal-e-docs— project page needs updating afterforgejo_admin/pal-e-docs-sdk#38— downstream renameforgejo_admin/pal-e-docs-mcp#50— downstream renameScope Review: NEEDS_REFINEMENT
Review note:
review-439-2026-03-26Well-structured ticket with complete template sections and full traceability triangle, but three issues found in file targets.
POSTshould bePATCH /api/v1/repos/forgejo_admin/pal-e-docs.woodpecker.ymldoes not exist -- actual file is.woodpecker.yamlrepoURL: https://forgejo.tail5b443a.ts.net/forgejo_admin/pal-e-docs.gitthat needs updating.Optional: add Woodpecker webhook verification criterion, document dependency ordering with #442.
Scope Review: READY
Review note:
review-439-2026-03-26(updated)Re-review after refinement. All 3 previous issues resolved:
.woodpecker.yaml— correct extension (was .yml)File targets verified against live cluster: ArgoCD sources from repo's own
k8s/directory (not pal-e-deployments overlay),.woodpecker.yamlHarbor/namespace references correctly scoped as verify-only. Blast radius contained — no changes needed in pal-e-deployments, Harbor, or downstream repos for this ticket.Ready for
todo → next_up.Repo Rename Complete
All steps executed successfully.
What was done
PATCH /api/v1/repos/forgejo_admin/pal-e-docswith{"name": "pal-e-api"}https://forgejo.tail5b443a.ts.net/forgejo_admin/pal-e-api.gitpal-e-docstopal-e-apiwith rename noteforgejo_reporeference corrected217-rename-repo-to-pal-e-apiwith doc updates (commitc816600)Verification results
GET /api/v1/repos/forgejo_admin/pal-e-apiGET /api/v1/repos/forgejo_admin/pal-e-docs(old URL)spec.source.repoURLhttps://forgejo.tail5b443a.ts.net/forgejo_admin/pal-e-api.gitGET /healthzon live API{"status":"ok"}Discovered scope
pal-e-services/terraform/k3s.tfvarsstill referencesforgejo_repo = "forgejo_admin/pal-e-docs"-- Forgejo 301 redirect covers this for now, but should be updated in a separate ticket${CI_REPO}which Woodpecker populates dynamically, so the rename does not affect itNot touched (per constraints)
pal-e-docs-- separate blast radiuspal-e-docs-- project name, not repo namepal-e-docs/api-- Harbor project name, not repo name