multipackage.scripts.multipackage module¶
Main entry point for multipackage console script.
Summary¶
Functions:
build_parser |
Build the argument parser. |
create_repo |
Helper method to create a Repository object. |
doctor_repo |
Verify that all required environment settings are correct. |
info_repo |
Get info on the given repository. |
init_repo |
Initialize or reinitialize a repository. |
main |
Main entry point for multipackage console script. |
print_environment_error |
Print an error about a missing or incorrect ENV variable. |
print_usage_error |
Print an error about incorrect usage. |
setup_logging |
Setup log level and output. |
update_repo |
Update the installed files in a repository. |
Data:
DESCRIPTION |
str(object=’‘) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str |
Reference¶
-
multipackage.scripts.multipackage.
doctor_repo
(repo_path)[source]¶ Verify that all required environment settings are correct.
-
multipackage.scripts.multipackage.
create_repo
(repo_path)[source]¶ Helper method to create a Repository object.
-
multipackage.scripts.multipackage.
init_repo
(repo_path, clean)[source]¶ Initialize or reinitialize a repository.
-
multipackage.scripts.multipackage.
update_repo
(repo_path)[source]¶ Update the installed files in a repository.
-
multipackage.scripts.multipackage.
info_repo
(repo_path)[source]¶ Get info on the given repository.
Parameters: repo_path (str) – The path to the repository. Returns: An error code indicating any issues. Return type: int
-
multipackage.scripts.multipackage.
print_environment_error
(err)[source]¶ Print an error about a missing or incorrect ENV variable.