Add documentation on adding a replica rep.

Change-Id: I05ab18c9f111b47473e79fd5d711eed1941885c9
This commit is contained in:
Monty Taylor 2012-07-10 16:52:45 -05:00
parent 88e9834a89
commit 0861839647

View File

@ -713,6 +713,18 @@ with instructions to use Gerrit.
and add the project to the list of github projects in the gerrit class
for the gerrit.openstack.org node.
Adding Local Git Replica
========================
Gerrit replicates all repos to a local directory so that Apache can
serve the anonymous http requests out directly.
On the gerrit host::
sudo git --bare init --shared=group /var/lib/git/openstack/PROJECT
sudo chgrp -R gerrit2 /var/lib/git/openstack/PROJECT
Migrating a Project from bzr
============================
@ -928,7 +940,9 @@ Adding A New Project On The Command Line
All of the steps involved in adding a new project to Gerrit can be
accomplished via the commandline, with the exception of creating a new repo
on github and adding the jenkins jobs.
on github and adding the jenkins jobs. Creating the local project
replication repo on the gerrit host can be done on the command line too,
but the process is the same as above.
First of all, add the .gitreview file to the repo that will be added. Then,
assuming an ssh config alias of `review` for the gerrit instance, as a person