Commit 77e1d2a1 authored by Robert Speicher's avatar Robert Speicher

Resolve conflicts for gitlab-org/gitlab-ee!5257

parent 6d4b9c45
...@@ -22,12 +22,9 @@ class Project < ActiveRecord::Base ...@@ -22,12 +22,9 @@ class Project < ActiveRecord::Base
include DeploymentPlatform include DeploymentPlatform
include ::Gitlab::Utils::StrongMemoize include ::Gitlab::Utils::StrongMemoize
include ChronicDurationAttribute include ChronicDurationAttribute
<<<<<<< HEAD
# EE specific modules # EE specific modules
prepend EE::Project prepend EE::Project
=======
>>>>>>> upstream/master
extend Gitlab::ConfigHelper extend Gitlab::ConfigHelper
......
class MergeRequestPolicy < IssuablePolicy class MergeRequestPolicy < IssuablePolicy
<<<<<<< HEAD
prepend EE::MergeRequestPolicy prepend EE::MergeRequestPolicy
=======
>>>>>>> upstream/master
end end
...@@ -28,7 +28,6 @@ module API ...@@ -28,7 +28,6 @@ module API
optional :merge_method, type: String, values: %w(ff rebase_merge merge), desc: 'The merge method used when merging merge requests' optional :merge_method, type: String, values: %w(ff rebase_merge merge), desc: 'The merge method used when merging merge requests'
end end
<<<<<<< HEAD
params :optional_project_params_ee do params :optional_project_params_ee do
optional :repository_storage, type: String, desc: 'Which storage shard the repository is on. Available only to admins' optional :repository_storage, type: String, desc: 'Which storage shard the repository is on. Available only to admins'
optional :approvals_before_merge, type: Integer, desc: 'How many approvers should approve merge request by default' optional :approvals_before_merge, type: Integer, desc: 'How many approvers should approve merge request by default'
...@@ -38,10 +37,6 @@ module API ...@@ -38,10 +37,6 @@ module API
params :optional_project_params do params :optional_project_params do
use :optional_project_params_ce use :optional_project_params_ce
use :optional_project_params_ee use :optional_project_params_ee
=======
params :optional_project_params do
use :optional_project_params_ce
>>>>>>> upstream/master
end end
end end
end end
......
...@@ -267,7 +267,6 @@ module API ...@@ -267,7 +267,6 @@ module API
optional :default_branch, type: String, desc: 'The default branch of the project' optional :default_branch, type: String, desc: 'The default branch of the project'
optional :path, type: String, desc: 'The path of the repository' optional :path, type: String, desc: 'The path of the repository'
<<<<<<< HEAD
# EE # EE
at_least_one_of_ee = [ at_least_one_of_ee = [
:approvals_before_merge, :approvals_before_merge,
...@@ -277,10 +276,6 @@ module API ...@@ -277,10 +276,6 @@ module API
use :optional_project_params use :optional_project_params
at_least_one_of(*(at_least_one_of_ce + at_least_one_of_ee)) at_least_one_of(*(at_least_one_of_ce + at_least_one_of_ee))
=======
use :optional_project_params
at_least_one_of(*at_least_one_of_ce)
>>>>>>> upstream/master
end end
put ':id' do put ':id' do
authorize_admin_project authorize_admin_project
......
...@@ -110,13 +110,10 @@ excluded_attributes: ...@@ -110,13 +110,10 @@ excluded_attributes:
- :mirror_user_id - :mirror_user_id
- :mirror_trigger_builds - :mirror_trigger_builds
- :storage_version - :storage_version
<<<<<<< HEAD
- :remote_mirror_available_overridden - :remote_mirror_available_overridden
- :only_mirror_protected_branches - :only_mirror_protected_branches
- :pull_mirror_available_overridden - :pull_mirror_available_overridden
- :mirror_overwrites_diverged_branches - :mirror_overwrites_diverged_branches
=======
>>>>>>> upstream/master
- :description_html - :description_html
snippets: snippets:
- :expired_at - :expired_at
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment