From: Felipe Contreras Date: Thu, 27 May 2021 00:55:30 GMT Subject: [ANNOUNCE] git-related v1.0 Message-ID: <60aeee01f1e05_793420842@natae.notmuch> 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 (signer: 93%, author: 7%) brian m. carlson (author: 20%, helper: 3%) Christian Couder (author: 7%, mentor: 7%) Jeff King (author: 10%) Johannes Schindelin (author: 7%, signer: 3%) Martin Ågren (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 (signer: 100%) Ævar Arnfjörð Bjarmason (author: 75%, helper: 25%) Johannes Schindelin (helper: 25%) Dan Jacques (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 (signer: 64%, author: 15%, helper: 1%) Junio C Hamano (signer: 14%) Jeff King (author: 8%, signer: 1%, reviewer: 1%) Johannes Schindelin (author: 4%) Shawn Pearce (author: 3%, signer: 1%) Nguyễn Thái Ngọc Duy (author: 4%) Jonathan Nieder (author: 2%, reviewer: 1%, signer: 1%) Linus Torvalds (author: 2%) Michael Haggerty (author: 2%) René Scharfe (author: 2%) Ævar Arnfjörð Bjarmason (author: 2%) brian m. carlson (author: 2%) Stefan Beller (signer: 1%) Eric Wong (signer: 1%, acker: 1%) Elijah Newren (author: 2%) Christian Couder (author: 1%) Linus Torvalds (signer: 1%) Derrick Stolee (author: 1%) Jakub Narębski (author: 1%) Johannes Sixt (author: 1%) Eric Sunshine (author: 1%) Stefan Beller (author: 1%) Eric Wong (author: 1%) SZEDER Gábor (author: 1%) Paul Mackerras (author: 1%, signer: 1%) Felipe Contreras (author: 1%) Matthieu Moy (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 -- Felipe Contreras