Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
371b90f3
Commit
371b90f3
authored
May 14, 2021
by
Daniel Gruesso
Committed by
Suzanne Selhorn
May 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: clarify connection between SCM and code review in shared features
parent
afd1e93f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
17 deletions
+18
-17
doc/user/project/code_owners.md
doc/user/project/code_owners.md
+9
-9
doc/user/project/merge_requests/approvals/index.md
doc/user/project/merge_requests/approvals/index.md
+9
-8
No files found.
doc/user/project/code_owners.md
View file @
371b90f3
...
...
@@ -22,19 +22,19 @@ The GitLab Code Owners feature defines who owns specific
files or paths in a repository, allowing other users to understand
who is responsible for each file or path.
As an alternative to using Code Owners for approvals, you can instead
[
configure rules
](
merge_requests/approvals/rules.md
)
.
## Why is this useful?
Code Owners allows for a version controlled, single source of
truth file outlining the exact GitLab users or groups that
own certain files or paths in a repository. Code Owners can be
used in the merge request approval process which can streamline
the process of finding the right reviewers and approvers for a given
merge request.
In larger organizations or popular open source projects, Code Owners
can help you understand who to contact if you have
a question that may not be related to code review or a merge request
approval.
own certain files or paths in a repository. In larger organizations
or popular open source projects, Code Owners can help you understand
who to contact if you have a question about a specific portion of
the codebase. Code Owners can also streamline the merge request approval
process, identifying the most relevant reviewers and approvers for a
given change.
## How to set up Code Owners
...
...
doc/user/project/merge_requests/approvals/index.md
View file @
371b90f3
...
...
@@ -10,14 +10,15 @@ disqus_identifier: 'https://docs.gitlab.com/ee/user/project/merge_requests/merge
> Redesign [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/1979) in [GitLab Premium](https://about.gitlab.com/pricing/) 11.8 and [feature flag removed](https://gitlab.com/gitlab-org/gitlab/-/issues/10685) in 12.0.
Successful projects depend on code reviews. Merge request approvals clearly communicate
someone's ability to merge proposed changes. Approvals
[
are optional
](
#optional-approvals
)
in GitLab Free, but you can require them for your project in higher tiers.
Merge request approvals are configured at the project level. Administrator users
of self-managed GitLab installations can also configure
[
instance-level approval rules
](
../../../admin_area/merge_requests_approvals.md
)
that cannot be overridden on a project-level basis.
You can configure your merge requests so that they must be approved before
they can be merged. You can do this by creating
[
rules
](
rules.md
)
or by specifying
a list of users who act as
[
code owners
](
../../code_owners.md
)
for specific files.
You can configure merge request approvals for each project. In higher GitLab tiers,
Administrators of self-managed GitLab instances can configure approvals
[
for the entire instance
](
../../../admin_area/merge_requests_approvals.md
)
.
## How approvals work
With
[
merge request approval rules
](
rules.md
)
, you can set the minimum number of
required approvals before work can merge into your project. You can also extend these
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment