updateswh icon indicating copy to clipboard operation
updateswh copied to clipboard

Handle properly repositories in nested GitLab subgroups

Open rdicosmo opened this issue 3 years ago • 1 comments

Unlike GitHub, GitLab allows to nest repositories inside subgroups at arbitrary depth. The current regular expression used to detect and extract a repository url from an url on GitLab (or an instance) does not capture that, so one gets a red button and cannot properly interact with these repositories.

For example, see the behavior on https://gitlab.com/litt-arts-num/fonte-gaia/ok-api

rdicosmo avatar Dec 16 '22 16:12 rdicosmo

Partially fixed in 342d01a148d2ab7ba3db88aeed0ecaef2a669836 : now nested repositories are properly handled, but subgroup pages pop up a red button, because the GitLab API (correctly) reports that those URLs are not for a repository.

rdicosmo avatar Dec 16 '22 17:12 rdicosmo