MeltanoLabs / tap-gitlab

Singer.io Tap for extracting data from Gitlab's API
GNU Affero General Public License v3.0
11 stars 27 forks source link

Empty projects cause extract failure #48

Closed pnadolny13 closed 2 years ago

pnadolny13 commented 2 years ago

In GitLab by @tayloramurphy on Mar 12, 2021, 11:28

While testing in https://gitlab.com/meltano/meta/-/issues/4, I found that if a project is empty (no commits) that the extract will fail with:

CRITICAL Error making request to GitLab API: GET https://gitlab.com/api/v4/projects/24722673/repository/commits?since=2020-05-01T00:00:00Z&with_stats=true&page=1&per_page=100 [404 - b'{"message":"404 Repository Not Found"}']

I would expect this to be a silent "failure".

pnadolny13 commented 2 years ago

In GitLab by @tayloramurphy on Mar 12, 2021, 11:28

added to epic &86

pnadolny13 commented 2 years ago

In GitLab by @tayloramurphy on Mar 12, 2021, 11:30

marked this issue as related to meta#4