Fix Forgejo release asset verification #5

Merged
freemovement merged 1 commit from codex/fix-release-asset-download into main 2026-11-10 22:36:13 +00:00
Owner

Forgejo’s release asset API endpoint returns attachment metadata JSON for GET requests, so the publisher compared that JSON to the local archive and rejected a valid draft. Download each asset from its API-provided browser URL, restricted to the configured Forgejo origin, then keep the existing byte-for-byte verification.

The failed run’s Cyprus asset was confirmed byte-identical to a fresh build. The updated downloader was verified against that draft asset; no release was published or latest pointer moved.

Forgejo’s release asset API endpoint returns attachment metadata JSON for GET requests, so the publisher compared that JSON to the local archive and rejected a valid draft. Download each asset from its API-provided browser URL, restricted to the configured Forgejo origin, then keep the existing byte-for-byte verification. The failed run’s Cyprus asset was confirmed byte-identical to a fresh build. The updated downloader was verified against that draft asset; no release was published or latest pointer moved.
Sign in to join this conversation.
No reviewers
No labels
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
eu-family/freemovement-plugin!5
No description provided.