git-related v1.0
Hi,
git-related is a tool to find out people that might be interested in your patch series.
It works by running git blame on every chunk your patches modify, and then presents a summary showing the roles of each person:
% git related --roles master..fc/asciidoctor/clean
Junio C Hamano <[email protected]> (signer: 93%, author: 7%) brian m. carlson <[email protected]> (author: 20%, helper: 3%) Christian Couder <[email protected]> (author: 7%, mentor: 7%) Jeff King <[email protected]> (author: 10%)
Johannes Schindelin <[email protected]> (author: 7%, signer: 3%) Martin Ågren <[email protected]> (author: 10%)
A lot of things have changed since v0.3, but the most important is the addition of a completely new tool that does something similar: git-who.
Unlike git-related, git-who does not work on any particular patch series, you can use any arguments git log accepts, and then presents a similar output to git-related.
Therefore you can specify queries:
% git who --roles -S'PERL_DEFINES' -- Makefile
Junio C Hamano <[email protected]> (signer: 100%)
Ævar Arnfjörð Bjarmason <[email protected]> (author: 75%, helper: 25%) Johannes Schindelin <[email protected]> (helper: 25%) Dan Jacques <[email protected]> (author: 25%)
We can find out a summary for the whole history of git.git:
% git who --roles --since=2000 --threshold=1
Junio C Hamano <[email protected]> (signer: 64%, author: 15%, helper: 1%) Junio C Hamano <[email protected]> (signer: 14%)
Jeff King <[email protected]> (author: 8%, signer: 1%, reviewer: 1%) Johannes Schindelin <[email protected]> (author: 4%) Shawn Pearce <[email protected]> (author: 3%, signer: 1%) Nguyễn Thái Ngọc Duy <[email protected]> (author: 4%)
Jonathan Nieder <[email protected]> (author: 2%, reviewer: 1%, signer: 1%) Linus Torvalds <[email protected]> (author: 2%) Michael Haggerty <[email protected]> (author: 2%)
René Scharfe <[email protected]> (author: 2%)
Ævar Arnfjörð Bjarmason <[email protected]> (author: 2%)
brian m. carlson <[email protected]> (author: 2%) Stefan Beller <[email protected]> (signer: 1%)
Eric Wong <[email protected]> (signer: 1%, acker: 1%) Elijah Newren <[email protected]> (author: 2%)
Christian Couder <[email protected]> (author: 1%)
Linus Torvalds <[email protected]> (signer: 1%)
Derrick Stolee <[email protected]> (author: 1%)
Jakub Narębski <[email protected]> (author: 1%)
Johannes Sixt <[email protected]> (author: 1%)
Eric Sunshine <[email protected]> (author: 1%)
Stefan Beller <[email protected]> (author: 1%)
Eric Wong <[email protected]> (author: 1%)
SZEDER Gábor <[email protected]> (author: 1%)
Paul Mackerras <[email protected]> (author: 1%, signer: 1%) Felipe Contreras <[email protected]> (author: 1%) Matthieu Moy <[email protected]> (signer: 1%)
git-related is similar to contrib/contacts/git-contacts, except with many many more features, and less bugs. In fact, git-contacts is a rewrite of git-related and it never achieved parity.
The v1.0 release consists of 81 commits, and here are some of the important changes:
* Make roles optional with --roles
* Add new --files mode (much faster)
* Fixed bug with boundary commits (present in git-contacts too)
* Fixed bug with certain mailmaps
* Parse many more roles (top 10%)
* Completely revamped documentation
* Add color
* Improved performance
* Improved tests
* Code considerably simplified
* Split option parsing into a new gem
To install them just:
gem install parseopt
make install
It's written in Ruby, so you need Ruby.
Cheers.
https://github.com/felipec/git-related
Signature · 1 line
Felipe Contreras