hygieia / hygieia-scm-gitlab-collector

Hygieia Collector for Gitlab SCM
https://github.com/capitalone/Hygieia/blob/gh-pages/pages/hygieia/collectors/scm/gitlab.md
Apache License 2.0
4 stars 13 forks source link

Fix 404 errors for GitLab nested groups. #13

Closed Irvyne closed 4 years ago

Irvyne commented 4 years ago

Repo name was set as exactly 2 parts separated by a slash. In the case of nested groups a repo no longer look like "hygieia/collector-gitlab-scm" but "hygieia/collector/gitlab-scm" leading to 404 error in API requests because only "hygieia/collector" were taken into account. This proposal allows to handle as many nested group as needed by a project and fix #10

CLAassistant commented 4 years ago

CLA assistant check
All committers have signed the CLA.