Skip to main content

Module forgejo

Module forgejo 

Source
Expand description

Forgejo and Gitea pull requests behind Host, through the REST API (v1), which the two share.

The API has no review threads, only review comments: comments on the same file and line make one thread, as the web UI shows them, and a thread’s ID is its first comment’s. A reply is a new single-comment review on that line. Checks are the head commit’s statuses, which is where Forgejo Actions reports its jobs.

Resolving a conversation is only in Gitea’s API, from 1.26 (POST /repos/{owner}/{repo}/pulls/comments/{id}/resolve); Forgejo’s API has no such endpoint (checked through v16), so it is refused there.

Structs§

Forgejo

Functions§

base
/repos/OWNER/NAME.
link
A link as Forgejo Actions writes it, by path alone (/owner/repo/actions/runs/1/jobs/0), made absolute on the host’s web server.
statuses
Every status on sha, the latest of each context, through every page.