Skip to main content

A command-line utility to work with Gerrit

Project description

Build Status Latest Version

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for grr, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size grr-1.0.2-py3-none-any.whl (19.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size grr-1.0.2.tar.gz (18.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page