Skip to main content

Start your next gerrit code review without any hassle.

Project description

Start your next gerrit code review without any hassle.

So you have 10 minutes to spend on code reviews and you want to be as productive as possible. You definitely don’t want to spend 9 minutes shuffling through code reviews that Jenkins already hates, you’ve already reviewed, etc., and you should definitely be looking at that awesome patch that’s about to expire due to two weeks of inactivity.

Solution: Use next-review to immediately jump to the “highest priority” code review currently awaiting your gracious downvotes. Inhale some code, articulate your opinion, cast your vote and then move on to your next-review. Got it?

Installation

From PyPi:

$ pip install next-review

Usage

If you can use git-review, you can probably use next-review. Assuming you’re watching some projects in gerrit, have an SSH key public key somewhere obvious and your login name matches your gerrit username, you can just do:

$ next-review
https://review.openstack.org/20404 Use AuthRef for some client fields

The link will be automatically opened for you, because that’s how lazy I am.

You can also abuse the return code to see how many reviews you have left to go until it’s time for beer and/or sleep:

$ echo $?
5

Or, you can just view the entire list without automatically opening any links:

$ next-review --list
https://review.openstack.org/20404 Use AuthRef for some client fields
https://review.openstack.org/26665 Fail-safe mechanism: issue unscoped token if user's default project is invalid.
https://review.openstack.org/29878 A minor refactor in wsgi.py
https://review.openstack.org/29393 bp/temporary-user-provisioning
https://review.openstack.org/30386 Add name arguments to keystone command.

Philosophy

  1. Older changes should be reviewed first.

  2. If Jenkins is failing a change, then the author has work to do.

  3. If SmokeStack is failing a change, then the author has work to do. If SmokeStack hasn’t reviewed a change, that’s okay… SmokeStack is lazy, too.

  4. If a change is already blocked by a core reviewer or marked WIP or Draft, then it’s not going to merge right now anyway.

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

next-review-1.2.2.tar.gz (7.9 kB view details)

Uploaded Source

File details

Details for the file next-review-1.2.2.tar.gz.

File metadata

  • Download URL: next-review-1.2.2.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for next-review-1.2.2.tar.gz
Algorithm Hash digest
SHA256 fc083c82edf1f6d6f2be201495a88761fff9ae5067c5e0584e9b2fff1878ba38
MD5 acc2b08c185bda3a541634b1758026b1
BLAKE2b-256 27efc6a6f15d29b775e41e2ff55516e18224fe900107ea20a9735d530cf122ef

See more details on using hashes here.

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