All of lore.kernel.org
 help / color / mirror / Atom feed
* get_maintainers.pl subsystem output
@ 2019-07-19  7:35 Duda, Sebastian
  2019-07-19  8:50 ` Joe Perches
  0 siblings, 1 reply; 10+ messages in thread
From: Duda, Sebastian @ 2019-07-19  7:35 UTC (permalink / raw)
  To: joe; +Cc: linux-kernel, lukas.bulwahn, ralf.ramsauer, wolfgang.mauerer

Hi Joe,

I'm conducting a large-scale patch analysis of the LKML with 1.8 million 
patch emails. I'm using the `get_maintainer.pl` script to know which 
patch is related to which subsystem.

I ran into two issues while using the script:

1. When I use the script the trivial way

     $ scripts/get_maintainer.pl --subsystem --status --separator , 
drivers/media/i2c/adv748x/
     Kieran Bingham <kieran.bingham@ideasonboard.com> (maintainer:ANALOG 
DEVICES INC ADV748X DRIVER),Mauro Carvalho Chehab <mchehab@kernel.org> 
(maintainer:MEDIA INPUT INFRASTRUCTURE 
(V4L/DVB)),linux-media@vger.kernel.org (open list:ANALOG DEVICES INC 
ADV748X DRIVER),linux-kernel@vger.kernel.org (open list)
     Maintained,Buried alive in reporters
     ANALOG DEVICES INC ADV748X DRIVER,MEDIA INPUT INFRASTRUCTURE 
(V4L/DVB),THE REST

the output is hard to parse because the status `Maintained` is displayed 
only once but related to two subsystems.

I'd prefer a more table like representation, like this:

     Kieran Bingham <kieran.bingham@ideasonboard.com> (maintainer:ANALOG 
DEVICES INC ADV748X DRIVER),linux-media@vger.kernel.org (open 
list:ANALOG DEVICES INC ADV748X DRIVER),ANALOG DEVICES INC ADV748X 
DRIVER,Maintained
     Mauro Carvalho Chehab <mchehab@kernel.org> (maintainer:MEDIA INPUT 
INFRASTRUCTURE (V4L/DVB)),MEDIA INPUT INFRASTRUCTURE 
(V4L/DVB),Maintained
     linux-kernel@vger.kernel.org (open list),THE REST,Buried alive in 
reporters


2. I want to analyze multiple patches, currently I am calling the script 
once per patch. When calling the script with multiple files the files 
output is merged

     $ scripts/get_maintainer.pl --subsystem --status --separator ',' 
drivers/media/i2c/adv748x/ include/uapi/linux/wmi.h
     Kieran Bingham <kieran.bingham@ideasonboard.com> (maintainer:ANALOG 
DEVICES INC ADV748X DRIVER),Mauro Carvalho Chehab <mchehab@kernel.org> 
(maintainer:MEDIA INPUT INFRASTRUCTURE 
(V4L/DVB)),linux-media@vger.kernel.org (open list:ANALOG DEVICES INC 
ADV748X DRIVER),linux-kernel@vger.kernel.org (open 
list),platform-driver-x86@vger.kernel.org (open list:ACPI WMI DRIVER)
     Maintained,Buried alive in reporters,Orphan
     ANALOG DEVICES INC ADV748X DRIVER,MEDIA INPUT INFRASTRUCTURE 
(V4L/DVB),THE REST,ACPI WMI DRIVER

I'd like to run the script with all files but separated output, like 
this:

     $ scripts/get_maintainer.pl --subsystem --status --separator ',' 
--separate-files drivers/media/i2c/adv748x/ include/uapi/linux/wmi.h
     Kieran Bingham <kieran.bingham@ideasonboard.com> (maintainer:ANALOG 
DEVICES INC ADV748X DRIVER),Mauro Carvalho Chehab <mchehab@kernel.org> 
(maintainer:MEDIA INPUT INFRASTRUCTURE 
(V4L/DVB)),linux-media@vger.kernel.org (open list:ANALOG DEVICES INC 
ADV748X DRIVER),linux-kernel@vger.kernel.org (open list)
     Maintained,Buried alive in reporters
     ANALOG DEVICES INC ADV748X DRIVER,MEDIA INPUT INFRASTRUCTURE 
(V4L/DVB),THE REST

     platform-driver-x86@vger.kernel.org (open list:ACPI WMI 
DRIVER),linux-kernel@vger.kernel.org (open list)
     Orphan,Buried alive in reporters
     ACPI WMI DRIVER,THE REST


My Questions are:
1. How can I make get_maintainer's output to be more table-like?
2. How can I make get_maintainer.pl to separate each file's output?

Kind Regards
Sebastian

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-07-23 13:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-19  7:35 get_maintainers.pl subsystem output Duda, Sebastian
2019-07-19  8:50 ` Joe Perches
2019-07-19  9:54   ` Duda, Sebastian
2019-07-19 14:31     ` Joe Perches
2019-07-23  7:29   ` Duda, Sebastian
2019-07-23  8:42     ` Lukas Bulwahn
2019-07-23 11:18       ` Joe Perches
2019-07-23 13:25         ` Lukas Bulwahn
2019-07-23 13:33           ` Joe Perches
2019-07-23 11:54     ` Joe Perches

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.