Registry / devops / git-review

git-review

JSON →
library2.5.0pypypi✓ verified 81d ago

git-review is a command-line tool that simplifies submitting code changes to Gerrit code review. Version 2.5.0, released 2024-04-15, supports Python >=3.6. It wraps git operations like push, rebase, and review requests. Maintenance mode with low release cadence.

pip install git-review
INSTALL
IMPORT
SIG · GIT-REVIEW
G
git-review
devopspythonv2.5.0
Install
2.1s avg
Import
Disk
19MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.5.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 21.3MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.1s · import 0.000s · 22MB
19MB installed
● package 19MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

main
import git_review
from git_review import main

Programmatic entry point for git-review. The CLI tool is invoked via 'git review' command, but the Python package can be accessed via 'git_review' module.

from git_review import main import sys if __name__ == '__main__': # Simulate 'git review' command-line invocation sys.argv = ['git-review', '--help'] main()
git-review --version
Debug
Known issues
gotchagit-review is installed as a Python package but used via 'git review' command (not 'git-review'). The pip executable might conflict with the git wrapper.
fix
After installing, ensure 'git-review' executable is in PATH, and use 'git review' (with space) as a git subcommand.
affects: all
deprecatedPython 3.6 support is deprecated in version 2.5.0. Future releases may drop support.
fix
Upgrade to Python 3.8+ for compatibility with future versions.
affects: 2.5.0
breakingIn git-review 2.0+, the configuration file format changed from ~/.gitreview to using git config sections.
fix
Update configuration: use 'git config --global gitreview.*' instead of .gitreview file.
affects: >=2.0.0
gotchagit-review requires the current directory to be inside a Git repository. Running outside will raise a RuntimeError.
fix
Change to a Git repository directory before calling git review.
affects: all
Upgrade
Version history
2.5.0latest on PyPI · released May 19, 2025
Audit
Dependencies
gitpythonrequiredUsed for git operations
urllib3requiredHTTP requests to Gerrit
setuptoolsoptionalPackage discovery
Agent activity
28 hits · last 30 days
node
24
OpenAI (training)
1
Resources
git-review — pip install git-review · libregistry