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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
2622a6de
Commit
2622a6de
authored
Oct 13, 2017
by
Zeger-Jan van de Weg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Performance category to the changelog
Resolves gitlab-org/gitlab-ce#36417
parent
2fd814a3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
bin/changelog
bin/changelog
+1
-0
changelogs/unreleased/zj-add-performance-changelog-cat.yml
changelogs/unreleased/zj-add-performance-changelog-cat.yml
+5
-0
spec/bin/changelog_spec.rb
spec/bin/changelog_spec.rb
+1
-1
No files found.
bin/changelog
View file @
2622a6de
...
@@ -28,6 +28,7 @@ class ChangelogOptionParser
...
@@ -28,6 +28,7 @@ class ChangelogOptionParser
Type
.
new
(
'deprecated'
,
'New deprecation'
),
Type
.
new
(
'deprecated'
,
'New deprecation'
),
Type
.
new
(
'removed'
,
'Feature removal'
),
Type
.
new
(
'removed'
,
'Feature removal'
),
Type
.
new
(
'security'
,
'Security fix'
),
Type
.
new
(
'security'
,
'Security fix'
),
Type
.
new
(
'performance'
,
'Performance improvement'
),
Type
.
new
(
'other'
,
'Other'
)
Type
.
new
(
'other'
,
'Other'
)
].
freeze
].
freeze
TYPES_OFFSET
=
1
TYPES_OFFSET
=
1
...
...
changelogs/unreleased/zj-add-performance-changelog-cat.yml
0 → 100644
View file @
2622a6de
---
title
:
Add Performance improvement as category on the changelog
merge_request
:
author
:
type
:
performance
spec/bin/changelog_spec.rb
View file @
2622a6de
...
@@ -84,7 +84,7 @@ describe 'bin/changelog' do
...
@@ -84,7 +84,7 @@ describe 'bin/changelog' do
expect
do
expect
do
expect
do
expect
do
expect
{
described_class
.
read_type
}.
to
raise_error
(
SystemExit
)
expect
{
described_class
.
read_type
}.
to
raise_error
(
SystemExit
)
end
.
to
output
(
"Invalid category index, please select an index between 1 and
7
\n
"
).
to_stderr
end
.
to
output
(
"Invalid category index, please select an index between 1 and
8
\n
"
).
to_stderr
end
.
to
output
.
to_stdout
end
.
to
output
.
to_stdout
end
end
end
end
...
...
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