staging instance, all data can be removed at all time

Skip to content

cli: Use temporary scheduler as fallback when no configuration detected

Antoine Lambert requested to merge anlambert/swh-lister:cli-improve-run into master

In order to simplify the testing of listers, allow to call the run command of swh-lister CLI without scheduler configuration. In that case a temporary scheduler instance with a postgresql backend is created and used.

It enables to easily test a lister with the following command:

$ swh -l DEBUG lister run <lister_name> url=<forge_url>

Depends on https://gitlab.softwareheritage.org/swh/devel/swh-scheduler/-/merge_requests/349

Edited by Antoine Lambert

Merge request reports