SPEC Hooks package

class rebasehelper.plugins.spec_hooks.BaseSpecHook[source]

Base class for a spec hook

CATEGORIES: List[PackageCategory | None] = []
classmethod run(spec_file, rebase_spec_file, **kwargs)[source]

Runs a spec hook.

Parameters:
  • spec_file – Original spec file object

  • rebase_spec_file – Rebased spec file object

  • kwargs – Keyword arguments from Application instance

class rebasehelper.plugins.spec_hooks.SpecHookCollection(entrypoint: str, manager: PluginManager)[source]

Class representing the process of running various spec file hooks.

run(spec_file, rebase_spec_file, **kwargs)[source]

Runs all non-blacklisted spec hooks.

Parameters: