ahriman.core.support package

Subpackages

Submodules

ahriman.core.support.keyring_trigger module

class KeyringTrigger(repository_id: RepositoryId, configuration: Configuration)

Bases: Trigger

keyring generator trigger

targets

git remote target list

Type:

list[str]

default constructor

Parameters:
classmethod configuration_sections(configuration: Configuration) list[str]

extract configuration sections from configuration

Parameters:

configuration (Configuration) – configuration instance

Returns:

read configuration sections belong to this trigger

Return type:

list[str]

on_start() None

trigger action which will be called at the start of the application

ahriman.core.support.mirrorlist_trigger module

class MirrorlistTrigger(repository_id: RepositoryId, configuration: Configuration)

Bases: Trigger

mirrorlist generator trigger

targets

git remote target list

Type:

list[str]

default constructor

Parameters:
classmethod configuration_sections(configuration: Configuration) list[str]

extract configuration sections from configuration

Parameters:

configuration (Configuration) – configuration instance

Returns:

read configuration sections belong to this trigger

Return type:

list[str]

on_start() None

trigger action which will be called at the start of the application

ahriman.core.support.package_creator module

class PackageCreator(configuration: Configuration, generator: PkgbuildGenerator)

Bases: object

helper which creates packages based on pkgbuild generator

configuration

configuration instance

Type:

Configuration

generator

PKGBUILD generator instance

Type:

PkgbuildGenerator

default constructor

Parameters:
run() None

create new local package

Module contents