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
71d31a38
Commit
71d31a38
authored
Sep 07, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5013 from clayzermk1/master
Import Bare Repositories instructions/description are incorrect
parents
201158f1
24bc3e08
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
doc/raketasks/maintenance.md
doc/raketasks/maintenance.md
+1
-1
lib/tasks/gitlab/import.rake
lib/tasks/gitlab/import.rake
+2
-2
No files found.
doc/raketasks/maintenance.md
View file @
71d31a38
...
@@ -122,7 +122,7 @@ Notes:
...
@@ -122,7 +122,7 @@ Notes:
How to use:
How to use:
1.
copy your bare repos under git
base_path (see
`config/gitlab.yml`
git_host -> base
_path)
1.
copy your bare repos under git
repos_path (see
`config/gitlab.yml`
gitlab_shell -> repos
_path)
2.
run the command below
2.
run the command below
```
```
...
...
lib/tasks/gitlab/import.rake
View file @
71d31a38
...
@@ -2,14 +2,14 @@ namespace :gitlab do
...
@@ -2,14 +2,14 @@ namespace :gitlab do
namespace
:import
do
namespace
:import
do
# How to use:
# How to use:
#
#
# 1. copy your bare repos under git
base
_path
# 1. copy your bare repos under git
repos
_path
# 2. run bundle exec rake gitlab:import:repos RAILS_ENV=production
# 2. run bundle exec rake gitlab:import:repos RAILS_ENV=production
#
#
# Notes:
# Notes:
# * project owner will be a first admin
# * project owner will be a first admin
# * existing projects will be skipped
# * existing projects will be skipped
#
#
desc
"GITLAB | Import bare repositories from git
_host -> base
_path into GitLab project instance"
desc
"GITLAB | Import bare repositories from git
lab_shell -> repos
_path into GitLab project instance"
task
repos: :environment
do
task
repos: :environment
do
git_base_path
=
Gitlab
.
config
.
gitlab_shell
.
repos_path
git_base_path
=
Gitlab
.
config
.
gitlab_shell
.
repos_path
...
...
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