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
924885e5
Commit
924885e5
authored
Sep 25, 2017
by
Tiago Botelho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolves usage-data conflicts
parent
61a5537e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
34 deletions
+0
-34
lib/gitlab/usage_data.rb
lib/gitlab/usage_data.rb
+0
-28
spec/lib/gitlab/usage_data_spec.rb
spec/lib/gitlab/usage_data_spec.rb
+0
-6
No files found.
lib/gitlab/usage_data.rb
View file @
924885e5
...
...
@@ -25,7 +25,6 @@ module Gitlab
active_user_count:
User
.
active
.
count
,
recorded_at:
Time
.
now
,
mattermost_enabled:
Gitlab
.
config
.
mattermost
.
enabled
,
<<<<<<<
HEAD
edition:
'EE'
}
...
...
@@ -43,11 +42,6 @@ module Gitlab
usage_data
[
:license_add_ons
]
=
license
.
add_ons
end
=======
edition:
'CE'
}
>>>>>>>
ce
-
com
/
master
usage_data
end
...
...
@@ -96,7 +90,6 @@ module Gitlab
}
end
<<<<<<<
HEAD
def
service_desk_counts
return
{}
unless
::
License
.
feature_available?
(
:service_desk
)
...
...
@@ -133,31 +126,12 @@ module Gitlab
}
end
=======
def
features_usage_data
features_usage_data_ce
end
def
features_usage_data_ce
{
signup:
current_application_settings
.
signup_enabled?
,
ldap:
Gitlab
.
config
.
ldap
.
enabled
,
gravatar:
current_application_settings
.
gravatar_enabled?
,
omniauth:
Gitlab
.
config
.
omniauth
.
enabled
,
reply_by_email:
Gitlab
::
IncomingEmail
.
enabled?
,
container_registry:
Gitlab
.
config
.
registry
.
enabled
,
gitlab_shared_runners:
Gitlab
.
config
.
gitlab_ci
.
shared_runners_enabled
}
end
>>>>>>>
ce
-
com
/
master
def
components_usage_data
{
gitlab_pages:
{
enabled:
Gitlab
.
config
.
pages
.
enabled
,
version:
Gitlab
::
Pages
::
VERSION
},
git:
{
version:
Gitlab
::
Git
.
version
},
database:
{
adapter:
Gitlab
::
Database
.
adapter_name
,
version:
Gitlab
::
Database
.
version
}
}
<<<<<<<
HEAD
end
def
license_edition
(
plan
)
...
...
@@ -169,8 +143,6 @@ module Gitlab
else
# Older licenses
'EE'
end
=======
>>>>>>>
ce
-
com
/
master
end
def
services_usage
...
...
spec/lib/gitlab/usage_data_spec.rb
View file @
924885e5
...
...
@@ -43,11 +43,8 @@ describe Gitlab::UsageData do
container_registry
gitlab_pages
gitlab_shared_runners
<<<<<<< HEAD
elasticsearch
geo
=======
>>>>>>> ce-com/master
git
database
)
)
...
...
@@ -130,7 +127,6 @@ describe Gitlab::UsageData do
end
end
<<<<<<<
HEAD
describe
'#features_usage_data_ee'
do
subject
{
described_class
.
features_usage_data_ee
}
...
...
@@ -140,8 +136,6 @@ describe Gitlab::UsageData do
end
end
=======
>>>>>>>
ce
-
com
/
master
describe
'#components_usage_data'
do
subject
{
described_class
.
components_usage_data
}
...
...
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