swh-lister/swh/lister
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
..
bitbucket Add tests for bitbucket tasks 2019-01-08 10:35:33 +01:00
core Add tests for pypi tasks 2019-01-08 10:35:33 +01:00
debian Add tests for debian tasks 2019-01-08 10:35:33 +01:00
github Add tests for github tasks 2019-01-08 10:35:33 +01:00
gitlab Generate the gitlab's instance name from the api_baseurl by default 2019-01-10 09:49:26 +01:00
npm Add tests for npm tasks 2019-01-08 10:35:33 +01:00
pypi Add tests for pypi tasks 2019-01-08 10:35:33 +01:00
tests Rename test methods to test_ to allow collection by pytest 2018-10-15 10:11:07 +02:00
__init__.py Add missing __init__.py files 2017-10-30 16:38:27 +01:00
cli.py cli: fix debian lister so it also uses config overrides 2018-12-20 15:01:18 +01:00
utils.py gitlab.lister: Simplify retrieving headers information 2018-07-16 13:57:34 +02:00