Skip to main content

Module gitlab

Module gitlab 

Source
Expand description

GitLab backend — GitLab Cloud (gitlab.com) and self-hosted instances.

§Authentication

Personal Access Token via PRIVATE-TOKEN: <token> header (not Authorization: Bearer, which GitLab accepts but their own documentation prefers PRIVATE-TOKEN for PATs).

§URL shape

GitLab’s REST API lives at <host>/api/v4. Projects are addressed by numeric ID or by URL-encoded path: we use the path form (<group>%2F<project>) so tool authors never need to look up IDs.

§Lint exception

Same as the other REST backends — linkme::distributed_slice emits #[link_section].

Structs§

GitlabProvider
GitLab-specific release provider.

Functions§

factory
Construct a GitlabProvider from parsed config. Enforces HTTPS unless the allow_insecure_base_url test escape hatch is set.