You need at least ‘reporter’ role in the GitLab project to be able to see the list of merge requests (MR) and at least ‘developer’ role to be able to open a MR.
If you or your colleague
have already opened
Merge Request (MR)
you can have discussions with your colleagues regarding that MR.
If you have a concern, add a comment, or if your colleagues have done so, revise comments.
The GitLab page of MRs is divided into 4 pages, that you can find beneath the title of the MR:
If you are on the ‘Changes’ page, you could click
Start a review.
This allows you to write and submit multiple comments at the same time.
Add comment now, at least in the beginning.
On the bottom of the ‘Overview’ page (
1) of the MR, you can add general comments and revise other people’s actions.
If you want to start a general
write your comment (
2) then click on the arrow on the
Comment button (
3) and select the option
To discuss specific aspects, go to the page ‘Changes’ (
Comment on specific lines (
3) and start a thread (
Optionally you can insert a suggestion.
A suggestion is a specific change and can be applied by your colleague in the GitLab web interface by one click.
See this and the screenshot in step 3, where the suggestion was to insert the word
Create the syntax by clicking the marked icon (
1) from the editing tools and adopting the suggestion (
2) to your needs.
When you are done with your comments and suggestions, go to the ‘Overview’ page and have a look at the overall MR and if your threads are displayed as expected:
On the top of the ‘Overview’ page (
1) of every MR you can see if there are any unresolved threads (
(Also you can edit the MR or mark it as ready (
Act on unresolved threads.
Generally speaking there are different options:
3) by clicking
1). In many cases it is probably a good idea, to give the reasons for this in your comment (Step 2).
In most cases you should write an answer to the feedback you received. Depending on the feedback you can say ‘Thank you’ or discuss the matter of the thread.
Type your comment to (
2) in the field
You can mention the commit in a comment of the thread simply by writing its commit id, e.g.
92d2230d, you can mention issues with a preceding
#22 and you can mention MRs with a preceding
See the general documentation on GitLab for the GitLab-specific Markdown.
Mark a thread as done by clicking
Resolve thread (
Repeat the previous steps until all threads are closed.
The MR should look like this:
Now you might be ready to close the MR.