Switch update-check tagsUrl to the public GitHub mirror #202
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Cordy/Cairn#202
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?
Follow-up to #180 (shipped v0.6.14, notify-only update-check against a configurable
updates.tagsUrl).Today the dogfood points
tagsUrlat the private Forgejo repo (http://192.168.10.245/api/v1/repos/Cordy/Cairn/tags). When the GitHub mirror goes public (#27), switch the feed to it.The switch is deliberately just config — the whole point of #180's design is that Forgejo and GitHub expose wire-compatible
/tagsJSON ([{"name":"vX.Y.Z"}]), so no code changes:updates.tagsUrl→https://api.github.com/repos/<owner>/<repo>/tagsin thecairn-enc-configsecret.updates.releaseUrlTemplate→https://github.com/<owner>/<repo>/releases/tag/{version}.updates.tokenempty.Also decide here: whether the shipped default (for customers, in
config.Default()/ docs) should point at the public GitHub tags feed out of the box, so a fresh install checks upstream with zero config. Air-gapped installs overridetagsUrlto their internal mirror (or unsetcheck).Do this at the same moment as the Paddle sandbox→live swap and the docs-site un-gating (the rest of the v0.8 going-public batch).
Triage: tandem/launch (v0.8, gated on #27). Already fully scoped above — a one-line
tagsUrl/releaseUrlTemplateconfig swap in thecairn-enc-configsecret, plus the decision on whether the shipped default points at public GitHub. Do it in the going-public batch with #26/#27.