-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Open the current merge request with lab mr -b #218
Comments
Completely agree and it's definitely on the roadmap. The next big thing is an MR review workflow for the cli. The ability to do the above among other contextual mr tasks is first up. |
Would definitely accept an mr ;) |
Currently the comand Should we keep this behavior? I would propose to change my command to Any idea how to query the go mr from the current branch? I'm learning Go so I'll be happy to contribute but I might need a little help! |
It seems like we should always open the current mr, unless we can't determine it (like if there isn't an me yet). There should be a way to do it with the API, if you tried to open an mr that already exists for a branch it will complain for example, so I imagine the logic is there to look up my by branch |
Looks like the API supports this https://docs.gitlab.com/ee/api/merge_requests.html#list-project-merge-requests I'd suggest listing all the MR with |
Looks like we've already got a function for listing the MRs here: Probably we'll want to write a new function which calls |
Ok I have an issue getting lab:
The error is located here. |
I still need to upgrade to modules so right now dependencies are managed with deep
|
When I try go run |
That's lab looking at the current directory to get the project name, but using the configured hostname. Usually I use a command like |
I use two gitlab instance. My own and gitlab.com. Maybe we should read the hostname from the remote? Anyway this would be another issue. |
When I'm working on a branch, I'd like to open the current merge request.
Currently I need to list the merge request like this:
Then browse the one I'm working on:
This would be nice to be able to directly open the merge request from the current branch like this:
The text was updated successfully, but these errors were encountered: