swh-lister/swh/lister/gitlab
David Douard fb9265bb03 Generate the gitlab's instance name from the api_baseurl by default
using the host of the given url.

This allows to create a lister task by simply specify the API base url
and prevent 'inconsistent by default' behavior, eg. with:

  swh-scheduler task add swh-lister-gitlab-full \
      api_baseurl=https://0xacab.org/api/v4

the created task does not use 'gitlab' as instance name (but '0xacab.org'
here).

It's still possible to explicitely specify the instance name if needed.
2019-01-10 09:49:26 +01:00
..
tests Generate the gitlab's instance name from the api_baseurl by default 2019-01-10 09:49:26 +01:00
__init__.py swh.lister.gitlab: Bootstrap gitlab lister 2018-07-03 12:23:11 +02:00
lister.py Generate the gitlab's instance name from the api_baseurl by default 2019-01-10 09:49:26 +01:00
models.py Simplify listers Model constructor 2018-12-12 18:27:11 +01:00
tasks.py Generate the gitlab's instance name from the api_baseurl by default 2019-01-10 09:49:26 +01:00