Updater against Forgejo releases #5

Closed
opened 2026-10-22 12:38:39 +02:00 by justinzeus · 0 comments
Owner

Shape: fork grilling with Justin, 2026-10-22 (firstmate report data/wolfskin-fork-grilling/report.md), go given 2026-10-22.

Goal

The in-app updater finds and installs Wolfskin releases from Forgejo: default updateUrl → https://git.justinvisser.org/api/v1/repos/justinzeus/wolfskin/releases/latest; the hard-coded GitHub URL in UpdateChecker.getRelease(version) (services/UpdateChecker.kt:131-132) → the Forgejo releases API; ASSET_NAME → "Wolfskin".

Constraints

Forgejo's release JSON (name, published_at, body, assets[].browser_download_url) is assumed compatible with UpdateChecker; prove it with a parsing test against a real Forgejo response, not only by inspection.

Acceptance

Unit/parsing test against a captured Forgejo release JSON; final proof is milestone check 3 (a second release installs from inside the app).

Shape: fork grilling with Justin, 2026-10-22 (firstmate report `data/wolfskin-fork-grilling/report.md`), go given 2026-10-22. ## Goal The in-app updater finds and installs Wolfskin releases from Forgejo: default `updateUrl` → `https://git.justinvisser.org/api/v1/repos/justinzeus/wolfskin/releases/latest`; the hard-coded GitHub URL in `UpdateChecker.getRelease(version)` (`services/UpdateChecker.kt:131-132`) → the Forgejo releases API; `ASSET_NAME` → "Wolfskin". ## Constraints Forgejo's release JSON (`name`, `published_at`, `body`, `assets[].browser_download_url`) is assumed compatible with `UpdateChecker`; prove it with a parsing test against a real Forgejo response, not only by inspection. ## Acceptance Unit/parsing test against a captured Forgejo release JSON; final proof is milestone check 3 (a second release installs from inside the app).
justinzeus added this to the Wolfskin replaces Wholphin on the TV milestone 2026-10-22 12:38:39 +02:00
Sign in to join this conversation.
No labels
exploring
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: justinzeus/wolfskin#5
No description provided.