Configuring the release history server
- For private repositories, and hosts other than github.com and gitlab.com, add a read-only token for the host as a "Git host token" key at Configuration > System > Keys (
/admin/config/system/keys). Git Host's README says which token to create on GitHub and GitLab. Each host has one key, and its token is only sent to that host. - Go to Configuration > Web services > Git Release History (
/admin/config/services/git-release-history), and list the repositories the server may serve, one per line, ashost/owner/name, such asgithub.com/example-org/my_module, orhost/owner/*for all of an owner's repositories on that host. Names aren't case-sensitive. Nothing is allowed until you add repositories, and requests for other repositories are denied, so the server can't be used to read anything else with its tokens.
The server then answers anonymous requests at:
https://<server>/git-release-history/<host>/<owner>/<repository>/current
Open that URL in a browser to check a repository: it shows the release history XML, or "Access denied" if the repository isn't allowed.
GitLab projects in subgroups (group/subgroup/name) aren't supported yet: the owner is a single path segment.