Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GitLab API for self-hosted git hosting #81

Open
almereyda opened this issue Feb 25, 2021 · 3 comments
Open

Support GitLab API for self-hosted git hosting #81

almereyda opened this issue Feb 25, 2021 · 3 comments

Comments

@almereyda
Copy link

Similarily to #65, me as a user of coophub would like to connect this dashboard to a variety of GitLab communities on different servers, in order to achieve an aggregated higher-level view of the communities I am interacting with.

@chriscroome
Copy link
Contributor

Wasn't this sorted out on issue #4 ?

@pbrudnick
Copy link
Member

Wasn't this sorted out on issue #4 ?

Well, not really, we do support gitlab.com and git.coop using the gitlab base module (because they use the same API schema). You can check: https://github.com/fiqus/coophub/tree/master/lib/coophub/backends

If we want to support different public gitlab servers we should add different implementations of the gitlab module (like https://github.com/fiqus/coophub/blob/master/lib/coophub/backends/git_coop.ex and https://github.com/fiqus/coophub/blob/master/lib/coophub/backends/gitlab_com.ex).
At least, this is how it works now.

@sutty-coop
Copy link
Contributor

Maybe something like this?

coop:
  source: gitlab
  host: 0xacab.org

So there's one source but you can add the hostname as modifier. It would support subdirectory installs ("0xacab.org/gitlab") but calling it "host" would be misleading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants