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
034140b3
Commit
034140b3
authored
Jul 06, 2017
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some miscellaneous conflicts in app/ and lib/
parent
9b1562a6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
16 deletions
+0
-16
app/controllers/projects_controller.rb
app/controllers/projects_controller.rb
+0
-4
app/policies/base_policy.rb
app/policies/base_policy.rb
+0
-3
lib/api/variables.rb
lib/api/variables.rb
+0
-6
lib/tasks/gitlab/info.rake
lib/tasks/gitlab/info.rake
+0
-3
No files found.
app/controllers/projects_controller.rb
View file @
034140b3
...
...
@@ -91,12 +91,8 @@ class ProjectsController < Projects::ApplicationController
end
def
show
<<<<<<<
HEAD
# If we're importing while we do have a repository, we're simply updating the mirror.
if
@project
.
import_in_progress?
&&
!
@project
.
updating_mirror?
=======
if
@project
.
import_in_progress?
>>>>>>>
ce
/
master
redirect_to
project_import_path
(
@project
)
return
end
...
...
app/policies/base_policy.rb
View file @
034140b3
...
...
@@ -17,7 +17,6 @@ class BasePolicy < DeclarativePolicy::Base
condition
(
:restricted_public_level
,
scope: :global
)
do
current_application_settings
.
restricted_visibility_levels
.
include?
(
Gitlab
::
VisibilityLevel
::
PUBLIC
)
end
<<<<<<<
HEAD
# EE Extensions
with_scope
:user
...
...
@@ -28,6 +27,4 @@ class BasePolicy < DeclarativePolicy::Base
with_scope
:global
condition
(
:license_block
)
{
License
.
block_changes?
}
=======
>>>>>>>
ce
/
master
end
lib/api/variables.rb
View file @
034140b3
...
...
@@ -50,13 +50,10 @@ module API
post
':id/variables'
do
variable_params
=
declared_params
(
include_missing:
false
)
<<<<<<<
HEAD
# EE
variable_params
.
delete
(
:environment_scope
)
unless
user_project
.
feature_available?
(
:variable_environment_scope
)
=======
>>>>>>>
ce
/
master
variable
=
user_project
.
variables
.
create
(
variable_params
)
if
variable
.
valid?
...
...
@@ -84,13 +81,10 @@ module API
variable_params
=
declared_params
(
include_missing:
false
).
except
(
:key
)
<<<<<<<
HEAD
# EE
variable_params
.
delete
(
:environment_scope
)
unless
user_project
.
feature_available?
(
:variable_environment_scope
)
=======
>>>>>>>
ce
/
master
if
variable
.
update
(
variable_params
)
present
variable
,
with:
Entities
::
Variable
else
...
...
lib/tasks/gitlab/info.rake
View file @
034140b3
...
...
@@ -46,7 +46,6 @@ namespace :gitlab do
http_clone_url
=
project
.
http_url_to_repo
ssh_clone_url
=
project
.
ssh_url_to_repo
<<<<<<<
HEAD
geo_node_type
=
if
Gitlab
::
Geo
.
current_node
Gitlab
::
Geo
.
current_node
.
primary
?
'Primary'
:
'Secondary'
...
...
@@ -54,8 +53,6 @@ namespace :gitlab do
'Undefined'
.
color
(
:red
)
end
=======
>>>>>>>
ce
/
master
omniauth_providers
=
Gitlab
.
config
.
omniauth
.
providers
.
map
{
|
provider
|
provider
[
'name'
]
}
puts
""
...
...
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