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.
Metadata
Release files for grr 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| grr-1.0.2.tar.gz | 18.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| grr-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.6 kB
Release files / grr-1.0.2.tar.gz
| Download URL | grr-1.0.2.tar.gz |
|---|---|
| Size | 18.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91bf966e0eefa428be485cfd0be53ae8ab20853802729356c5e59f303557c330
|
|
BLAKE2b-256 checksum How to use checksums |
c5f20e4113fbc425778d06110c5fdffc16a75003cc8f0b6044190d523f5de3cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / grr-1.0.2-py3-none-any.whl
| Download URL | grr-1.0.2-py3-none-any.whl |
|---|---|
| Size | 19.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec77f38772f0026a0367d979e400ed369fdf7f6efc83af5c6256d5f63df2b7c0
|
|
BLAKE2b-256 checksum How to use checksums |
e66683a8a2ce37575153918c54cc911e475f5414b8525f3cbbb188cfa422fb01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|