Expand description
Which forge a host runs, where its API is, and which tokens it takes.
github.com, gitlab.com, codeberg.org, gitea.com and Entire (entire.com,
and the *.entire.io clusters its git is served from) are known. A
self-hosted GitLab or Forgejo is named in jouet’s config, which the
binary hands over with configure and which is read only when a host
jouet does not know comes up:
[forges."git.example.com"]
kind = "gitlab" # or "forgejo" ("gitea" is the same API)
api_url = "https://git.example.com/api/v4" # optionalJOUET_GITLAB_API_URL and JOUET_FORGEJO_API_URL point every host of
that kind at one API root, as JOUET_GITHUB_API_URL does for GitHub, for
a test’s fake server.
Structs§
- Configured
- A host named in the config.