Expand description
Gitea backend — self-hosted Gitea instances.
Codeberg piggybacks on this module (see crate::codeberg) by
pinning host to codeberg.org.
§Authentication
Personal Access Token via Authorization: token <token> header
(Gitea’s documented convention; unlike GitHub, Gitea rejects
Bearer for PATs).
§URL shape
REST API under <host>/api/v1. The backend appends that path
automatically; users supply the bare host.
§Lint exception
Same as the other REST backends.
Structs§
- Gitea
Provider - Gitea-specific release provider. Codeberg uses the same impl via
crate::codeberg’s factory, which constructs aGiteaParamswithhost = "codeberg.org".
Functions§
- build_
provider - Shared constructor.
crate::codebergcalls this directly with Codeberg’s hard-coded host. - factory
- Factory for the
giteasource type.