Create gerrit project via gerrit api 17/62117/53
authorAric Gardner <agardner@linuxfoundation.org>
Wed, 30 Oct 2019 20:58:41 +0000 (16:58 -0400)
committerAric Gardner <agardner@linuxfoundation.org>
Wed, 4 Dec 2019 16:36:18 +0000 (11:36 -0500)
commit4f06a413c6f2838eaf5ff8ae0154b9ba1e5bdd5e
tree77566469f43f92af5a05cdeff208bdc9c29a178c
parent6b27cde837a4cc23bc647cdcf8e463a4c2b9278a
Create gerrit project via gerrit api

internal jenkins implementation:
gerrit.linuxfoundation.org/infra/c/ci-management/+/62158

Extend lfidapi to exit with good message and code if
group does not exist. (check if group exists functionality)

Remove pythonsix compatability for config parser

Usage: lftools gerrit [OPTIONS] COMMAND [ARGS]...

  GERRIT TOOLS.

Options:
  --help  Show this message and exit.

Commands:
  abandonchanges              Abandon all OPEN changes for a gerrit
project.
  addfile                     Add an file for review to a Project.
  addgithubrights             Grant Github read for a project.
  addgitreview                Add git review to a project.
  addinfojob                  Add an INFO job for a new Project.
  createproject               Create a project via the gerrit API.
  list-project-inherits-from  List who a project inherits from.
  list-project-permissions    List Owners of a Project.

ISSUE: RELENG-2370
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: I3a24751eeb2e739dee183074bbef6742df58a793
13 files changed:
docs/commands/gerrit.rst
docs/commands/github.rst
lftools/api/client.py
lftools/api/endpoints/gerrit.py [new file with mode: 0644]
lftools/cli/__init__.py
lftools/cli/gerrit.py
lftools/cli/github_cli.py
lftools/cli/infofile.py
lftools/config.py
lftools/github_helper.py
lftools/ldap_cli.py
lftools/lfidapi.py
releasenotes/notes/self-service-project-creation-28cc70ec9ea9ec3e.yaml [new file with mode: 0644]