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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
af2a3947
Commit
af2a3947
authored
Apr 30, 2014
by
dosire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make import docs more prominent.
parent
e2843373
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
30 deletions
+2
-30
doc/raketasks/README.md
doc/raketasks/README.md
+2
-1
doc/raketasks/maintenance.md
doc/raketasks/maintenance.md
+0
-29
No files found.
doc/raketasks/README.md
View file @
af2a3947
+
[
Backup restore
](
backup_restore.md
)
+
[
Backup restore
](
backup_restore.md
)
+
[
Cleanup
](
cleanup.md
)
+
[
Cleanup
](
cleanup.md
)
+
[
Features
](
features.md
)
+
[
Features
](
features.md
)
+
[
Maintenance
](
maintenance.md
)
+
[
Maintenance
](
maintenance.md
)
and self-checks
+
[
User management
](
user_management.md
)
+
[
User management
](
user_management.md
)
+
[
Web hooks
](
web_hooks.md
)
+
[
Web hooks
](
web_hooks.md
)
+
[
Import
](
import.md
)
of git repositories in bulk
doc/raketasks/maintenance.md
View file @
af2a3947
...
@@ -110,32 +110,3 @@ If necessary, remove the `tmp/repo_satellites` directory and rerun the command b
...
@@ -110,32 +110,3 @@ If necessary, remove the `tmp/repo_satellites` directory and rerun the command b
```
```
bundle exec rake gitlab:satellites:create RAILS_ENV=production
bundle exec rake gitlab:satellites:create RAILS_ENV=production
```
```
### Import bare repositories into GitLab project instance
Notes:
*
project owner will be a first admin
*
groups will be created as needed
*
group owner will be the first admin
*
existing projects will be skipped
How to use:
1.
copy your bare repos under git repos_path (see
`config/gitlab.yml`
gitlab_shell -> repos_path)
2.
run the command below
```
bundle exec rake gitlab:import:repos RAILS_ENV=production
```
Example output:
```
Processing abcd.git
* Created abcd (abcd.git)
Processing group/xyz.git
* Created Group group (2)
* Created xyz (group/xyz.git)
[...]
```
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