Commit 71d31a38fc73252a76076820c63d054a8047d667
Exists in
master
and in
4 other branches
Merge pull request #5013 from clayzermk1/master
Import Bare Repositories instructions/description are incorrect
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
doc/raketasks/maintenance.md
@@ -122,7 +122,7 @@ Notes: | @@ -122,7 +122,7 @@ Notes: | ||
122 | 122 | ||
123 | How to use: | 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 | 2. run the command below | 126 | 2. run the command below |
127 | 127 | ||
128 | ``` | 128 | ``` |
lib/tasks/gitlab/import.rake
@@ -2,14 +2,14 @@ namespace :gitlab do | @@ -2,14 +2,14 @@ namespace :gitlab do | ||
2 | namespace :import do | 2 | namespace :import do |
3 | # How to use: | 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 | # 2. run bundle exec rake gitlab:import:repos RAILS_ENV=production | 6 | # 2. run bundle exec rake gitlab:import:repos RAILS_ENV=production |
7 | # | 7 | # |
8 | # Notes: | 8 | # Notes: |
9 | # * project owner will be a first admin | 9 | # * project owner will be a first admin |
10 | # * existing projects will be skipped | 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 | task repos: :environment do | 13 | task repos: :environment do |
14 | 14 | ||
15 | git_base_path = Gitlab.config.gitlab_shell.repos_path | 15 | git_base_path = Gitlab.config.gitlab_shell.repos_path |