brew: switch Formula + release workflow to forgejo source URLs #79

Closed
opened 2026-05-25 06:03:56 +00:00 by coilysiren · 0 comments
Owner

Problem

Per-repo Formula url / head / homepage and the release workflow's Formula-rewrite step all point at github.com/coilysiren/coily. Forgejo is canonical for coilysiren source now (decision made in chat 2026-05-24).

Change

  • Formula/coily.rb: url + head + homepage switched to https://forgejo.coilysiren.me/coilysiren/coily(.git). Scheme is HTTPS (not SSH) since forgejo's deployed posture is HTTPS-only git (see infrastructure/docs/forgejo-deploy-plan.md:19).
  • .github/workflows/release.yml: the new_line= that rewrites the Formula on each release now emits the forgejo URL, so the next release doesn't clobber the change. Header comment updated to show the forgejo brew-tap command.
  • README.md: bootstrap brew-tap command points at forgejo.
  • cmd/coily/brew.go: brewTapScopedAction accepts https://forgejo.coilysiren.me/coilysiren/<repo> URL positionals (new brewTapPositionalAllowed helper). Previously the URL positional in brew tap coilysiren/<x> <url> was only allowed when the URL started with coilysiren/, which forced --allow-untapped. Forgejo URLs now pass the scope check.

Note

The forgejo repo reports mirror:false and no push automation writes to it yet. Until the push flow is flipped, brew install will 404 on tags that exist on github but not on forgejo. Tracked separately.

**Problem** Per-repo Formula `url` / `head` / `homepage` and the release workflow's Formula-rewrite step all point at `github.com/coilysiren/coily`. Forgejo is canonical for coilysiren source now (decision made in chat 2026-05-24). **Change** - `Formula/coily.rb`: `url` + `head` + `homepage` switched to `https://forgejo.coilysiren.me/coilysiren/coily(.git)`. Scheme is HTTPS (not SSH) since forgejo's deployed posture is HTTPS-only git (see infrastructure/docs/forgejo-deploy-plan.md:19). - `.github/workflows/release.yml`: the `new_line=` that rewrites the Formula on each release now emits the forgejo URL, so the next release doesn't clobber the change. Header comment updated to show the forgejo brew-tap command. - `README.md`: bootstrap brew-tap command points at forgejo. - `cmd/coily/brew.go`: `brewTapScopedAction` accepts `https://forgejo.coilysiren.me/coilysiren/<repo>` URL positionals (new `brewTapPositionalAllowed` helper). Previously the URL positional in `brew tap coilysiren/<x> <url>` was only allowed when the URL started with `coilysiren/`, which forced `--allow-untapped`. Forgejo URLs now pass the scope check. **Note** The forgejo repo reports `mirror:false` and no push automation writes to it yet. Until the push flow is flipped, `brew install` will 404 on tags that exist on github but not on forgejo. Tracked separately.
Sign in to join this conversation.
No labels
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
coilyco-bridge/coily#79
No description provided.