lftools gerrit create for new projects 59/13659/26
authorAric Gardner <agardner@linuxfoundation.org>
Mon, 26 Nov 2018 20:48:48 +0000 (15:48 -0500)
committerAric Gardner <agardner@linuxfoundation.org>
Fri, 25 Jan 2019 22:01:00 +0000 (17:01 -0500)
commit21129cf9fb5a209670544e22fe001453c69f003b
treedc1f4c8bdc913d6a696eeba86ce7a09681e85b12
parent5dfd489d3fe3e137f6845a046f3a69ed0fc24fbe
lftools gerrit create for new projects

Creates a project and sets up permissions

   calls gerrit create project:
   -creates the repo (Parent is configurable)
   -clones the repo
   -modifies groups file in /refs/meta/config to
     add GitHub Replication
   -adds a .gitreview and pushes it to
     HEAD:refs/heads/master
   If --enable is passed, it will
   -allow Github read (groups file is already in place)
   -replication start --wait

Issue: RELENG-1578

Change-Id: Id5bb3c52918c5fcad9e10b32ee14a90eb0b0d3ff
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
docs/commands/gerrit.rst [new file with mode: 0644]
docs/commands/index.rst
lftools/cli/__init__.py
lftools/cli/gerrit.py [new file with mode: 0644]
releasenotes/notes/gerrit-create-e3bea58593d0a1dd.yaml [new file with mode: 0644]
setup.cfg
shell/gerrit_create [new file with mode: 0755]