From: Aric Gardner Date: Mon, 13 May 2019 16:53:56 +0000 (-0400) Subject: Add documentation on using lftools for gerrit X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=3535519bb52e6d8514ebf6f053e665ea2dc631a6;p=releng%2Fdocs.git Add documentation on using lftools for gerrit Gerrit and github repo creation can now be done with lftools same for enabling replication Docs cover these new features. Change-Id: I4a9528431512903f9efee2f3505f1b91bf5db1d9 Signed-off-by: Aric Gardner --- diff --git a/docs/infra/gerrit.rst b/docs/infra/gerrit.rst index a51de81..cceb264 100644 --- a/docs/infra/gerrit.rst +++ b/docs/infra/gerrit.rst @@ -82,6 +82,36 @@ Initial configuration (required once) Repository replication setup (repeat for each repository) --------------------------------------------------------- +.. note:: + + After initial setups, descibed above gerrit project creation, github repo creation + and gerrit replication are now done with lftools commands. + + +* :doc:`lftools ` + +To create_repo, clone_repo, create_groups_file and add_gitreview: + +.. code-block:: bash + + lftools gerrit create [OPTIONS] GERRIT_URL LDAP_GROUP REPO USER + +To create a github repo: + +.. code-block:: bash + + lftools github create-repo --sparse ORGANIZATION REPOSITORY DESCRIPTION + +To enable replication: + +.. code-block:: bash + + lftools gerrit create --enable GERRIT_URL LDAP_GROUP REPO USER + + +Manual Process +-------------- + Perform the following in each repository mirrored from Gerrit #. Create the repository in the GitHub organization replacing any