ahriman.core.support package
Subpackages
- ahriman.core.support.pkgbuild package
- Submodules
- ahriman.core.support.pkgbuild.keyring_generator module
KeyringGeneratorKeyringGenerator.signKeyringGenerator.nameKeyringGenerator.packagersKeyringGenerator.pkgbuild_licenseKeyringGenerator.pkgbuild_pkgdescKeyringGenerator.pkgbuild_pkgnameKeyringGenerator.pkgbuild_urlKeyringGenerator.revokedKeyringGenerator.trustedKeyringGenerator.install()KeyringGenerator.package()KeyringGenerator.sources()KeyringGenerator.licenseKeyringGenerator.pkgdescKeyringGenerator.pkgnameKeyringGenerator.url
- ahriman.core.support.pkgbuild.mirrorlist_generator module
MirrorlistGeneratorMirrorlistGenerator.pathMirrorlistGenerator.pkgbuild_licenseMirrorlistGenerator.pkgbuild_pkgdescMirrorlistGenerator.pkgbuild_pkgnameMirrorlistGenerator.pkgbuild_urlMirrorlistGenerator.serversMirrorlistGenerator.package()MirrorlistGenerator.patches()MirrorlistGenerator.sources()MirrorlistGenerator.licenseMirrorlistGenerator.pkgdescMirrorlistGenerator.pkgnameMirrorlistGenerator.url
- ahriman.core.support.pkgbuild.pkgbuild_generator module
PkgbuildGeneratorPkgbuildGenerator.PKGBUILD_STATIC_PROPERTIESPkgbuildGenerator.install()PkgbuildGenerator.package()PkgbuildGenerator.patches()PkgbuildGenerator.sources()PkgbuildGenerator.write_install()PkgbuildGenerator.write_pkgbuild()PkgbuildGenerator.write_sources()PkgbuildGenerator.licensePkgbuildGenerator.pkgdescPkgbuildGenerator.pkgnamePkgbuildGenerator.pkgverPkgbuildGenerator.url
- Module contents
Submodules
ahriman.core.support.keyring_trigger module
- class KeyringTrigger(repository_id: RepositoryId, configuration: Configuration)
Bases:
Triggerkeyring generator trigger
- targets
git remote target list
- Type:
list[str]
- Parameters:
repository_id (RepositoryId) – repository unique identifier
configuration (Configuration) – configuration instance
- 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:
Triggermirrorlist generator trigger
- targets
git remote target list
- Type:
list[str]
- Parameters:
repository_id (RepositoryId) – repository unique identifier
configuration (Configuration) – configuration instance
- 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:
objecthelper which creates packages based on pkgbuild generator
- configuration
configuration instance
- Type:
- generator
PKGBUILD generator instance
- Type:
- Parameters:
configuration (Configuration) – configuration instance
generator (PkgbuildGenerator) – PKGBUILD generator instance
- package_create(path: Path) None
create package files
- Parameters:
path (Path) – path to directory with package files
- package_register(path: Path) None
register package in build worker
- Parameters:
path (Path) – path to directory with package files
- run() None
create new local package