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
Thanks for a great project. I'm trying to sync git repositories with self-hosted Gitlab and would like to sync only repositories from a specific group:
Hey thanks for the issue! I looked into this and it's a pretty subtle bug. When performing the filtering in zoekt-mirror-gitlab, zoekt is using the name_with_namespace field of the project to filter on. Looking at the GitLab docs reveals that name_with_namespace has spaces between group, /, and the repository:
The regex is therefore not matching. I validated that using ^(my-group /.*|my-other-group /.*)$ (notice the space) worked.
What we really want to use is path_with_namespace so we don't have to deal with this. Will make a fix now.
Thanks for a great project. I'm trying to sync git repositories with self-hosted Gitlab and would like to sync only repositories from a specific group:
This is my configuration:
In the log, I see that zoekt-mirror-gitlab is getting the configuration like this:
And yet, no repositories are synchronized. I'd say I have the regex wrong, but I haven't found any additional info on this.
Thanks in advance for the help!
The text was updated successfully, but these errors were encountered: