roller.config

Configuration file parsing for changes-roller.

Classes

SeriesConfig

Configuration for a patch series.

ConfigParser

Parse INI configuration files for patch series.

Module Contents

class roller.config.SeriesConfig[source]

Configuration for a patch series.

projects: list[str][source]
commands: str[source]
commit_msg: str[source]
topic: str = ''[source]
commit: bool = True[source]
review: bool = False[source]
run_tests: bool = False[source]
tests_blocking: bool = False[source]
test_command: str = ''[source]
branch: str | None = None[source]
create_branch: bool = False[source]
stay_on_branch: bool = False[source]
pre_commands: list[str] = None[source]
post_commands: list[str] = None[source]
continue_on_error: bool = False[source]
dry_run: bool = False[source]
class roller.config.ConfigParser(config_path)[source]

Parse INI configuration files for patch series.

config_path[source]
parse()[source]

Parse the configuration file and return SeriesConfig.