epicsarchiver.statistics.services.gitlab ======================================== .. py:module:: epicsarchiver.statistics.services.gitlab .. autoapi-nested-parse:: Mini module for interacting with Gitlab. Attributes ---------- .. autoapisummary:: epicsarchiver.statistics.services.gitlab.LOG Classes ------- .. autoapisummary:: epicsarchiver.statistics.services.gitlab.Gitlab Module Contents --------------- .. py:data:: LOG :type: logging.Logger .. py:class:: Gitlab(fqdn: str = 'gitlab.esss.lu.se') Bases: :py:obj:`epicsarchiver.common.async_service.ServiceClient` Gitlab class for downloading from gitlab. .. py:attribute:: fqdn :value: 'gitlab.esss.lu.se' .. py:method:: get_tar_ball(repo: pathlib.Path) -> pathlib.Path :async: Fetch the tar ball from the input repository and store in a temp directory. Expects the repository to have a "files" subdirectory. :param repo: Path of the repo, for example archiver-appliance/archiver-appliance-config-aa-linac-prod. :type repo: Path :returns: Returns the path of the "files" directory after download. :rtype: Path