swh.lister.debian package

Module contents

swh.lister.debian.debian_init(db_engine, override_conf: Mapping[str, Any] = {}, distribution_name: str = 'Debian', suites: List[str] = ['stretch', 'buster', 'bullseye'], components: List[str] = ['main', 'contrib', 'non-free'])[source]

Initialize the debian data model.

Parameters
  • db_engine – SQLAlchemy manipulation database object

  • override_conf – Override conf to pass to instantiate a lister

  • distribution_name – Distribution to initialize

  • suites – Default suites to register with the lister

  • components – Default components to register per suite

swh.lister.debian.register() → Mapping[str, Any][source]