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
3ad517cc
Commit
3ad517cc
authored
May 30, 2017
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add documenation for code quality diff feature
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
9fd0fb5a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
0 deletions
+31
-0
doc/user/project/merge_requests/code_quality_diff.md
doc/user/project/merge_requests/code_quality_diff.md
+21
-0
doc/user/project/merge_requests/img/code_quality.gif
doc/user/project/merge_requests/img/code_quality.gif
+0
-0
doc/user/project/merge_requests/index.md
doc/user/project/merge_requests/index.md
+10
-0
No files found.
doc/user/project/merge_requests/code_quality_diff.md
0 → 100644
View file @
3ad517cc
# Code quality diff
> [Introduced][ee-1984] in GitLab Enterprise Edition 9.3.
If you are using GitLab CI you can analyze your source code quality using
Code Climate analyzer docker image. Then GitLab will show you how merge request
changes source code quality right inside merge request widget.
![
Code Quality Widget
][
quality-widget
]
## Enabling feature
Feature can be enabled by following next steps:
1.
[
Analyze project code quality with Code Climate CLI
][
cc-docs
]
2.
Start a new merge request from branch that already has codeclimate job succeed
3.
Wait till merge request codeclimate job succeed
[
ee-1984
]:
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1984
[
quality-widget
]:
img/code_quality.gif
[
cc-docs
]:
https://docs.gitlab.com/ce/ci/examples/code_climate.html#analyze-project-code-quality-with-code-climate-cli
doc/user/project/merge_requests/img/code_quality.gif
0 → 100644
View file @
3ad517cc
2.5 MB
doc/user/project/merge_requests/index.md
View file @
3ad517cc
...
@@ -105,6 +105,16 @@ creating merge commits, you can configure this on a per-project basis.
...
@@ -105,6 +105,16 @@ creating merge commits, you can configure this on a per-project basis.
[
Read more about fast-forward merge requests.
](
fast_forward_merge.md
)
[
Read more about fast-forward merge requests.
](
fast_forward_merge.md
)
## Code quality diff
> Included in [GitLab Enterprise Edition Starter][products].
If you are using GitLab CI you can analyze your source code quality using
Code Climate analyzer docker image. Then GitLab will show you how merge request
changes source code quality right inside merge request widget.
[
Read more about code quality diff.
](
code_quality_diff.md
)
## Ignore whitespace changes in Merge Request diff view
## Ignore whitespace changes in Merge Request diff view
If you click the
**Hide whitespace changes**
button, you can see the diff
If you click the
**Hide whitespace changes**
button, you can see the diff
...
...
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