fix(install): use Forgejo's releases/download/latest URL, not GitHub's latest/download (404s on the forge) #457

Merged
hexajon merged 1 commit from fix/forge-download-url-scheme into main 2026-08-27 02:41:26 +00:00
Owner

Summary

The install one-liners used GitHub's /releases/latest/download/<asset> URL scheme, which Forgejo/Gitea does not serve - it 404s on git.cheshirecube.cloud. Forgejo's form is /releases/download/latest/<asset>, verified returning 200 and pulling the full tarball. This was a leftover from the GitHub-edge era (ADR 0032), missed in the ADR 0033 repoint to cheshirecube.

  • README.md, docs/guides/install.md: fix the Linux curl one-liner.
  • .goreleaser.yaml, internal/cmd/update/release.go: fix the now-inaccurate comments that cited the GitHub scheme.

The self-updater is unaffected: it downloads via the API's browser_download_url, not a constructed path. Full gate green.

## Summary The install one-liners used GitHub's `/releases/latest/download/<asset>` URL scheme, which Forgejo/Gitea does not serve - it 404s on git.cheshirecube.cloud. Forgejo's form is `/releases/download/latest/<asset>`, verified returning 200 and pulling the full tarball. This was a leftover from the GitHub-edge era (ADR 0032), missed in the ADR 0033 repoint to cheshirecube. - `README.md`, `docs/guides/install.md`: fix the Linux curl one-liner. - `.goreleaser.yaml`, `internal/cmd/update/release.go`: fix the now-inaccurate comments that cited the GitHub scheme. The self-updater is unaffected: it downloads via the API's `browser_download_url`, not a constructed path. Full gate green.
fix(install): use Forgejo's releases/download/latest URL, not GitHub's latest/download (404s on the forge)
All checks were successful
drift / govulncheck (pull_request) Has been skipped
drift / surface-diff (pull_request) Successful in 54s
drift / forgejo-smoke (pull_request) Has been skipped
ci / mcp-conformance (pull_request) Successful in 2m9s
ci / mcp-conformance (push) Successful in 2s
drift / govulncheck (push) Has been skipped
drift / surface-diff (push) Successful in -6s
drift / forgejo-smoke (push) Has been skipped
ci / gate (push) Successful in 12m42s
ci / gate (pull_request) Successful in 17m51s
abcea1257d
Sign in to join this conversation.
No reviewers
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
sixfold-space/madtea!457
No description provided.