A command-line utility to work with Gerrit
Project description
grr
===
.. image:: https://travis-ci.org/legoktm/grr.svg?branch=master
:alt: Build Status
:target: https://travis-ci.org/legoktm/grr
.. image:: https://pypip.in/version/grr/badge.svg
:target: https://pypi-hypernode.com/pypi/grr/
:alt: Latest Version
``grr`` is a simple utility to make using Gerrit a little less painful. It requires Python 3.3+.
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:
.. code-block:: bash
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.
_git-review: https://pypi-hypernode.com/pypi/git-review
===
.. image:: https://travis-ci.org/legoktm/grr.svg?branch=master
:alt: Build Status
:target: https://travis-ci.org/legoktm/grr
.. image:: https://pypip.in/version/grr/badge.svg
:target: https://pypi-hypernode.com/pypi/grr/
:alt: Latest Version
``grr`` is a simple utility to make using Gerrit a little less painful. It requires Python 3.3+.
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:
.. code-block:: bash
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.
_git-review: https://pypi-hypernode.com/pypi/git-review
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
grr-0.6.1.tar.gz
(5.6 kB
view details)
Built Distribution
grr-0.6.1-py3-none-any.whl
(7.7 kB
view details)
File details
Details for the file grr-0.6.1.tar.gz
.
File metadata
- Download URL: grr-0.6.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78560a27a433347b3ba30ab1718c27d34a774ce488bbcd43ba3cdbcc7b4c3dd3 |
|
MD5 | c63c1e0c3eac3c65ff3c86670effff76 |
|
BLAKE2b-256 | a1802a6272004b6f6cd094e242aeead02623d0ce68d4b7a98661c137333d6d48 |
Provenance
File details
Details for the file grr-0.6.1-py3-none-any.whl
.
File metadata
- Download URL: grr-0.6.1-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dddff13ca294964d132e807fed048638cbe0f6712144d91f9a4252ac840e74bd |
|
MD5 | fa1f2254284e5ac4111d9aaff791cf07 |
|
BLAKE2b-256 | b2fe78fd2ed10cfab1b6d8919f84af62bc26b58655bccb77b71ff7c637aed71f |