You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some repositories in my GitLab belong to sub-group, such as foo/bar/baz/sample.
In this case, sample is project name and foo/bar/baz is namespace in my opinion.
But actually only baz is parsed as namespace via this code.
As I know, Drone also uses this drone/scm project to communicate various kinds of repositories. And the above issue makes some errors to sync GitLab repository.
GitLab response of foo/bar/baz/sample project is as below.
Hello. I have an issue in GitLab repository.
Some repositories in my GitLab belong to sub-group, such as
foo/bar/baz/sample
.In this case,
sample
is project name andfoo/bar/baz
is namespace in my opinion.But actually only
baz
is parsed as namespace via this code.Related codes are below.
https://github.com/drone/go-scm/blob/master/scm/driver/gitlab/repo.go#L172
As I know,
Drone
also uses thisdrone/scm
project to communicate various kinds of repositories. And the above issue makes some errors to sync GitLab repository.GitLab response of
foo/bar/baz/sample
project is as below.I suggest that
namespace.full_path
is used as namespace property.Reference: https://discourse.drone.io/t/drone-cannot-parse-sub-group-project-path/6361
The text was updated successfully, but these errors were encountered: