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
0fb13e3d
Commit
0fb13e3d
authored
Jun 29, 2017
by
Tiago Botelho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make mirror specific admin application settings exclusive to Gitlab.com
parent
75ac0420
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
23 deletions
+28
-23
app/views/admin/application_settings/_repository_mirrors_form.html.haml
...n/application_settings/_repository_mirrors_form.html.haml
+24
-23
changelogs/unreleased-ee/make-mirror-settings-exclusive-to-gitlab-com.yml
...eased-ee/make-mirror-settings-exclusive-to-gitlab-com.yml
+4
-0
No files found.
app/views/admin/application_settings/_repository_mirrors_form.html.haml
View file @
0fb13e3d
%fieldset
-
if
Gitlab
.
com?
%legend
Repository mirror settings
%fieldset
.form-group
%legend
Repository mirror settings
=
f
.
label
:mirror_max_delay
,
class:
'control-label col-sm-2'
do
.form-group
Maximum delay (Hours)
=
f
.
label
:mirror_max_delay
,
class:
'control-label col-sm-2'
do
.col-sm-10
Maximum delay (Hours)
=
f
.
number_field
:mirror_max_delay
,
class:
'form-control'
,
min:
0
.col-sm-10
%span
.help-block
#mirror_max_delay_help_block
=
f
.
number_field
:mirror_max_delay
,
class:
'form-control'
,
min:
0
Maximum time between updates that a mirror can have when scheduled to synchronize.
%span
.help-block
#mirror_max_delay_help_block
.form-group
Maximum time between updates that a mirror can have when scheduled to synchronize.
=
f
.
label
:mirror_max_capacity
,
class:
'control-label col-sm-2'
do
.form-group
Maximum capacity
=
f
.
label
:mirror_max_capacity
,
class:
'control-label col-sm-2'
do
.col-sm-10
Maximum capacity
=
f
.
number_field
:mirror_max_capacity
,
class:
'form-control'
,
min:
0
.col-sm-10
%span
.help-block
#mirror_max_capacity_help_block
=
f
.
number_field
:mirror_max_capacity
,
class:
'form-control'
,
min:
0
Maximum number of mirrors that can be synchronizing at the same time.
%span
.help-block
#mirror_max_capacity_help_block
.form-group
Maximum number of mirrors that can be synchronizing at the same time.
=
f
.
label
:mirror_capacity_threshold
,
class:
'control-label col-sm-2'
do
.form-group
Capacity threshold
=
f
.
label
:mirror_capacity_threshold
,
class:
'control-label col-sm-2'
do
.col-sm-10
Capacity threshold
=
f
.
number_field
:mirror_capacity_threshold
,
class:
'form-control'
,
min:
0
.col-sm-10
%span
.help-block
#mirror_capacity_threshold
=
f
.
number_field
:mirror_capacity_threshold
,
class:
'form-control'
,
min:
0
Minimum capacity to be available before we schedule more mirrors preemptively.
%span
.help-block
#mirror_capacity_threshold
Minimum capacity to be available before we schedule more mirrors preemptively.
changelogs/unreleased-ee/make-mirror-settings-exclusive-to-gitlab-com.yml
0 → 100644
View file @
0fb13e3d
---
title
:
Make admin mirror application setting Gitlab.com exclusive
merge_request
:
2307
author
:
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