Admin version tab: show running version + "check for updates" against the public repo (post-launch) #180
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#180
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?
Dogfood note (Nikola): how does an operator update their Cairn instance? Wanted: a version tab in the admin panel showing the current version, a "check version" button reaching out to the GitHub repo, and thoughts on an "update" button.
Filed in v0.8 deliberately: the check needs the public GitHub mirror (#27) to exist, and Nikola's note already says to test it in the going-public milestone.
Design position to ratify when we get here:
/api/v1/admin/infoalready carriesversion; the admin panel shows it today only implicitly. A proper card: running version, release date, link to CHANGELOG.GET https://api.github.com/repos/<mirror>/releases/latestcompared against the running version. Strictly opt-in and click-triggered — Cairn's no-phone-home posture is a selling point (the license check-in is the one documented exception); a background update pinger would betray it. Air-gapped instances simply see "check" fail gracefully.docs/handbook/deployment.md(which documents the CHANGELOG-first upgrade rule). If beta feedback demands more, the ceiling is a copy-pasteable per-deployment command, never in-process self-replacement.Done in v0.6.14 (PR #201), live on the dogfood: the admin Settings card shows the running version and, with an
updatesconfig block, checks a Forgejo/tagsfeed and reports up-to-date / newer-available (notify-only, semver-compared, deployment-appropriate how-to hint + release link). Verified working (Updates: Up to date).The remaining piece — swapping
tagsUrlfrom the Forgejo repo to the public GitHub mirror — is gated on the mirror going public (#27), so it's being tracked as its own v0.8 launch task rather than left open here. Closing.