Pull Replication from GitLab does not work if not member of source group #20056
Labels
help wanted
The issues that is valid but needs help from community
known-issue
replication/adapters
related to replication adapters
Hello,
I'm trying to pull replicate images from a public gitlab instance to a local harbor instance, but it does not find the images (hence the job ends with 0 Tasks).
I believe I tracked this down to:
The filter
membership=true
ormembership=1
causes to return only projects of which one is a member. But in case of public repos/groups this is usually not the case.My proposal is to remove the
membership=true
flag.harbor/src/pkg/reg/adapter/gitlab/client.go
Line 77 in 29cdc39
harbor/src/pkg/reg/adapter/gitlab/client.go
Line 86 in 29cdc39
The text was updated successfully, but these errors were encountered: