[ANNOUNCE] git-related v1.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <gitster@xxxxxxxxx> (signer: 93%, author: 7%)
  brian m. carlson <sandals@xxxxxxxxxxxxxxxxxxxx> (author: 20%, helper: 3%)
  Christian Couder <chriscool@xxxxxxxxxxxxx> (author: 7%, mentor: 7%)
  Jeff King <peff@xxxxxxxx> (author: 10%)
  Johannes Schindelin <Johannes.Schindelin@xxxxxx> (author: 7%, signer: 3%)
  Martin Ågren <martin.agren@xxxxxxxxx> (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 <gitster@xxxxxxxxx> (signer: 100%)
  Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> (author: 75%, helper: 25%)
  Johannes Schindelin <johannes.schindelin@xxxxxx> (helper: 25%)
  Dan Jacques <dnj@xxxxxxxxxx> (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 <gitster@xxxxxxxxx> (signer: 64%, author: 15%, helper: 1%)
  Junio C Hamano <junkio@xxxxxxx> (signer: 14%)
  Jeff King <peff@xxxxxxxx> (author: 8%, signer: 1%, reviewer: 1%)
  Johannes Schindelin <johannes.schindelin@xxxxxx> (author: 4%)
  Shawn Pearce <spearce@xxxxxxxxxxx> (author: 3%, signer: 1%)
  Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> (author: 4%)
  Jonathan Nieder <jrnieder@xxxxxxxxx> (author: 2%, reviewer: 1%, signer: 1%)
  Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> (author: 2%)
  Michael Haggerty <mhagger@xxxxxxxxxxxx> (author: 2%)
  René Scharfe <l.s.r@xxxxxx> (author: 2%)
  Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> (author: 2%)
  brian m. carlson <sandals@xxxxxxxxxxxxxxxxxxxx> (author: 2%)
  Stefan Beller <sbeller@xxxxxxxxxx> (signer: 1%)
  Eric Wong <normalperson@xxxxxxxx> (signer: 1%, acker: 1%)
  Elijah Newren <newren@xxxxxxxxx> (author: 2%)
  Christian Couder <chriscool@xxxxxxxxxxxxx> (author: 1%)
  Linus Torvalds <torvalds@xxxxxxxx> (signer: 1%)
  Derrick Stolee <dstolee@xxxxxxxxxxxxx> (author: 1%)
  Jakub Narębski <jnareb@xxxxxxxxx> (author: 1%)
  Johannes Sixt <j6t@xxxxxxxx> (author: 1%)
  Eric Sunshine <sunshine@xxxxxxxxxxxxxx> (author: 1%)
  Stefan Beller <stefanbeller@xxxxxxxxx> (author: 1%)
  Eric Wong <e@xxxxxxxxx> (author: 1%)
  SZEDER Gábor <szeder.dev@xxxxxxxxx> (author: 1%)
  Paul Mackerras <paulus@xxxxxxxxx> (author: 1%, signer: 1%)
  Felipe Contreras <felipe.contreras@xxxxxxxxx> (author: 1%)
  Matthieu Moy <Matthieu.Moy@xxxxxxx> (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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux