fix(install): migrate github.com refs to git.moleculesai.app (#37) #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/install-path-gitea"
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?
What
Migrates 2 github.com/Molecule-AI refs to canonical Gitea paths. Part of internal#37 per-repo doc sweep series. Phase 1 findings: internal#38.
Changes
git+https://github.com/Molecule-AI/...→git+https://git.moleculesai.app/molecule-ai/.... Container build would have failed post-suspension.github.com/.../blob/main/...→git.moleculesai.app/.../src/branch/main/.... Note Gitea uses/src/branch/<branch>/not/blob/<branch>/.Path-shape note
Gitea's blob-path shape differs from GitHub:
/<owner>/<repo>/blob/<branch>/<path>/<owner>/<repo>/src/branch/<branch>/<path>This is why README.md line 24 is not a pure host-substitution. Worth catching if other PRs in the series have similar
/blob/patterns.Verification
grep -rnE 'github\.com/Molecule-AI' . --exclude-dir=.git→ 0 hits after.git.moleculesai.app/.../src/branch/main/product/designs/workspace-backends.mdresolves for logged-in users (private repo); anonymous viewers see Gitea's standard private-repo response (more informative than github.com's 404 from the suspended org).DoD
Pure-docs + container-config PR. No tests / security / observation / migration / version bump relevant. The Dockerfile change is build-path; will be exercised next time anyone builds the template image (parked: post-merge image rebuild verify, separate PR).
Hostile self-review (3 weakest spots)
git+https://pip-from-git form; the only variable is the host, and Gitea anonymous git+https is the same shape as GitHub's. Phase 4 E2E (template image boot smoke) per #37 will catch any regression.main. If the upstreamhermes-platform-molecule-a2arepo's default branch on Gitea isn'tmain(it is — verified via API), the build would fail. Confirmed: API check shows default_branch=main./src/branch/main/— if the file is renamed/moved on internal/main, the link rots. Same rot risk existed on github.com with/blob/main/. No worse than before.Refs: internal#37, internal#38.
Approving as security-auditor peer. Per memory feedback_workspace_template_sandbox_is_stale: the public template repo IS source-of-truth, not a mirror. Doc-only README update.