Commit 5841b50c authored by Denys Mishunov's avatar Denys Mishunov

Merge branch 'fj-update-repository-shards-admin-copies' into 'master'

Update copies from project to repositories

See merge request gitlab-org/gitlab!27986
parents 4396947e 57d88e24
...@@ -9,13 +9,13 @@ ...@@ -9,13 +9,13 @@
= f.check_box :hashed_storage_enabled, class: 'form-check-input qa-hashed-storage-checkbox' = f.check_box :hashed_storage_enabled, class: 'form-check-input qa-hashed-storage-checkbox'
= f.label :hashed_storage_enabled, _("Use hashed storage"), class: 'label-bold form-check-label' = f.label :hashed_storage_enabled, _("Use hashed storage"), class: 'label-bold form-check-label'
.form-text.text-muted .form-text.text-muted
= _("Use hashed storage paths for newly created and renamed projects. Enable immutable, hash-based paths and repository names to store repositories on disk. This prevents repositories from having to be moved or renamed when the Project URL changes and may improve disk I/O performance.") = _("Use hashed storage paths for newly created and renamed repositories. Enable immutable, hash-based paths and repository names to store repositories on disk. This prevents repositories from having to be moved or renamed when the Repository URL changes and may improve disk I/O performance.")
.sub-section .sub-section
%h4= _("Storage nodes for new projects") %h4= _("Storage nodes for new repositories")
.form-group .form-group
.form-text .form-text
%p.text-secondary %p.text-secondary
= _('Select the configured storaged available for new projects to be placed on.') = _('Select the configured storage available for new repositories to be placed on.')
= link_to icon('question-circle'), help_page_path('administration/repository_storage_paths') = link_to icon('question-circle'), help_page_path('administration/repository_storage_paths')
.form-check .form-check
= f.collection_check_boxes :repository_storages, Gitlab.config.repositories.storages, :first, :first, include_hidden: false do |b| = f.collection_check_boxes :repository_storages, Gitlab.config.repositories.storages, :first, :first, include_hidden: false do |b|
......
---
title: Update copies in Admin Panel > Repository Storage section
merge_request: 27986
author:
type: changed
...@@ -104,16 +104,16 @@ working, you can remove the `repos_path` line. ...@@ -104,16 +104,16 @@ working, you can remove the `repos_path` line.
Note that Omnibus stores the repositories in a `repositories` subdirectory Note that Omnibus stores the repositories in a `repositories` subdirectory
of the `git-data` directory. of the `git-data` directory.
## Choose where new project repositories will be stored ## Choose where new repositories will be stored
Once you set the multiple storage paths, you can choose where new projects will Once you set the multiple storage paths, you can choose where new repositories
be stored under **Admin Area > Settings > Repository > Repository storage > Storage will be stored under **Admin Area > Settings > Repository >
nodes for new projects**. Repository storage > Storage nodes for new repositories**.
![Choose repository storage path in Admin Area](img/repository_storages_admin_ui.png) ![Choose repository storage path in Admin Area](img/repository_storages_admin_ui_v12_10.png)
Beginning with GitLab 8.13.4, multiple paths can be chosen. New projects will be Beginning with GitLab 8.13.4, multiple paths can be chosen. New repositories
randomly placed on one of the selected paths. will be randomly placed on one of the selected paths.
[ce-4578]: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/4578 [ce-4578]: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/4578
[restart-gitlab]: restart_gitlab.md#installations-from-source [restart-gitlab]: restart_gitlab.md#installations-from-source
......
...@@ -17943,7 +17943,7 @@ msgstr "" ...@@ -17943,7 +17943,7 @@ msgstr ""
msgid "Select the branch you want to set as the default for this project. All merge requests and commits will automatically be made against this branch unless you specify a different one." msgid "Select the branch you want to set as the default for this project. All merge requests and commits will automatically be made against this branch unless you specify a different one."
msgstr "" msgstr ""
msgid "Select the configured storaged available for new projects to be placed on." msgid "Select the configured storage available for new repositories to be placed on."
msgstr "" msgstr ""
msgid "Select the custom project template source group." msgid "Select the custom project template source group."
...@@ -19229,7 +19229,7 @@ msgstr "" ...@@ -19229,7 +19229,7 @@ msgstr ""
msgid "Storage" msgid "Storage"
msgstr "" msgstr ""
msgid "Storage nodes for new projects" msgid "Storage nodes for new repositories"
msgstr "" msgstr ""
msgid "Storage:" msgid "Storage:"
...@@ -21972,7 +21972,7 @@ msgstr "" ...@@ -21972,7 +21972,7 @@ msgstr ""
msgid "Use hashed storage" msgid "Use hashed storage"
msgstr "" msgstr ""
msgid "Use hashed storage paths for newly created and renamed projects. Enable immutable, hash-based paths and repository names to store repositories on disk. This prevents repositories from having to be moved or renamed when the Project URL changes and may improve disk I/O performance." msgid "Use hashed storage paths for newly created and renamed repositories. Enable immutable, hash-based paths and repository names to store repositories on disk. This prevents repositories from having to be moved or renamed when the Repository URL changes and may improve disk I/O performance."
msgstr "" msgstr ""
msgid "Use one line per URI" msgid "Use one line per URI"
......
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