albertyw/git-reviewers


Intelligently find code reviewers

License: MIT

Language: Python

Keywords: code-review, git, git-review, python-3, reviewer


git-reviewers

PyPI Python Versions

Codeship Status for albertyw/git-reviewers Dependency Status Code Climate Test Coverage

Intelligently find code reviewers. See also, git-browse.

Installation

Homebrew (preferred for MacOS)

If you use Homebrew, you can install git-reviewers through the homebrew-albertyw tap:

brew install albertyw/albertyw/git-reviewers

Manual

If you don't use Homebrew, first clone this repository to somewhere on your system (perhaps in your dotfiles repository), then run <REPOSITORY_LOCATION>/install.sh.

After installation, you can modify any default flags for git-reviewers in ~/.gitconfig

Usage

Usage: reviewers.py [-h] [-v] [-i IGNORE] [-c]

Suggest reviewers for your diff. https://github.com/albertyw/git-reviewers

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -i IGNORE, --ignore IGNORE
                        ignore a list of reviewers (comma separated)
  -c, --copy            Copy the list of reviewers to clipboard, if available

Finders

git-reviewers is componsed of a set of strategies for generating lists of reviewers, or Finders. They return a weighted set of reviewers which is then sorted and recommended to you. They include:

  • FindLogReviewers - Generate a list of reviewers based on committers to your committed (but not merged with master) files
  • FindArcCommitReviewers - Generate reviewers based on arc commit messages for files which you have modified on your branch

Development

pip install -r requirements-test.txt
coverage run setup.py test
coverage report
flake8

Publishing

pip install twine
python setup.py sdist bdist_wheel
twine upload dist/*

Need to also update albertyw/homebrew-albertyw

Project Statistics

Sourcerank 5
Repository Size 71.3 KB
Stars 5
Forks 1
Watchers 2
Open issues 9
Dependencies 3
Contributors 1
Tags 16
Created
Last updated
Last pushed

Top Contributors See all

Albert Wang

Packages Referencing this Repo

git-reviewers
('Suggest reviewers for your git branch',)
Latest release 0.11.0 - Updated - 5 stars

Recent Tags See all

v0.10.0 October 15, 2018
v0.9.0 July 04, 2018
v0.8.0 March 28, 2018
v0.7.0 March 25, 2018
v0.6.1 December 24, 2017
v0.6.0 December 17, 2017
v0.5.0 November 19, 2017
v0.4.0 November 13, 2017
v0.3.1 November 12, 2017
v0.3.0 October 30, 2017
v0.3.0 October 30, 2017
v0.2.0 October 23, 2017
v0.1.2 October 21, 2017
v0.1.1 October 18, 2017
v0.1.0 June 25, 2017

Something wrong with this page? Make a suggestion

Last synced: 2018-11-27 04:52:06 UTC

Login to resync this repository