Expand description
GitLab REST API client — fetches repository tags (project: includes) and project
releases (component: includes) from a per-call, per-instance host.
Parallel to, but not derived from, deps_core::github::GithubTagsClient: GitLab
references may target a self-hosted instance (NFR-008), so the host is a per-call
argument rather than a compile-time constant — the one structural difference driving
every choice below.
Structs§
- Gitlab
ApiClient - Client for fetching repository tags and project releases from a per-call GitLab instance host.
- Gitlab
Commit - The
commitobject nested in aGitlabTag/GitlabRelease. - Gitlab
Release - GitLab releases API response item (
GET /projects/:id/releases). - Gitlab
Tag - GitLab tags API response item (
GET /projects/:id/repository/tags).
Constants§
- MAX_
GITLAB_ PAGES - Maximum number of pages fetched per (host, project, endpoint) combination.
Functions§
- gitlab_
rate_ limit_ error - The actionable error returned when a request hits GitLab’s rate limit, or a 401/403
with no
GITLAB_TOKENconfigured (spec FR-014). - parse_
releases_ page - Parses a single GitLab releases API response page.
- parse_
tags_ page - Parses a single GitLab tags API response page.