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
27843cd2
Commit
27843cd2
authored
Jul 11, 2018
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Autocorrect RuboCop violations in danger/**/Dangerfile
parent
545c961d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
12 deletions
+5
-12
danger/changelog/Dangerfile
danger/changelog/Dangerfile
+3
-3
danger/changes_size/Dangerfile
danger/changes_size/Dangerfile
+0
-2
danger/database/Dangerfile
danger/database/Dangerfile
+0
-1
danger/gemfile/Dangerfile
danger/gemfile/Dangerfile
+1
-3
danger/specs/Dangerfile
danger/specs/Dangerfile
+1
-3
No files found.
danger/changelog/Dangerfile
View file @
27843cd2
...
...
@@ -2,9 +2,9 @@
require
'yaml'
NO_CHANGELOG_LABELS
=
%w[backstage QA test]
SEE_DOC
=
"See [the documentation](https://docs.gitlab.com/ce/development/changelog.html)."
MISSING_CHANGELOG_MESSAGE
=
<<~
MSG
NO_CHANGELOG_LABELS
=
%w[backstage QA test]
.
freeze
SEE_DOC
=
"See [the documentation](https://docs.gitlab.com/ce/development/changelog.html)."
.
freeze
MISSING_CHANGELOG_MESSAGE
=
<<~
MSG
.
freeze
**[CHANGELOG missing](https://docs.gitlab.com/ce/development/changelog.html).**
You can create one with:
...
...
danger/changes_size/Dangerfile
View file @
27843cd2
# rubocop:disable Style/SignalException
# FIXME: git.info_for_file raises the following error
# /usr/local/bundle/gems/git-1.4.0/lib/git/lib.rb:956:in `command': (Danger::DSLError)
# [!] Invalid `Dangerfile` file:
...
...
danger/database/Dangerfile
View file @
27843cd2
# frozen_string_literal: true
# rubocop:disable Style/SignalException
# All the files/directories that should be reviewed by the DB team.
DB_FILES
=
[
...
...
danger/gemfile/Dangerfile
View file @
27843cd2
# rubocop:disable Style/SignalException
GEMFILE_LOCK_NOT_UPDATED_MESSAGE
=
<<~
MSG
GEMFILE_LOCK_NOT_UPDATED_MESSAGE
=
<<~
MSG
.
freeze
**%<gemfile>s was updated but %<gemfile_lock>s wasn't updated.**
Usually, when %<gemfile>s is updated, you should run
...
...
danger/specs/Dangerfile
View file @
27843cd2
# rubocop:disable Style/SignalException
NO_NEW_SPEC_MESSAGE
=
<<~
MSG
NO_NEW_SPEC_MESSAGE
=
<<~
MSG
.
freeze
You've made some app changes, but didn't add any tests.
That's OK as long as you're refactoring existing code,
but please consider adding the ~backstage label in that case.
...
...
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