Skip to content
Snippets Groups Projects
Commit 2dc8a196 authored by Sam Gleske's avatar Sam Gleske
Browse files

Added mirror types to management docs

parent 708e23a2
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,20 @@ A short overview of managing mirrored repositories. This assumes you have alrea
## Create a mirror
Currently `gitlab-mirrors` supports the following repository types.
* Bazaar
* git
* svn
### Bazaar
Create a BZR repository mirror.
su - gitmirror
cd gitlab-mirrors
./add_mirror.sh --bzr --project-name bzr-ubuntu-hello --mirror lp:ubuntu/hello
### git
Create a git repository mirror.
......@@ -28,14 +42,6 @@ The `--authors-file` option is an optional argument. It serves the same purpose
Notice in [`config.sh`](../config.sh.SAMPLE) there's an option `git_svn_additional_options`. This option affects `add_mirror.sh` and the creation of a mirror only. It doesn't affect the synchronization of the svn repository. See the [`git-svn(1)`][git-svn-man] man page under `init` COMMAND options for available values which can be set.
### Bazaar
Create a BZR repository mirror.
su - gitmirror
cd gitlab-mirrors
./add_mirror.sh --bzr --project-name bzr-ubuntu-hello --mirror lp:ubuntu/hello
## List all known mirrors
su - gitmirror
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment