From 2dc8a1963a046d612df88058f97afe148a84dfbc Mon Sep 17 00:00:00 2001 From: Sam Gleske <sag47@drexel.edu> Date: Wed, 13 Nov 2013 09:52:39 -0500 Subject: [PATCH] Added mirror types to management docs --- docs/management.md | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/docs/management.md b/docs/management.md index 2269419..5d424cf 100644 --- a/docs/management.md +++ b/docs/management.md @@ -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 -- GitLab