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

Projects from many servers #111

Closed

Conversation

mgodlewski
Copy link

Fix #109 and #110

@timoschwarzer
Copy link
Owner

Thank you for the PR! :)
I really appreciate it, but I think this implementation is not usable or too limited for many users. In many cases you want to use different project filters and configurations for different servers which is not possible with the current implementation.

My proposal would be that you can define servers like this:

servers:
  - host: gitlab.example.org
    token: abcdef123456

And then the projectConfig key is prepended by the server's host. e.g.

projectConfig:
  gitlab.example.org/john.doe/project-x:
    ...

Additionally, it should be possible to set a different config key so users can add the same server multiple times (e.g. to show projects from different users):

servers:
  - host: gitlab.example.org
    name: gitlab1
    token: abcdef123456
  - host: gitlab.example.org
    name: gitlab2
    token: ghijkl789026

projectConfig:
  gitlab1/john.doe/project-x:
    ...
  gitlab2/someone.else/project-y:
    ...

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

Successfully merging this pull request may close these issues.

Feature: Grab data from several gitlab instances
2 participants