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
b2a60a2f
Commit
b2a60a2f
authored
Oct 10, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix confclits related to
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3083
parent
cfe12a0d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
60 deletions
+41
-60
db/schema.rb
db/schema.rb
+32
-37
lib/gitlab/usage_data.rb
lib/gitlab/usage_data.rb
+1
-4
locale/gitlab.pot
locale/gitlab.pot
+7
-15
spec/lib/gitlab/usage_data_spec.rb
spec/lib/gitlab/usage_data_spec.rb
+1
-4
No files found.
db/schema.rb
View file @
b2a60a2f
...
...
@@ -691,7 +691,35 @@ ActiveRecord::Schema.define(version: 20171006091000) do
add_index
"forked_project_links"
,
[
"forked_to_project_id"
],
name:
"index_forked_project_links_on_forked_to_project_id"
,
unique:
true
,
using: :btree
<<<<<<<
HEAD
create_table
"gcp_clusters"
,
force: :cascade
do
|
t
|
t
.
integer
"project_id"
,
null:
false
t
.
integer
"user_id"
t
.
integer
"service_id"
t
.
integer
"status"
t
.
integer
"gcp_cluster_size"
,
null:
false
t
.
datetime_with_timezone
"created_at"
,
null:
false
t
.
datetime_with_timezone
"updated_at"
,
null:
false
t
.
boolean
"enabled"
,
default:
true
t
.
text
"status_reason"
t
.
string
"project_namespace"
t
.
string
"endpoint"
t
.
text
"ca_cert"
t
.
text
"encrypted_kubernetes_token"
t
.
string
"encrypted_kubernetes_token_iv"
t
.
string
"username"
t
.
text
"encrypted_password"
t
.
string
"encrypted_password_iv"
t
.
string
"gcp_project_id"
,
null:
false
t
.
string
"gcp_cluster_zone"
,
null:
false
t
.
string
"gcp_cluster_name"
,
null:
false
t
.
string
"gcp_machine_type"
t
.
string
"gcp_operation_id"
t
.
text
"encrypted_gcp_token"
t
.
string
"encrypted_gcp_token_iv"
end
add_index
"gcp_clusters"
,
[
"project_id"
],
name:
"index_gcp_clusters_on_project_id"
,
unique:
true
,
using: :btree
create_table
"geo_event_log"
,
id: :bigserial
,
force: :cascade
do
|
t
|
t
.
datetime
"created_at"
,
null:
false
t
.
integer
"repository_updated_event_id"
,
limit:
8
...
...
@@ -790,35 +818,6 @@ ActiveRecord::Schema.define(version: 20171006091000) do
add_index
"geo_repository_updated_events"
,
[
"project_id"
],
name:
"index_geo_repository_updated_events_on_project_id"
,
using: :btree
add_index
"geo_repository_updated_events"
,
[
"source"
],
name:
"index_geo_repository_updated_events_on_source"
,
using: :btree
=======
create_table
"gcp_clusters"
,
force: :cascade
do
|
t
|
t
.
integer
"project_id"
,
null:
false
t
.
integer
"user_id"
t
.
integer
"service_id"
t
.
integer
"status"
t
.
integer
"gcp_cluster_size"
,
null:
false
t
.
datetime_with_timezone
"created_at"
,
null:
false
t
.
datetime_with_timezone
"updated_at"
,
null:
false
t
.
boolean
"enabled"
,
default:
true
t
.
text
"status_reason"
t
.
string
"project_namespace"
t
.
string
"endpoint"
t
.
text
"ca_cert"
t
.
text
"encrypted_kubernetes_token"
t
.
string
"encrypted_kubernetes_token_iv"
t
.
string
"username"
t
.
text
"encrypted_password"
t
.
string
"encrypted_password_iv"
t
.
string
"gcp_project_id"
,
null:
false
t
.
string
"gcp_cluster_zone"
,
null:
false
t
.
string
"gcp_cluster_name"
,
null:
false
t
.
string
"gcp_machine_type"
t
.
string
"gcp_operation_id"
t
.
text
"encrypted_gcp_token"
t
.
string
"encrypted_gcp_token_iv"
end
add_index
"gcp_clusters"
,
[
"project_id"
],
name:
"index_gcp_clusters_on_project_id"
,
unique:
true
,
using: :btree
create_table
"gpg_key_subkeys"
,
force: :cascade
do
|
t
|
t
.
integer
"gpg_key_id"
,
null:
false
...
...
@@ -829,7 +828,6 @@ ActiveRecord::Schema.define(version: 20171006091000) do
add_index
"gpg_key_subkeys"
,
[
"fingerprint"
],
name:
"index_gpg_key_subkeys_on_fingerprint"
,
unique:
true
,
using: :btree
add_index
"gpg_key_subkeys"
,
[
"gpg_key_id"
],
name:
"index_gpg_key_subkeys_on_gpg_key_id"
,
using: :btree
add_index
"gpg_key_subkeys"
,
[
"keyid"
],
name:
"index_gpg_key_subkeys_on_keyid"
,
unique:
true
,
using: :btree
>>>>>>>
ce
-
com
/
master
create_table
"gpg_keys"
,
force: :cascade
do
|
t
|
t
.
datetime_with_timezone
"created_at"
,
null:
false
...
...
@@ -2191,7 +2189,9 @@ ActiveRecord::Schema.define(version: 20171006091000) do
add_foreign_key
"fork_network_members"
,
"projects"
,
on_delete: :cascade
add_foreign_key
"fork_networks"
,
"projects"
,
column:
"root_project_id"
,
name:
"fk_e7b436b2b5"
,
on_delete: :nullify
add_foreign_key
"forked_project_links"
,
"projects"
,
column:
"forked_to_project_id"
,
name:
"fk_434510edb0"
,
on_delete: :cascade
<<<<<<<
HEAD
add_foreign_key
"gcp_clusters"
,
"projects"
,
on_delete: :cascade
add_foreign_key
"gcp_clusters"
,
"services"
,
on_delete: :nullify
add_foreign_key
"gcp_clusters"
,
"users"
,
on_delete: :nullify
add_foreign_key
"geo_event_log"
,
"geo_repositories_changed_events"
,
column:
"repositories_changed_event_id"
,
name:
"fk_4a99ebfd60"
,
on_delete: :cascade
add_foreign_key
"geo_event_log"
,
"geo_repository_created_events"
,
column:
"repository_created_event_id"
,
name:
"fk_9b9afb1916"
,
on_delete: :cascade
add_foreign_key
"geo_event_log"
,
"geo_repository_deleted_events"
,
column:
"repository_deleted_event_id"
,
name:
"fk_c4b1c1f66e"
,
on_delete: :cascade
...
...
@@ -2203,12 +2203,7 @@ ActiveRecord::Schema.define(version: 20171006091000) do
add_foreign_key
"geo_repository_created_events"
,
"projects"
,
on_delete: :cascade
add_foreign_key
"geo_repository_renamed_events"
,
"projects"
,
on_delete: :cascade
add_foreign_key
"geo_repository_updated_events"
,
"projects"
,
on_delete: :cascade
=======
add_foreign_key
"gcp_clusters"
,
"projects"
,
on_delete: :cascade
add_foreign_key
"gcp_clusters"
,
"services"
,
on_delete: :nullify
add_foreign_key
"gcp_clusters"
,
"users"
,
on_delete: :nullify
add_foreign_key
"gpg_key_subkeys"
,
"gpg_keys"
,
on_delete: :cascade
>>>>>>>
ce
-
com
/
master
add_foreign_key
"gpg_keys"
,
"users"
,
on_delete: :cascade
add_foreign_key
"gpg_signatures"
,
"gpg_key_subkeys"
,
on_delete: :nullify
add_foreign_key
"gpg_signatures"
,
"gpg_keys"
,
on_delete: :nullify
...
...
lib/gitlab/usage_data.rb
View file @
b2a60a2f
...
...
@@ -62,11 +62,8 @@ module Gitlab
deploy_keys:
DeployKey
.
count
,
deployments:
Deployment
.
count
,
environments:
::
Environment
.
count
,
<<<<<<<
HEAD
geo_nodes:
GeoNode
.
count
,
=======
gcp_clusters:
::
Gcp
::
Cluster
.
count
,
>>>>>>>
ce
-
com
/
master
geo_nodes:
GeoNode
.
count
,
in_review_folder:
::
Environment
.
in_review_folder
.
count
,
groups:
Group
.
count
,
issues:
Issue
.
count
,
...
...
locale/gitlab.pot
View file @
b2a60a2f
...
...
@@ -8,13 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: gitlab 1.0.0\n"
"Report-Msgid-Bugs-To: \n"
<<<<<<< HEAD
"POT-Creation-Date: 2017-10-06 22:39+0200\n"
"PO-Revision-Date: 2017-10-06 22:39+0200\n"
=======
"POT-Creation-Date: 2017-10-06 18:33+0200\n"
"PO-Revision-Date: 2017-10-06 18:33+0200\n"
>>>>>>> ce-com/master
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
...
...
@@ -455,9 +450,9 @@ msgstr ""
msgid "Clone repository"
msgstr ""
<<<<<<< HEAD
msgid "Close"
=======
msgstr ""
msgid "ClusterIntegration|A %{link_to_container_project} must have been created under this account"
msgstr ""
...
...
@@ -579,7 +574,6 @@ msgid "ClusterIntegration|meets the requirements"
msgstr ""
msgid "ClusterIntegration|properly configured"
>>>>>>> ce-com/master
msgstr ""
msgid "Comments"
...
...
@@ -1585,9 +1579,6 @@ msgstr[1] ""
msgid "Snippets"
msgstr ""
<<<<<<< HEAD
msgid "Something went wrong trying to change the locked state of this ${this.issuableDisplayName(this.issuableType)}"
=======
msgid "Something went wrong on our end."
msgstr ""
...
...
@@ -1595,7 +1586,9 @@ msgid "Something went wrong while fetching the projects."
msgstr ""
msgid "Something went wrong while fetching the registry list."
>>>>>>> ce-com/master
msgstr ""
msgid "Something went wrong trying to change the locked state of this ${this.issuableDisplayName(this.issuableType)}"
msgstr ""
msgid "SortOptions|Access level, ascending"
...
...
@@ -2220,9 +2213,8 @@ msgid_plural "parents"
msgstr[0] ""
msgstr[1] ""
<<<<<<< HEAD
msgid "to help your contributors communicate effectively!"
=======
msgstr ""
msgid "personal access token"
>>>>>>> ce-com/master
msgstr ""
spec/lib/gitlab/usage_data_spec.rb
View file @
b2a60a2f
...
...
@@ -71,11 +71,8 @@ describe Gitlab::UsageData do
deploy_keys
deployments
environments
<<<<<<< HEAD
geo_nodes
=======
gcp_clusters
>>>>>>> ce-com/master
geo_nodes
in_review_folder
groups
issues
...
...
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