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

Clarifying a few management command examples.

parent 18da5e7b
No related branches found
No related tags found
No related merge requests found
......@@ -2,13 +2,15 @@
A short overview of managing mirrored repositories. This assumes you have already [installed gitlab-mirrors](installation.md).
*Note: any repository type other than git may or may not update the CLI with status text. For extremely large alternate repository types (e.g. Bazaar) it can take a long time to clone with little or no output to the CLI until the initial BZR clone has finished.*
### Create a mirror
Create a git repository mirror.
su - gitmirror
cd gitlab-mirrors
./add_mirror.sh --git --project-name someproject --mirror http://example.com/project.git
./add_mirror.sh --git --project-name github-gitlab-mirrors --mirror https://github.com/sag47/gitlab-mirrors.git
Create an SVN repository mirror.
......@@ -16,13 +18,13 @@ Create an SVN repository mirror.
cd gitlab-mirrors
./add_mirror.sh --svn --project-name someproject --mirror svn+ssh://user@svn.example.com/srv/repos/someproject --authors-file ./authors.txt
The `--authors-file` option is an optional argument.
The `--authors-file` option is an optional argument. See `add_mirror.sh -h` for details.
Create a BZR repository mirror.
su - gitmirror
cd gitlab-mirrors
./add_mirror.sh --bzr --project-name someproject --mirror lp:ubuntu/hello
./add_mirror.sh --bzr --project-name bzr-ubuntu-hello --mirror lp:ubuntu/hello
### List all known mirrors
......
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