Re: get_maintainers.pl subsystem output

From: Lukas Bulwahn
Date: Tue Jul 23 2019 - 04:43:02 EST


Hi Sebastian, Hi Joe,

On Tue, Jul 23, 2019 at 9:30 AM Duda, Sebastian <sebastian.duda@xxxxxx> wrote:
>
> Hi Joe,
>
> when analyzing the patch
> `<20150128012747.824898918@xxxxxxxxxxxxxxxxxxx>` [1] with
> `get_maintainers.pl --subsystem --status --separator , /tmp/patch`,
> there is the following output:
>
> Chris Mason <clm@xxxxxx> (maintainer:BTRFS FILE SYSTEM),Josef Bacik
> <jbacik@xxxxxx> (maintainer:BTRFS FILE SYSTEM),David Sterba
> <dsterba@xxxxxxx> (maintainer:BTRFS FILE SYSTEM),Alexander Viro
> <viro@xxxxxxxxxxxxxxxxxx> (maintainer:FILESYSTEMS (VFS and
> infrastructure)),"Theodore Ts'o" <tytso@xxxxxxx> (maintainer:EXT4 FILE
> SYSTEM),Andreas Dilger <adilger.kernel@xxxxxxxxx> (maintainer:EXT4 FILE
> SYSTEM),Jaegeuk Kim <jaegeuk@xxxxxxxxxx> (maintainer:F2FS FILE
> SYSTEM),Changman Lee <cm224.lee@xxxxxxxxxxx> (maintainer:F2FS FILE
> SYSTEM),Miklos Szeredi <miklos@xxxxxxxxxx> (maintainer:FUSE: FILESYSTEM
> IN USERSPACE),Steven Whitehouse <swhiteho@xxxxxxxxxx> (supporter:GFS2
> FILE SYSTEM),Anton Altaparmakov <anton@xxxxxxxxxx> (supporter:NTFS
> FILESYSTEM),Hugh Dickins <hughd@xxxxxxxxxx> (maintainer:TMPFS (SHMEM
> FILESYSTEM)),linux-btrfs@xxxxxxxxxxxxxxx (open list:BTRFS FILE
> SYSTEM),linux-kernel@xxxxxxxxxxxxxxx (open
> list),linux-fsdevel@xxxxxxxxxxxxxxx (open list:FILESYSTEMS (VFS and
> infrastructure)),linux-ext4@xxxxxxxxxxxxxxx (open list:EXT4 FILE
> SYSTEM),linux-f2fs-devel@xxxxxxxxxxxxxxxxxxxxx (open list:F2FS FILE
> SYSTEM),fuse-devel@xxxxxxxxxxxxxxxxxxxxx (open list:FUSE: FILESYSTEM IN
> USERSPACE),cluster-devel@xxxxxxxxxx (open list:GFS2 FILE
> SYSTEM),linux-ntfs-dev@xxxxxxxxxxxxxxxxxxxxx (open list:NTFS
> FILESYSTEM),linux-mm@xxxxxxxxx (open list:MEMORY MANAGEMENT)
> Maintained,Buried alive in reporters,Supported
> BTRFS FILE SYSTEM,THE REST,FILESYSTEMS (VFS and infrastructure),EXT4
> FILE SYSTEM,F2FS FILE SYSTEM,FUSE: FILESYSTEM IN USERSPACE,GFS2 FILE
> SYSTEM,NTFS FILESYSTEM,MEMORY MANAGEMENT,TMPFS (SHMEM FILESYSTEM)
>
> How can I parse this output automatically? or how can I generate a
> parsable output?
>
> I need the tuples of subsystems and status:
> (THE REST, Buried alive in reporters)
> (TMPFS, Maintained)
> (BTRFS FILE SYSTEM, Maintained)
> â
> (GFS2 FILE SYSTEM, Supported)
>
> I'm not aware how to reliably assign the statuses to the subsystems.
>

Joe, I hope this example makes more clear what and how Sebastian would
actually like to have the information from the MAINTAINERS file
presented for our use case. Currently, we would consider
get_maintainer.pl to be the proper place for such a feature in the
upstream development.

Joe, would you support and would you accept if we extend
get_maintainer.pl to provide output of the status in such a way that
the status output can be clearly mapped to the subsystem?
If so, we would try our best to extend the current script and sent
those patches back to lkml for review and inclusion.
If you do not support to extend get_maintainer.pl as we suggest, we
would probably simply write our own specific script (probably then in
python) to parse MAINTAINERS and extract and present the information
as we need for our use case.

Sebastian, Considering style of mail interaction, please do not use top posting:
If you want to answer to a specific point of the previous mail
discussion, keep only the relevant part for your answer (delete the
rest!) and answer inline.
If you start a new discussion and do not refer to any points of the
previous discussion very specifically, just delete the whole previous
discussion and do not resend the content of previous mails.


Best regards,

Lukas