Commit af2a39470f6c7e548355d5f839a9251620a870ec
1 parent
e2843373
Exists in
spb-stable
and in
2 other branches
Make import docs more prominent.
Showing
2 changed files
with
2 additions
and
30 deletions
Show diff stats
doc/raketasks/README.md
1 | 1 | + [Backup restore](backup_restore.md) |
2 | 2 | + [Cleanup](cleanup.md) |
3 | 3 | + [Features](features.md) |
4 | -+ [Maintenance](maintenance.md) | |
4 | ++ [Maintenance](maintenance.md) and self-checks | |
5 | 5 | + [User management](user_management.md) |
6 | 6 | + [Web hooks](web_hooks.md) |
7 | ++ [Import](import.md) of git repositories in bulk | ... | ... |
doc/raketasks/maintenance.md
... | ... | @@ -110,32 +110,3 @@ If necessary, remove the `tmp/repo_satellites` directory and rerun the command b |
110 | 110 | ``` |
111 | 111 | bundle exec rake gitlab:satellites:create RAILS_ENV=production |
112 | 112 | ``` |
113 | - | |
114 | -### Import bare repositories into GitLab project instance | |
115 | - | |
116 | -Notes: | |
117 | - | |
118 | -* project owner will be a first admin | |
119 | -* groups will be created as needed | |
120 | -* group owner will be the first admin | |
121 | -* existing projects will be skipped | |
122 | - | |
123 | -How to use: | |
124 | - | |
125 | -1. copy your bare repos under git repos_path (see `config/gitlab.yml` gitlab_shell -> repos_path) | |
126 | -2. run the command below | |
127 | - | |
128 | -``` | |
129 | -bundle exec rake gitlab:import:repos RAILS_ENV=production | |
130 | -``` | |
131 | - | |
132 | -Example output: | |
133 | - | |
134 | -``` | |
135 | -Processing abcd.git | |
136 | - * Created abcd (abcd.git) | |
137 | -Processing group/xyz.git | |
138 | - * Created Group group (2) | |
139 | - * Created xyz (group/xyz.git) | |
140 | -[...] | |
141 | -``` | ... | ... |