2

Is there a way to perform code review (for your own projects) using GitLab? For instance automated reviews, but also manual review where you can comment and propose changes at a review of a commit?

1
  • This is remarkably vague. Jun 21, 2022 at 17:35

1 Answer 1

2

Yes, it's possible. Gitlab has the concept of Discussions (either single comments or discussion threads), which you can have on a variety of development items/activities, including the code itself (in which case they effectively are code reviews):

The ability to contribute conversationally is offered throughout GitLab.

You can leave a comment in the following places:

  • issues
  • epics
  • merge requests
  • snippets
  • commits
  • commit diffs

But note that only merge request discussions are presently considered resolvable.

Even though the check for a merge request can be configured to be automated, the starting of a review/discussion itself (if/when needed) is a manual operation. From Threaded discussions:

To start a threaded discussion, click on the Comment button toggle dropdown, select Start discussion and click Start discussion when you’re ready to post the comment.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.