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
b21df661
Commit
b21df661
authored
Sep 13, 2018
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused packages config from 1_settings.rb
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
14d47ed4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
config/initializers/1_settings.rb
config/initializers/1_settings.rb
+0
-3
No files found.
config/initializers/1_settings.rb
View file @
b21df661
...
@@ -258,9 +258,6 @@ Settings.uploads['object_store']['remote_directory'] ||= 'uploads'
...
@@ -258,9 +258,6 @@ Settings.uploads['object_store']['remote_directory'] ||= 'uploads'
Settings
[
'packages'
]
||=
Settingslogic
.
new
({})
Settings
[
'packages'
]
||=
Settingslogic
.
new
({})
Settings
.
packages
[
'enabled'
]
=
true
if
Settings
.
packages
[
'enabled'
].
nil?
Settings
.
packages
[
'enabled'
]
=
true
if
Settings
.
packages
[
'enabled'
].
nil?
Settings
.
packages
[
'storage_path'
]
=
Settings
.
absolute
(
Settings
.
packages
[
'storage_path'
]
||
File
.
join
(
Settings
.
shared
[
'path'
],
"packages"
))
Settings
.
packages
[
'storage_path'
]
=
Settings
.
absolute
(
Settings
.
packages
[
'storage_path'
]
||
File
.
join
(
Settings
.
shared
[
'path'
],
"packages"
))
# Settings.artifact['path'] is deprecated, use `storage_path` instead
Settings
.
packages
[
'path'
]
=
Settings
.
packages
[
'storage_path'
]
Settings
.
packages
[
'max_size'
]
||=
100
# in megabytes
Settings
.
packages
[
'object_store'
]
=
ObjectStoreSettings
.
parse
(
Settings
.
packages
[
'object_store'
])
Settings
.
packages
[
'object_store'
]
=
ObjectStoreSettings
.
parse
(
Settings
.
packages
[
'object_store'
])
#
#
...
...
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