laniakea package

Subpackages

Submodules

laniakea.dakbridge module

laniakea.debcheck module

laniakea.dud module

laniakea.flatpak_util module

class laniakea.flatpak_util.FlatpakUtil

Bases: object

Interface with the Flatpak CLI tools to perform verious administrative actions on repositories.

init_repo(repo, repo_path)

Initialize a new, empty Flatpak repository

laniakea.git module

class laniakea.git.Git(location=None)

Bases: object

Interface with Git (currently the cli tool) to perform some basic operations on Git repositories.

clone(repo_url)

Clone a Git repository to target location.

clone_or_pull(repo_url, *, origin=None, branch=None)

Clone repository if target location does not exist, pull otherwise.

property location: str | PathLike

The on-disk location of this Git repository.

pull(origin=None, branch=None)

Pull from an existing repository.

laniakea.localconfig module

class laniakea.localconfig.ExternalToolsUrls(fname=None)

Bases: object

Fetch URLs for external tools.

class laniakea.localconfig.LintianConfig(fname=None)

Bases: object

Git repository URLs that Laniakea can use to auto-apply certain changes.

property fatal_tags: list[str]

Tags which lead to a rejection of an uploaded package

class laniakea.localconfig.LocalConfig(fname=None)

Bases: object

Local, machine-specific configuration for a Laniakea module.

class LighthouseConfig(endpoints_jobs=<factory>, endpoints_submit=<factory>, endpoints_publish=<factory>, servers_jobs=<factory>, servers_submit=<factory>, servers_publish=<factory>)

Bases: object

Configuration for a Lighthouse server and/or client. The configuration is loaded from a :LocalConfig.

endpoints_jobs: List[str]
endpoints_publish: List[str]
endpoints_submit: List[str]
servers_jobs: List[str]
servers_publish: List[str]
servers_submit: List[str]
instance = None
class laniakea.localconfig.UserHintReposConfig(fname=None)

Bases: object

Git repository URLs that Laniakea can use to auto-apply certain changes.

property user_hints_git_url: str

Git repository with archive management hints

property user_registry_git_url: str

Git repository with registered uploading users

laniakea.localconfig.get_config_file(fname)

Determine the path of a local Laniakea configuration file.

laniakea.localconfig.get_data_file(fname)

Determine the path of a local Laniakea data file.

laniakea.logging module

laniakea.logging.configure_pkg_archive_logger()
laniakea.logging.get_verbose()
laniakea.logging.set_verbose(enabled)

laniakea.repository module

Module contents

class laniakea.LkModule

Bases: object

String identifiers of Laniakea modules.

ADMINCLI = 'admin-cli'
ARCHIVE = 'archive'
ARIADNE = 'ariadne'
BASE = 'core'
DEBCHECK = 'debcheck'
ISOTOPE = 'isotope'
KEYTOOL = 'keytool'
LIGHTHOUSE = 'lighthouse'
PLANTER = 'planter'
RUBICON = 'rubicon'
SPEARS = 'spears'
SYNCHROTRON = 'synchrotron'
TESTSUITE = 'test'
UNKNOWN = ''
WEBDASH = 'webdash'
WEBSWVIEW = 'webswview'
class laniakea.LocalConfig(fname=None)

Bases: object

Local, machine-specific configuration for a Laniakea module.

class LighthouseConfig(endpoints_jobs=<factory>, endpoints_submit=<factory>, endpoints_publish=<factory>, servers_jobs=<factory>, servers_submit=<factory>, servers_publish=<factory>)

Bases: object

Configuration for a Lighthouse server and/or client. The configuration is loaded from a :LocalConfig.

endpoints_jobs: List[str]
endpoints_publish: List[str]
endpoints_submit: List[str]
servers_jobs: List[str]
servers_publish: List[str]
servers_submit: List[str]
instance = None
laniakea.get_config_file(fname)

Determine the path of a local Laniakea configuration file.