Add migration plan for Forgejo brew-to-source transition #140
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "doc/forgejo-brew-migration-plan"
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
docs/how-to/plans/migrate-forgejo-from-brew.md— full Diataxis-style plan covering background, one-time migration steps, Ansible role changes (with exact code), verification checklist, and future considerationsdocs/how-to/plans/plans.md— new plans subdirectory index for upcoming migration/transition plansdocs/how-to/how-to.mdwith a Plans sectiondocs/tutorials/exploring-the-docs.mdto mention plans in the doc structure table and quick-path sections for Owner and AI audiencesTest plan
docs-check-linkspassesdocs-check-indexpasses@ -0,0 +9,4 @@# Plan: Migrate Forgejo from Brew to Source Build> **Status:** Planned (not yet executed)> **Audience:** AI agent, Ownerwe dont need audience labels on non-tutorials
@ -0,0 +18,4 @@### Why Source Build?- **Version pinning** — upgrade on our schedule by checking out specific tags- **Consistency** — matches [[zot]], caddy, and alloy deployment patternsI think caddy and alloy have service reference cards to link to here as well. if not, just skip this comment
@ -0,0 +35,4 @@http://localhost:3001/eblume/forgejo.git```> **Note:** Use `localhost:3001` because hairpinning through Caddy doesn't work from indri itself.is that true? i thought caddy fixed that actually, can we test this?
@ -0,0 +50,4 @@### 2. Add Forge Mirror as Secondary Remote```fishssh indri 'cd ~/code/3rd/forgejo && git remote add forge http://localhost:3001/eblume/forgejo.git'see above question on whether hairpinning is a valid concern
@ -0,0 +64,4 @@Forgejo requires Go 1.24+ and Node 20+:```fishssh indri 'cd ~/code/3rd/forgejo && mise use go@1.24 node@20'maybe make a note here to start a local-only branch
indri-deploymentwhich we'll rebase during upgrades@ -0,0 +149,4 @@# ssh indri 'git clone https://codeberg.org/forgejo/forgejo.git ~/code/3rd/forgejo'## 2. Add forge mirror as secondary remote:# ssh indri 'cd ~/code/3rd/forgejo && git remote add forge http://localhost:3001/eblume/forgejo.git'see above notes about hairpinning
@ -0,0 +280,4 @@- **CI-built binaries** — build on gilbert or in Forgejo Actions, deploy as artifact- **Artifact release system** — tag-triggered binary builds, similar to container releases (`mise run container-release`)- **Automated upgrades** — Renovate or similar watching Codeberg tags, opening PRs with version bumpsAlso add indri user management to this list. We really aught to run all of these services as their own users. I tried doing that once and I think a forgejo user still exists but it went really wonky. macos user session management is hard with launch agents, even when using the root launch agent thing.