HomeSoftware Heritage

Hook up listers implemented with the new pattern to the CLI

Description

Hook up listers implemented with the new pattern to the CLI

We stop depending on the ListerBase implementation. The main hoop we're jumping
through is the config override mechanism in swh.lister.get_lister, as it's
really specifc to the ListerBase override_config argument, which is dropped in
pattern.Lister (in favor of explicit arguments at lister instantiation).

We implement a small shim in swh.lister.pattern.Lister to give
backwards-compatibility for the new pattern to get_lister.

This generic configuration override mechanism will probably be completely
removed when the configuration mechanism is reworked. We'll see.

Details

Provenance
olasdAuthored on Jul 16 2020, 11:59 AM
olasdPushed on Jan 11 2021, 11:00 AM
Parents
rDLS9e083c1eead6: Introduce a simpler base pattern for lister implementations.
Branches
Unknown
Tags
Unknown
Build Status
Buildable 18265
Build 28198: test-and-buildJenkins console · Jenkins