HomeSoftware Heritage

gitlab.lister: Do not expect gitlab instances to have credentials

Description

gitlab.lister: Do not expect gitlab instances to have credentials

Only the main gitlab.com instance supports a rate limit (thus the
credentials need), others do not (as per summer 2018).

Details

Provenance
ardumontAuthored on Oct 5 2018, 11:45 AM
ardumontPushed on Oct 8 2018, 3:21 PM
Differential Revision
D504: gitlab lister: Fix couple of issues
Parents
rDLSf72f2bc6acf8: add build/ to gitignore
Branches
Unknown
Tags
Unknown

Event Timeline

Hello :-) Does this mean that self-hosted instance, which do not rate-limit requests, can be listed more easily (e.g. without needing to configure _any_ credentials)?

In the sense of less configuration, yes. The lister's credentials' default is none.

In the sense of listing, nothing changes much though. The lister still checks for the rate limit header anyway.