pweingardt/mylyn-gitlab

Creating merge requests

Opened this issue · 1 comments

mcepl commented

When I push a new commit to my GitLab repository, I would love to be able to create a new merge request in Gitlab (as I can make a new review on Gerrit, for example).

Would love this feature too. But i would prefer creating merge requests on an existing issue not on a push (that should be implemented by gitlab itself like issue closing).

Workflow for new issues could be:

  1. Create an issue
  2. Choose an issue and decide to work on it (-> activate task)
  3. On activation you are asked if you want to create a new online feature branch with mr (should be configurable) if it does not exist yet
  4. If user confirms, create branch and merge request (with "WIP:" perfix) from repositories default branch (default master)
  5. Fill task with new informations like regarding links to merge request

Workflow could end up like this:

  1. Working on that issue
  2. If ready change status (but not close it) of task and remove prefix "WIP:" from merge request
  3. Handle merge request in gitlab (gitlab automatically closes issue if you have configured it correctly)