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
6b9c1a57
Commit
6b9c1a57
authored
Nov 01, 2017
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CE->EE] Resove non-JS related conflicts
parent
8e38899d
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1 addition
and
24 deletions
+1
-24
.gitlab-ci.yml
.gitlab-ci.yml
+1
-5
app/models/identity.rb
app/models/identity.rb
+0
-4
app/serializers/merge_request_basic_entity.rb
app/serializers/merge_request_basic_entity.rb
+0
-3
app/services/milestones/promote_service.rb
app/services/milestones/promote_service.rb
+0
-3
spec/fixtures/api/schemas/entities/issue.json
spec/fixtures/api/schemas/entities/issue.json
+0
-3
spec/fixtures/api/schemas/entities/merge_request_basic.json
spec/fixtures/api/schemas/entities/merge_request_basic.json
+0
-3
spec/lib/gitlab/database_spec.rb
spec/lib/gitlab/database_spec.rb
+0
-3
No files found.
.gitlab-ci.yml
View file @
6b9c1a57
...
@@ -480,11 +480,7 @@ db:migrate:reset-mysql:
...
@@ -480,11 +480,7 @@ db:migrate:reset-mysql:
variables
:
variables
:
SETUP_DB
:
"
false"
SETUP_DB
:
"
false"
script
:
script
:
<<<<<<< HEAD
-
git fetch origin v9.3.0-ee
- git fetch origin v8.14.10-ee
=======
- git fetch origin v9.3.0
>
>>>>>>
6306e797acca358c79c120e5b12c29a5ec604571
-
git checkout -f FETCH_HEAD
-
git checkout -f FETCH_HEAD
-
bundle install $BUNDLE_INSTALL_FLAGS
-
bundle install $BUNDLE_INSTALL_FLAGS
-
cp config/gitlab.yml.example config/gitlab.yml
-
cp config/gitlab.yml.example config/gitlab.yml
...
...
app/models/identity.rb
View file @
6b9c1a57
...
@@ -7,15 +7,11 @@ class Identity < ActiveRecord::Base
...
@@ -7,15 +7,11 @@ class Identity < ActiveRecord::Base
validates
:extern_uid
,
allow_blank:
true
,
uniqueness:
{
scope: :provider
}
validates
:extern_uid
,
allow_blank:
true
,
uniqueness:
{
scope: :provider
}
validates
:user_id
,
uniqueness:
{
scope: :provider
}
validates
:user_id
,
uniqueness:
{
scope: :provider
}
<<<<<<<
HEAD
scope
:with_provider
,
->
(
provider
)
{
where
(
provider:
provider
)
}
scope
:with_provider
,
->
(
provider
)
{
where
(
provider:
provider
)
}
scope
:with_extern_uid
,
->
(
provider
,
extern_uid
)
{
where
(
extern_uid:
extern_uid
,
provider:
provider
)
}
=======
scope
:with_extern_uid
,
->
(
provider
,
extern_uid
)
do
scope
:with_extern_uid
,
->
(
provider
,
extern_uid
)
do
extern_uid
=
Gitlab
::
LDAP
::
Person
.
normalize_dn
(
extern_uid
)
if
provider
.
starts_with?
(
'ldap'
)
extern_uid
=
Gitlab
::
LDAP
::
Person
.
normalize_dn
(
extern_uid
)
if
provider
.
starts_with?
(
'ldap'
)
where
(
extern_uid:
extern_uid
,
provider:
provider
)
where
(
extern_uid:
extern_uid
,
provider:
provider
)
end
end
>>>>>>>
6306e797
acca358c79c120e5b12c29a5ec604571
def
ldap?
def
ldap?
provider
.
starts_with?
(
'ldap'
)
provider
.
starts_with?
(
'ldap'
)
...
...
app/serializers/merge_request_basic_entity.rb
View file @
6b9c1a57
...
@@ -4,8 +4,5 @@ class MergeRequestBasicEntity < IssuableSidebarEntity
...
@@ -4,8 +4,5 @@ class MergeRequestBasicEntity < IssuableSidebarEntity
expose
:merge_error
expose
:merge_error
expose
:state
expose
:state
expose
:source_branch_exists?
,
as: :source_branch_exists
expose
:source_branch_exists?
,
as: :source_branch_exists
<<<<<<<
HEAD
expose
:rebase_in_progress?
,
as: :rebase_in_progress
expose
:rebase_in_progress?
,
as: :rebase_in_progress
=======
>>>>>>>
6306e797
acca358c79c120e5b12c29a5ec604571
end
end
app/services/milestones/promote_service.rb
View file @
6b9c1a57
module
Milestones
module
Milestones
class
PromoteService
<
Milestones
::
BaseService
class
PromoteService
<
Milestones
::
BaseService
<<<<<<<
HEAD
prepend
EE
::
Milestones
::
PromoteService
prepend
EE
::
Milestones
::
PromoteService
=======
>>>>>>>
6306e797
acca358c79c120e5b12c29a5ec604571
PromoteMilestoneError
=
Class
.
new
(
StandardError
)
PromoteMilestoneError
=
Class
.
new
(
StandardError
)
def
execute
(
milestone
)
def
execute
(
milestone
)
...
...
spec/fixtures/api/schemas/entities/issue.json
View file @
6b9c1a57
...
@@ -10,10 +10,7 @@
...
@@ -10,10 +10,7 @@
"title"
:
{
"type"
:
"string"
},
"title"
:
{
"type"
:
"string"
},
"moved_to_id"
:
{
"type"
:
[
"integer"
,
"null"
]
},
"moved_to_id"
:
{
"type"
:
[
"integer"
,
"null"
]
},
"project_id"
:
{
"type"
:
"integer"
},
"project_id"
:
{
"type"
:
"integer"
},
<<<<<<<
HEAD
"weight"
:
{
"type"
:
[
"integer"
,
"null"
]
},
"weight"
:
{
"type"
:
[
"integer"
,
"null"
]
},
=======
>>>>>>>
6306e797
acca
358
c
79
c
120e5
b
12
c
29
a
5
ec
604571
"web_url"
:
{
"type"
:
"string"
},
"web_url"
:
{
"type"
:
"string"
},
"state"
:
{
"type"
:
"string"
},
"state"
:
{
"type"
:
"string"
},
"create_note_path"
:
{
"type"
:
"string"
},
"create_note_path"
:
{
"type"
:
"string"
},
...
...
spec/fixtures/api/schemas/entities/merge_request_basic.json
View file @
6b9c1a57
...
@@ -9,10 +9,7 @@
...
@@ -9,10 +9,7 @@
"human_time_estimate"
:
{
"type"
:
[
"string"
,
"null"
]
},
"human_time_estimate"
:
{
"type"
:
[
"string"
,
"null"
]
},
"human_total_time_spent"
:
{
"type"
:
[
"string"
,
"null"
]
},
"human_total_time_spent"
:
{
"type"
:
[
"string"
,
"null"
]
},
"merge_error"
:
{
"type"
:
[
"string"
,
"null"
]
},
"merge_error"
:
{
"type"
:
[
"string"
,
"null"
]
},
<<<<<<<
HEAD
"rebase_in_progress"
:
{
"type"
:
"boolean"
},
"rebase_in_progress"
:
{
"type"
:
"boolean"
},
=======
>>>>>>>
6306e797
acca
358
c
79
c
120e5
b
12
c
29
a
5
ec
604571
"assignee_id"
:
{
"type"
:
[
"integer"
,
"null"
]
},
"assignee_id"
:
{
"type"
:
[
"integer"
,
"null"
]
},
"subscribed"
:
{
"type"
:
[
"boolean"
,
"null"
]
},
"subscribed"
:
{
"type"
:
[
"boolean"
,
"null"
]
},
"participants"
:
{
"type"
:
"array"
}
"participants"
:
{
"type"
:
"array"
}
...
...
spec/lib/gitlab/database_spec.rb
View file @
6b9c1a57
...
@@ -257,7 +257,6 @@ describe Gitlab::Database do
...
@@ -257,7 +257,6 @@ describe Gitlab::Database do
end
end
end
end
<<<<<<<
HEAD
describe
'#disable_prepared_statements'
do
describe
'#disable_prepared_statements'
do
it
'disables prepared statements'
do
it
'disables prepared statements'
do
config
=
{}
config
=
{}
...
@@ -306,8 +305,6 @@ describe Gitlab::Database do
...
@@ -306,8 +305,6 @@ describe Gitlab::Database do
end
end
end
end
=======
>>>>>>>
6306e797
acca358c79c120e5b12c29a5ec604571
describe
'#sanitize_timestamp'
do
describe
'#sanitize_timestamp'
do
let
(
:max_timestamp
)
{
Time
.
at
((
1
<<
31
)
-
1
)
}
let
(
:max_timestamp
)
{
Time
.
at
((
1
<<
31
)
-
1
)
}
...
...
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