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 for several gitlab instances #10

Open
jlengrand opened this issue Apr 18, 2018 · 4 comments
Open

Support for several gitlab instances #10

jlengrand opened this issue Apr 18, 2018 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@jlengrand
Copy link
Collaborator

I actually use 3 different gitlab instances :

  • .com for open source / personal work
  • local instance at my day job
  • local instance at another job

It would be great to be able to select profiles, or at least use several instances at once in Mergify.

Right now I can only see the merge requests for one instance :).

@RamonGebben RamonGebben added enhancement New feature or request help wanted Extra attention is needed labels Apr 18, 2018
@RamonGebben
Copy link
Owner

RamonGebben commented Apr 18, 2018

Great suggestion, thanks!
How would you like to configure this?

@jlengrand
Copy link
Collaborator Author

Yeah, I'm not straight offering help because I don't want to disappoint but I'll try to look into it.

Just thinking quickly you could

  • Simply allow for several tokens and gitlab instances and show all
  • Have some kind of profile flag mergify --work
  • Something else?

I haven't looked at the code yet so I don't know how I'd solve this right now :).

@RamonGebben
Copy link
Owner

Do you mix these "profiles" or would a --set-profile work also do the trick for you?

I think it would be very annoying to have to specify the profile for each command.

@jlengrand
Copy link
Collaborator Author

I think the easiest way to go first is to simply allow for several profiles and show them all.

If I understand, what you propose is to set the profile and have one active at any time?
Good idea too. I actually could use that because that would avoid having the command fail if I'm home without access to the work Gitlab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants