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
1d27d3dc
Commit
1d27d3dc
authored
Jun 16, 2021
by
Axel García
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add references to new frontend tracking files
parent
f055ff55
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
spec/tooling/danger/project_helper_spec.rb
spec/tooling/danger/project_helper_spec.rb
+2
-1
tooling/danger/product_intelligence.rb
tooling/danger/product_intelligence.rb
+3
-0
tooling/danger/project_helper.rb
tooling/danger/project_helper.rb
+2
-1
No files found.
spec/tooling/danger/project_helper_spec.rb
View file @
1d27d3dc
...
@@ -183,7 +183,8 @@ RSpec.describe Tooling::Danger::ProjectHelper do
...
@@ -183,7 +183,8 @@ RSpec.describe Tooling::Danger::ProjectHelper do
'lib/generators/rails/usage_metric_definition_generator.rb'
|
[
:backend
,
:product_intelligence
]
'lib/generators/rails/usage_metric_definition_generator.rb'
|
[
:backend
,
:product_intelligence
]
'spec/lib/generators/usage_metric_definition_generator_spec.rb'
|
[
:backend
,
:product_intelligence
]
'spec/lib/generators/usage_metric_definition_generator_spec.rb'
|
[
:backend
,
:product_intelligence
]
'config/metrics/schema.json'
|
[
:product_intelligence
]
'config/metrics/schema.json'
|
[
:product_intelligence
]
'app/assets/javascripts/tracking/index.js'
|
[
:frontend
,
:product_intelligence
]
'app/assets/javascripts/tracking/foo.js'
|
[
:frontend
,
:product_intelligence
]
'spec/frontend/tracking/foo.js'
|
[
:frontend
,
:product_intelligence
]
'spec/frontend/tracking_spec.js'
|
[
:frontend
,
:product_intelligence
]
'spec/frontend/tracking_spec.js'
|
[
:frontend
,
:product_intelligence
]
'lib/gitlab/usage_database/foo.rb'
|
[
:backend
]
'lib/gitlab/usage_database/foo.rb'
|
[
:backend
]
end
end
...
...
tooling/danger/product_intelligence.rb
View file @
1d27d3dc
...
@@ -15,6 +15,9 @@ module Tooling
...
@@ -15,6 +15,9 @@ module Tooling
'app/helpers/tracking_helper.rb'
,
'app/helpers/tracking_helper.rb'
,
'spec/helpers/tracking_helper_spec.rb'
,
'spec/helpers/tracking_helper_spec.rb'
,
'app/assets/javascripts/tracking/index.js'
,
'app/assets/javascripts/tracking/index.js'
,
'app/assets/javascripts/tracking/constants.js'
,
'app/assets/javascripts/tracking/get_standard_context.js'
,
'spec/frontend/tracking/get_standard_context_spec.js'
,
'spec/frontend/tracking_spec.js'
,
'spec/frontend/tracking_spec.js'
,
'generator_templates/usage_metric_definition/metric_definition.yml'
,
'generator_templates/usage_metric_definition/metric_definition.yml'
,
'lib/generators/gitlab/usage_metric/usage_metric_generator.rb'
,
'lib/generators/gitlab/usage_metric/usage_metric_generator.rb'
,
...
...
tooling/danger/project_helper.rb
View file @
1d27d3dc
...
@@ -43,7 +43,8 @@ module Tooling
...
@@ -43,7 +43,8 @@ module Tooling
%r{
\A
data/whats_new/}
=>
:docs
,
%r{
\A
data/whats_new/}
=>
:docs
,
%r{
\A
(
%r{
\A
(
app/assets/javascripts/tracking
\.
js |
app/assets/javascripts/tracking/.*
\.
js |
spec/frontend/tracking/.*
\.
js |
spec/frontend/tracking_spec
\.
js
spec/frontend/tracking_spec
\.
js
)
\z
}x
=>
[
:frontend
,
:product_intelligence
],
)
\z
}x
=>
[
:frontend
,
:product_intelligence
],
%r{
\A
(ee/)?app/(assets|views)/}
=>
:frontend
,
%r{
\A
(ee/)?app/(assets|views)/}
=>
:frontend
,
...
...
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