dka23 / gitlab-github-proxy

Proxy to provide GitHub-like API on top of Gitlab. Especially designed to use the JIRA DVCS connector with Gitlab.
36 stars 19 forks source link

Support for synchronizing all GitLab repositories with JIRA? #22

Open cpfeiffer opened 7 years ago

cpfeiffer commented 7 years ago

First, this proxy is an excellent idea :+1:

AFAICS, the JIRA DVCS connector in conjunction with this proxy will allow synchronizing only those repositories of the user that is used to connect from JIRA to GitLab ("Team or User Account").

Would it be possible to allow synchronizing repositories for an entire GitLab instance? It looks like one can list the repositories with GET /projects: https://docs.gitlab.com/ce/api/projects.html#list-projects

That way, one could synchronize repositories based on the permissions/visibility of the single user instead of configuring multiple DVCS accounts with different users.

cpfeiffer commented 6 years ago

If anyone else finds this issue, this is implemented in https://github.com/GEBIT/gitlab-github-proxy

frimik commented 5 years ago

Really neat, it works. But in my case it ends up getting a bit too bulky with all repos (they're simply way too many).

https://github.com/dka23/gitlab-github-proxy/issues/27#issuecomment-444123641

frimik commented 5 years ago

I probably want to get all projects for a group: https://docs.gitlab.com/ee/api/groups.html#list-a-groups-projects and include_subgroups.

Bummer the java-gitlab-api doesn't support it already, it needs some Query() support as well. https://github.com/timols/java-gitlab-api/blob/master/src/main/java/org/gitlab/api/GitlabAPI.java#L488