Skip to main content

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

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

grr-0.6.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

grr-0.6.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file grr-0.6.0.tar.gz.

File metadata

  • Download URL: grr-0.6.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for grr-0.6.0.tar.gz
Algorithm Hash digest
SHA256 5a26f80bfd3b0c7e80de98d3f2630bd52aa50cbd6576757d18806fa28e0804a4
MD5 63885e71e0214d9869e92e9f785bb034
BLAKE2b-256 14f6941faa7da46c5d047635a635471ff5552c6bced855456f53e59f1b1ab986

See more details on using hashes here.

Provenance

File details

Details for the file grr-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for grr-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3c02e9a10bf5f8d7de6e6c6fe0b84231dc20e8409b9abaf6aeec598f547ae93
MD5 f8f3c9cf3ecf6d0c3d8f722010ffe827
BLAKE2b-256 d65ea543813550bee47073655e88cde44b1156cb9e5b7ccc15aa2f1e7f3ee879

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page