epicsarchiver.statistics.services.gitlab

Mini module for interacting with Gitlab.

Attributes

LOG

Classes

Gitlab

Gitlab class for downloading from gitlab.

Module Contents

epicsarchiver.statistics.services.gitlab.LOG: logging.Logger[source]
class epicsarchiver.statistics.services.gitlab.Gitlab(fqdn: str = 'gitlab.esss.lu.se')[source]

Bases: epicsarchiver.common.async_service.ServiceClient

Gitlab class for downloading from gitlab.

fqdn = 'gitlab.esss.lu.se'[source]
async get_tar_ball(repo: pathlib.Path) pathlib.Path[source]

Fetch the tar ball from the input repository and store in a temp directory.

Expects the repository to have a “files” subdirectory.

Parameters:

repo (Path) – Path of the repo, for example archiver-appliance/archiver-appliance-config-aa-linac-prod.

Returns:

Returns the path of the “files” directory after download.

Return type:

Path