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
933ecae1
Commit
933ecae1
authored
Mar 25, 2020
by
nicolasdular
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add namespace storage limit to settings
parent
d3b62b4a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
0 deletions
+33
-0
app/views/admin/application_settings/_account_and_limit.html.haml
...s/admin/application_settings/_account_and_limit.html.haml
+9
-0
changelogs/unreleased/nicolasdular-storage-limit-settings.yml
...gelogs/unreleased/nicolasdular-storage-limit-settings.yml
+5
-0
doc/user/admin_area/settings/account_and_limit_settings.md
doc/user/admin_area/settings/account_and_limit_settings.md
+13
-0
locale/gitlab.pot
locale/gitlab.pot
+6
-0
No files found.
app/views/admin/application_settings/_account_and_limit.html.haml
View file @
933ecae1
...
...
@@ -7,6 +7,15 @@
=
f
.
check_box
:gravatar_enabled
,
class:
'form-check-input'
=
f
.
label
:gravatar_enabled
,
class:
'form-check-label'
do
=
_
(
'Gravatar enabled'
)
.form-group
=
f
.
label
:namespace_storage_size_limit
,
class:
'label-bold'
do
=
_
(
'Maximum namespace storage (MB)'
)
=
f
.
number_field
:namespace_storage_size_limit
,
class:
'form-control'
,
min:
0
%span
.form-text.text-muted
=
_
(
'Includes repository storage, wiki storage, LFS objects, build artifacts and packages. 0 for unlimited.'
)
=
link_to
_
(
'More information'
),
help_page_path
(
'user/admin_area/settings/account_and_limit_settings'
,
anchor:
'maximum-namespace-storage-size'
),
target:
'_blank'
.form-group
=
f
.
label
:default_projects_limit
,
_
(
'Default projects limit'
),
class:
'label-bold'
=
f
.
number_field
:default_projects_limit
,
class:
'form-control'
,
title:
_
(
'Maximum number of projects.'
),
data:
{
toggle:
'tooltip'
,
container:
'body'
}
...
...
changelogs/unreleased/nicolasdular-storage-limit-settings.yml
0 → 100644
View file @
933ecae1
---
title
:
Add namespace storage size limit setting
merge_request
:
author
:
type
:
added
doc/user/admin_area/settings/account_and_limit_settings.md
View file @
933ecae1
...
...
@@ -15,6 +15,19 @@ If you choose a size larger than what is currently configured for the web server
you will likely get errors. See the
[
troubleshooting section
](
#troubleshooting
)
for more
details.
## Maximum namespace storage size
This sets a maximum size limit on each namespace. The following are included in the namespace size:
-
repository
-
wiki
-
LFS objects
-
build artifacts
-
packages
NOTE:
**Note:**
This limit is not currently enforced but will be in a future release.
## Repository size limit **(STARTER ONLY)**
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/740) in [GitLab Enterprise Edition 8.12](https://about.gitlab.com/releases/2016/09/22/gitlab-8-12-released/#limit-project-size-ee).
...
...
locale/gitlab.pot
View file @
933ecae1
...
...
@@ -10907,6 +10907,9 @@ msgstr ""
msgid "Includes an MVC structure, mvnw and pom.xml to help you get started."
msgstr ""
msgid "Includes repository storage, wiki storage, LFS objects, build artifacts and packages. 0 for unlimited."
msgstr ""
msgid "Incoming email"
msgstr ""
...
...
@@ -12346,6 +12349,9 @@ msgstr ""
msgid "Maximum lifetime allowable for Personal Access Tokens is active, your expire date must be set before %{maximum_allowable_date}."
msgstr ""
msgid "Maximum namespace storage (MB)"
msgstr ""
msgid "Maximum number of %{name} (%{count}) exceeded"
msgstr ""
...
...
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