Output Tools package¶
- class rebasehelper.plugins.output_tools.BaseOutputTool[source]¶
Base class for an output tool
- DEFAULT: bool = False¶
- EXTENSION: str = ''¶
- classmethod prepend_results_dir_name(app, *path_members)[source]¶
Prepends a path with path to rebase-helper-results.
Takes directory changes (such as cd into cloned repo with –bugzilla-id) into account.
- Parameters:
app – Application instance.
path_members – Path members to prepend the results dir to.
- Returns:
Prepended path.
- classmethod print_cli_summary(app)[source]¶
Outputs a summary of a rebase-helper run.
- Parameters:
app – Application instance.
- classmethod print_important_checkers_output()[source]¶
Iterates over all checkers output to highlight important checkers warning
- class rebasehelper.plugins.output_tools.OutputToolCollection(entrypoint: str, manager: PluginManager)[source]¶
Class representing the process of running various output tools.
- run(tool, logs=None, app=None)[source]¶
Runs specified output tool.
- Parameters:
tool (str) – Tool to run.
logs (list) – Build logs containing information about the failed rebase.
app (rebasehelper.application.Application) – Application class instance.