Skip to main content

Module gitlab

Module gitlab 

Source
Expand description

GitLab’s generic package registry.

A generic package is a name, a version, and some files — the nearest thing GitLab has to a release asset. The registry reports each file’s sha256 through the package_files API, which is why a file here is resolved through two API calls rather than taken at its URL: that hash is what gets pinned.

It began in opys-authliberty, whose agent jar is published this way, and moved here when resolving an arbitrary link needed the same lookup.

Structs§

GitLabPackageFile
One file of one version of a generic package.

Enums§

FileSelector
Which file of the package version to take.
GitLabError

Constants§

GITLAB_BASE
The public instance. Any other is named by its own base URL.

Functions§

resolve_gitlab_package_file
Resolve one file of package@version in project.