gerrit-grr 2.0.0

A command-line utility to work with Gerrit
gerrit-grr-2.0.0 is not a library.
Visit the last successful build: gerrit-grr-3.1.1

grr

grr is a simple utility to make using Gerrit a little less painful.

The basic workflow involves using a detached head, pulling down changes from gerrit to work on them, and re-submitting them. Inspired by git-review, grr reads from .gitreview files as needed.

Installation: cargo install gerrit-grr

A docker image is also available: registry.gitlab.com/legoktm/rust-grr

Linux binaries can be downloaded from GitLab (needs libssl1.1).

Usage

  • grr [branch]: Shorthand for grr review
  • grr review [branch]: Submits a patch for review against the specified branch (defaults to master)
  • 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 [branch]: Pulls the latest remote changes and checks it out (defaults to master)
  • grr checkout [branch]: Checkout the given branch (defaults to master)
  • grr init: Installs commit-msg hook

History

grr was originally written in 2014 in Python. It was ported to Rust in 2020.

License

grr is (C) 2020 Kunal Mehta, released under the GPLv3 or any later version, see COPYING for details.