Skip to content

How to sync selected repositories / groups on Gitlab #36

Closed
@illagrenan

Description

@illagrenan

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:

https://gitlab.example.com/my-group/my-project/

This is my configuration:

{
  "$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/index.json",
  "configs": [
    {
      "type": "gitlab",
      "gitlabURL": "https://gitlab.example.com",
      "Name": "^(my-group/.*|my-other-group/.*)$"
    }
  ]
}

In the log, I see that zoekt-mirror-gitlab is getting the configuration like this:

run [zoekt-mirror-gitlab -dest /data/.sourcebot/repos -url https://gitlab.example.com -name ^(my-group/.*|my-other-group/.*)$]

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions