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
Léo-Paul Géneau
gitlab-ce
Commits
2cc063e5
Commit
2cc063e5
authored
Jul 19, 2017
by
Jarka Kadlecova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add github imported projects count to usage data
parent
3453bc32
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
changelogs/unreleased/34563-usage-ping-github.yml
changelogs/unreleased/34563-usage-ping-github.yml
+4
-0
lib/gitlab/usage_data.rb
lib/gitlab/usage_data.rb
+1
-0
spec/lib/gitlab/usage_data_spec.rb
spec/lib/gitlab/usage_data_spec.rb
+1
-0
No files found.
changelogs/unreleased/34563-usage-ping-github.yml
0 → 100644
View file @
2cc063e5
---
title
:
Add GitHub imported projects count to usage data
merge_request
:
author
:
lib/gitlab/usage_data.rb
View file @
2cc063e5
...
...
@@ -39,6 +39,7 @@ module Gitlab
notes:
Note
.
count
,
pages_domains:
PagesDomain
.
count
,
projects:
Project
.
count
,
projects_imported_from_github:
Project
.
where
(
import_type:
'github'
).
count
,
projects_prometheus_active:
PrometheusService
.
active
.
count
,
protected_branches:
ProtectedBranch
.
count
,
releases:
Release
.
count
,
...
...
spec/lib/gitlab/usage_data_spec.rb
View file @
2cc063e5
...
...
@@ -48,6 +48,7 @@ describe Gitlab::UsageData do
milestones
notes
projects
projects_imported_from_github
projects_prometheus_active
pages_domains
protected_branches
...
...
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