A command-line utility to work with Gerrit
Project description
grr is a simple utility to make using Gerrit a little less painful. It requires Python 3.5+.
The basic workflow involves using a detached head, and pulling down changes from gerrit to work on them, and re-submitting them. Inspired by git-review, grr reads from .gitreview files and will try to use your gitreview.username setting.
Installation:
pip install grr
grr init: Adds a gerrit remote and installs the commit-msg hook
grr fetch 12345[:2]: Pulls change 12345. An optional patchset # can be specified, otherwise the latest will be used.
grr cherry-pick 12345[:2]: Just like fetch, except it cherry-picks the patch on top of HEAD.
grr pull [master]: Pulls the latest remote changes and checks out the given branch, defaults to master.
grr checkout [master]: Checkout the given branch, defaults to master
grr review [branch]: Uploads your patches for review, the branch defaults to master.
grr [branch]: Shorthand for grr review.
Licensed as GPLv3 or later, see COPYING for details.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file grr-0.9.0.tar.gz
.
File metadata
- Download URL: grr-0.9.0.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89b1aa8f8cd4d3755f67a86ddf2c800edfc033b2766288b92bb4f6850794889d |
|
MD5 | 37a2d2f6034100491e1f5124cd8875f6 |
|
BLAKE2b-256 | 4e7b84687b4a117e7a673ad49475ad6138d98930307758ddcda0d0df0623ca8f |
Provenance
File details
Details for the file grr-0.9.0-py3-none-any.whl
.
File metadata
- Download URL: grr-0.9.0-py3-none-any.whl
- Upload date:
- Size: 18.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92e8fc5df3f4307e864cafa01cb4970e35414c65005dc0aeb3edc3819bda8122 |
|
MD5 | 6d9ecb1d6a7155efad1e85b77f13f790 |
|
BLAKE2b-256 | bf76aa3f6e51ae612be444d7f5b99cdf11465c43b7eb935b6c7b9ee90e0e431d |