Gerrit CLI Tool
Project description
gerrit_tools
Common tools to work with a bunch of Gerrit repositories, with help of REST API and Command Line Tools
Install
Python 3.5 required `commandline pip install gerrit-tools `
Setup
On first run script will prompt to input several params related to your Gerrit instance. Configuration is stored in ~/.config/gerrit_tools/config file. `commandline $ gerrit_tools ...some command... Enter value for GERRIT_URL: gerrit.yourserver.org Enter value for GERRIT_PORT: 29418 Enter value for GERRIT_USER: admin@yourserver.org Enter value for GERRIT_API_TOKEN: <TOKEN> ` <TOKEN> is generated here: [Gerrit -> Settings -> HTTP Credentials]
Usage
Example deleting some/temp/branch on all repositories: `commandline $ gerrit_tools branch delete some/temp/branch `
Example copying src/branch to new dst/branch on all repositories: `commandline $ gerrit_tools branch copy src/branch dst/branch `
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for gerrit_tools-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67bf8d0f70d6617de8cd5296e5f40dcbfb1baaebea83d93501ad5de81290ae32 |
|
MD5 | 68855b5d602f1ad4be430491182ddc98 |
|
BLAKE2b-256 | 101281646d39dc8bb5b94ca330288b535264305b30d7af9b032679b2d23bf406 |