git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v4 01/11] Add new git-related helper to contrib

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Apr 26, 2013, 22:52 UTC
Message-ID
<CAMP44s0nvWvicFAJEqe0jC+zT3ZvA=Qx3MWXK36zYb2-uYV-aA@mail.gmail.com>
In-Reply-To
<1366919983-27521-2-git-send-email-felipe.contreras@gmail.com>
Hi,

On Thu, Apr 25, 2013 at 2:59 PM, Felipe Contreras <felipe.contreras@gmail.com> wrote:

Show 11 quoted lines
> This script find people that might be interested in a patch, by going
> back through the history for each single hunk modified, and finding
> people that reviewed, acknowledge, signed, or authored the code the
> patch is modifying.
>
> It does this by running 'git blame' incrementally on each hunk, and then
> parsing the commit message. After gathering all the relevant people, it
> groups them to show what exactly was their role when the participated in
> the development of the relevant commit, and on how many relevant commits
> they participated. They are only displayed if they pass a minimum
> threshold of participation.

Is this patch still not understandable? If so, I would gladly strip away functionality, like the ability to show the roles. But for the functionality it provides, I don't see how it could be any simpler.

Sure, code comments might help, but first I would like to make the code as self-documenting as possible, so I would give a try at a simplified version first, and then perhaps adding a Person object.

Better for me if the code was good enough as it is though.
Cheers.
-- 
Felipe Contreras
Previous: Felipe ContrerasNext: Junio C Hamano
Message 3 of 17 in “Add new git-related helper to contrib”
  1. 00/11 Add new git-related helper to contribFelipe Contreras, Apr 25, 2013
  2. 01/11 Add new git-related helper to contribFelipe Contreras, Apr 25, 2013
  3. Felipe ContrerasApr 26, 2013
  4. Junio C HamanoApr 26, 2013
  5. Felipe ContrerasApr 26, 2013
  6. Ramkumar RamachandraApr 27, 2013
  7. Felipe ContrerasMay 13, 2013
  8. 02/11 contrib: related: add option parsingFelipe Contreras, Apr 25, 2013
  9. 03/11 contrib: related: add support for multiple patchesFelipe Contreras, Apr 25, 2013
  10. 04/11 contrib: related: add option to show commitsFelipe Contreras, Apr 25, 2013
  11. 05/11 contrib: related: add option to parse from committishFelipe Contreras, Apr 25, 2013
  12. 06/11 contrib: related: parse committish like format-patchFelipe Contreras, Apr 25, 2013
  13. 07/11 contrib: related: fix parsing of rev-list argsFelipe Contreras, Apr 25, 2013
  14. 08/11 contrib: related: support multiple rolesFelipe Contreras, Apr 25, 2013
  15. 09/11 contrib: related: sort by participationFelipe Contreras, Apr 25, 2013
  16. 10/11 contrib: related: group persons with same emailFelipe Contreras, Apr 25, 2013
  17. 11/11 contrib: related: add support for mailmapFelipe Contreras, Apr 25, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.