mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-20 01:56:06 +10:00
Merge branch 'import-check' into 'master'
Import check /cc @dzaporozhets
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
+ [Backup restore](backup_restore.md)
|
||||
+ [Cleanup](cleanup.md)
|
||||
+ [Features](features.md)
|
||||
+ [Maintenance](maintenance.md)
|
||||
+ [Maintenance](maintenance.md) and self-checks
|
||||
+ [User management](user_management.md)
|
||||
+ [Web hooks](web_hooks.md)
|
||||
+ [Import](import.md) of git repositories in bulk
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
### 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)
|
||||
[...]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user