Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Merge Request approvals in GitLab CE

We would like to use Merge Request approvals similar to how it works in Stash where one person creates a PR and can assign multiple reviewers who can approve or decline. PR can be merged only when N reviewers approved (configurable per repository).

It seems that this feature is offered only in GitLab EE, is that right? Is there any free or cheap alternative to migrating from CE to EE?

Perhaps a custom GitLab fork or an addon/plugin?

like image 751
Petr Peller Avatar asked Mar 01 '16 14:03

Petr Peller


People also ask

Who can approve a merge request in GitLab?

You can configure your merge requests so that they must be approved before they can be merged. While GitLab Free allows all users with Developer or greater permissions to approve merge requests, these approvals are optional.

How do I approve a merge request on github?

Review the changes in the pull request, and optionally, comment on specific lines. Above the changed code, click Review changes. Type a comment summarizing your feedback on the proposed changes. Select Approve to approve merging the changes proposed in the pull request.


2 Answers

That is currently not possible. And I do not know of any plugin to implement it.

You can upvote with a "thumbs up" reaction (and subscribe to) the already existing issue and discussion on that matter:

https://gitlab.com/gitlab-org/gitlab-ce/issues/42096

like image 126
Peque Avatar answered Sep 25 '22 16:09

Peque


As far as I know you can't migrate from CE to EE, as CE is free and EE isn't.

But what you can do is:

  1. Use GitLab.com, from which you'll have all EE features available for free;

  2. I never tried CE before, but you'll probably find these features there:

    • Add users to the project and give them different access levels. To the levels you can define which are allowed merging or not;
    • Assign merge requests for specific users, so that only the assignee is allowed to merge;
    • Open issues before adding a MR related to that issue, so people can discuss the outlines on the issue before adding a MR. When you add an issue number to a committed message, that issue will be automatically closed when merging.

I'm not sure this is the answer you're looking for, but I hope it helps.

like image 38
Virtua Creative Avatar answered Sep 26 '22 16:09

Virtua Creative