Application module¶
-
class
rebasehelper.application.
Application
(cli_conf: rebasehelper.config.Config, start_dir: str, execution_dir: str, results_dir: str, create_logs: bool = True)[source]¶ -
-
static
extract_archive
(archive_path, destination)[source]¶ Extracts given archive into the destination and handle all exceptions.
Parameters: - archive_path – path to the archive to be extracted
- destination – path to a destination, where the archive should be extracted to
Returns:
-
static
extract_sources
(archive_path, destination)[source]¶ Function extracts a given Archive and returns a full dirname to sources
-
generate_patch
()[source]¶ Generates patch to the results_dir containing all needed changes for the rebased package version
-
print_summary
(exception=None)[source]¶ Save rebase-helper result and print the summary using output tools. :param exception: Error message from rebase-helper :return:
-
static