Download draft release assets by attachment UUID #7

Merged
freemovement merged 1 commit from codex/use-forgejo-attachment-route into main 2026-11-10 23:11:28 +00:00
Owner

The publisher now downloads draft assets from /attachments/{uuid}, using the UUID returned by Forgejo’s release asset API. The previous code followed browser_download_url under /releases/download/..., which returned 404 for the workflow run even though the asset had been uploaded and appeared in the draft. The attachment route uses the configured Forgejo origin and retains the byte-for-byte check.

Read-only verification against the current draft Cyprus asset returned 1,784,932 bytes, matching the API-reported size, with a ZIP signature. Python syntax and diff checks pass. The actual automatic Actions token is only confirmed on a subsequent workflow run; no release was published or latest pointer moved.

The publisher now downloads draft assets from `/attachments/{uuid}`, using the UUID returned by Forgejo’s release asset API. The previous code followed `browser_download_url` under `/releases/download/...`, which returned 404 for the workflow run even though the asset had been uploaded and appeared in the draft. The attachment route uses the configured Forgejo origin and retains the byte-for-byte check. Read-only verification against the current draft Cyprus asset returned 1,784,932 bytes, matching the API-reported size, with a ZIP signature. Python syntax and diff checks pass. The actual automatic Actions token is only confirmed on a subsequent workflow run; no release was published or latest pointer moved.
freemovement deleted branch codex/use-forgejo-attachment-route 2026-11-10 23:11:32 +00:00
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!7
No description provided.