Commit 71d31a38fc73252a76076820c63d054a8047d667

Authored by Dmitriy Zaporozhets
2 parents 201158f1 24bc3e08

Merge pull request #5013 from clayzermk1/master

Import Bare Repositories instructions/description are incorrect
doc/raketasks/maintenance.md
... ... @@ -122,7 +122,7 @@ Notes:
122 122  
123 123 How to use:
124 124  
125   -1. copy your bare repos under git base_path (see `config/gitlab.yml` git_host -> base_path)
  125 +1. copy your bare repos under git repos_path (see `config/gitlab.yml` gitlab_shell -> repos_path)
126 126 2. run the command below
127 127  
128 128 ```
... ...
lib/tasks/gitlab/import.rake
... ... @@ -2,14 +2,14 @@ namespace :gitlab do
2 2 namespace :import do
3 3 # How to use:
4 4 #
5   - # 1. copy your bare repos under git base_path
  5 + # 1. copy your bare repos under git repos_path
6 6 # 2. run bundle exec rake gitlab:import:repos RAILS_ENV=production
7 7 #
8 8 # Notes:
9 9 # * project owner will be a first admin
10 10 # * existing projects will be skipped
11 11 #
12   - desc "GITLAB | Import bare repositories from git_host -> base_path into GitLab project instance"
  12 + desc "GITLAB | Import bare repositories from gitlab_shell -> repos_path into GitLab project instance"
13 13 task repos: :environment do
14 14  
15 15 git_base_path = Gitlab.config.gitlab_shell.repos_path
... ...