HomeSoftware Heritage

Generate the gitlab's instance name from the api_baseurl by default

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

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.

Details

Provenance
douarddaAuthored on Jan 9 2019, 4:34 PM
douarddaPushed on Jan 10 2019, 4:01 PM
Differential Revision
D901: Generate the gitlab's instance name from the api_baseurl by default
Build Status
Buildable 3385
Build 4362: test-and-build

Commit No Longer Exists

This commit no longer exists in the repository.