dak.admin
Configure dak parameters in the database
Functions
architecture (args)
|
|
archive (command)
|
|
archive_add (args)
|
|
archive_list ()
|
|
archive_rename (oldname, newname)
|
|
archive_rm (name)
|
|
change_component (args)
|
|
change_component_binary (transaction, suite, ...)
|
|
change_component_source (transaction, suite, ...)
|
|
component (command)
|
|
component_add (args)
|
|
component_list ()
|
|
component_rename (oldname, newname)
|
|
component_rm (name)
|
|
die (msg[, exit_code])
|
|
die_arglen (args, args_needed, msg)
|
|
forget_signature (args)
|
|
get_suite_or_die (suite_name[, session, ...])
|
|
keyring (command)
|
|
keyring_add_buildd (command)
|
|
main ()
|
Perform administrative work on the dak database |
show_config (args)
|
|
show_keyring (args)
|
|
suite (args)
|
|
suite_architecture (args)
|
|
suite_component (args)
|
|
suite_config (args)
|
|
usage ([exit_code])
|
Perform administrative work on the dak database. |
version_check (args)
|
|
warn (msg)
|
|
Classes
-
class dak.admin.SuiteConfigSerializer(db_name: str, serialize: collections.abc.Callable[[Any], str], deserialize: Optional[collections.abc.Callable[[str], Any]])[source]
-
db_name: str
-
deserialize: Optional[Callable[[str], Any]]
-
serialize: Callable[[Any], str]
-
dak.admin.__architecture_add(d, args)[source]
-
dak.admin.__architecture_list(d, args) → NoReturn[source]
-
dak.admin.__architecture_rm(d, args)[source]
-
dak.admin.__suite_add(d, args, addallarches=False) → None[source]
-
dak.admin.__suite_add_build_queue(d, args)[source]
-
dak.admin.__suite_architecture_add(d, args)[source]
-
dak.admin.__suite_architecture_list(d, args)[source]
-
dak.admin.__suite_architecture_listarch(d, args)[source]
-
dak.admin.__suite_architecture_listsuite(d, args)[source]
-
dak.admin.__suite_architecture_rm(d, args)[source]
-
dak.admin.__suite_component_add(d, args)[source]
-
dak.admin.__suite_component_list(d, args)[source]
-
dak.admin.__suite_component_listcomponent(d, args)[source]
-
dak.admin.__suite_component_listsuite(d, args)[source]
-
dak.admin.__suite_component_rm(d, args)[source]
-
dak.admin.__suite_config_get(d, args, direct_value=False, json_format=False)[source]
-
dak.admin.__suite_config_internal_set(suite, suite_name, kvpairs, print_config_set=True)[source]
-
dak.admin.__suite_config_list(d, args, json_format=False)[source]
-
dak.admin.__suite_config_set(d, args)[source]
-
dak.admin.__suite_config_set_confing_args_as_dict(args)[source]
-
dak.admin.__suite_config_set_json(d, args)[source]
-
dak.admin.__suite_list(d, args)[source]
-
dak.admin.__suite_rm(d, args)[source]
-
dak.admin.__suite_show(d, args)[source]
-
dak.admin.__version_check_add(d, suite_name, check, reference_name)[source]
-
dak.admin.__version_check_list(d)[source]
-
dak.admin.__version_check_list_suite(d, suite_name)[source]
-
dak.admin.__version_check_rm(d, suite_name, check, reference_name)[source]
-
dak.admin._deserialize_policy_queue(x)[source]
-
dak.admin._deserialize_suite(x)[source]
-
dak.admin._get_suite_value(suite, conf_name)[source]
-
dak.admin._serialize_archive(x, session=None)[source]
-
dak.admin._serialize_policy_queue(x, session=None)[source]
-
dak.admin._serialize_suite(x)[source]
-
dak.admin._set_suite_value(suite, conf_name, new_value)[source]
-
dak.admin.architecture(args)[source]
-
dak.admin.archive(command)[source]
-
dak.admin.archive_add(args)[source]
-
dak.admin.archive_list()[source]
-
dak.admin.archive_rename(oldname, newname)[source]
-
dak.admin.archive_rm(name)[source]
-
dak.admin.change_component(args)[source]
-
dak.admin.change_component_binary(transaction, suite, component, binary_names)[source]
-
dak.admin.change_component_source(transaction, suite, component, source_names)[source]
-
dak.admin.component(command)[source]
-
dak.admin.component_add(args)[source]
-
dak.admin.component_list()[source]
-
dak.admin.component_rename(oldname: str, newname: str) → None[source]
-
dak.admin.component_rm(name: str) → None[source]
-
dak.admin.die(msg: str, exit_code: int = 1) → NoReturn[source]
-
dak.admin.die_arglen(args: Sequence, args_needed: int, msg: str) → None[source]
-
dak.admin.forget_signature(args)[source]
-
dak.admin.get_suite_or_die(suite_name: str, session=None, error_message='E: Invalid/unknown suite %(suite_name)s') → Suite[source]
-
dak.admin.keyring(command)[source]
-
dak.admin.keyring_add_buildd(command)[source]
-
dak.admin.main()[source]
Perform administrative work on the dak database
-
dak.admin.show_config(args)[source]
-
dak.admin.show_keyring(args)[source]
-
dak.admin.suite(args)[source]
-
dak.admin.suite_architecture(args)[source]
-
dak.admin.suite_component(args)[source]
-
dak.admin.suite_config(args)[source]
-
dak.admin.usage(exit_code: int = 0) → NoReturn[source]
Perform administrative work on the dak database.
-
dak.admin.version_check(args)[source]
-
dak.admin.warn(msg: str) → None[source]