kojismokydingo.cli.archives¶
Koji Smoky Dingo - CLI Archive and RPM Commands
- author:
Christopher O'Brien <obriencj@gmail.com>
- license:
GPL v3
- class ArchiveFiltering[source]¶
Bases:
object
Mixin for SmokyDingos which need archive-filtering arguments
- archive_arguments(parser)[source]¶
- Parameters:
parser (ArgumentParser)
- Return type:
- validate_archive_options(parser, options)[source]¶
- Parameters:
parser (ArgumentParser)
options (Namespace)
- Return type:
None
- class LatestArchives(name=None)[source]¶
Bases:
AnonSmokyDingo
,ArchiveFiltering
- Parameters:
name (str) -- The name that this command is being represented as
- arguments(parser)[source]¶
Override to add relevant arguments to the given parser instance. May return an alternative parser instance or None.
- Parameters:
parser -- the parser to decorate with additional arguments
- class ListBuildArchives(name=None)[source]¶
Bases:
AnonSmokyDingo
,ArchiveFiltering
- Parameters:
name (str) -- The name that this command is being represented as
- arguments(parser)[source]¶
Override to add relevant arguments to the given parser instance. May return an alternative parser instance or None.
- Parameters:
parser -- the parser to decorate with additional arguments
- cli_latest_tag_archives(session, tagname, btype=None, atypes=(), arches=(), rpmkeys=(), inherit=True, path=None, json=False)[source]¶
Implements the
koji latest-archives
command