Re: [PATCH V2] get_maintainer: Prepare for separate MAINTAINERS files
From: Randy Dunlap
Date: Wed Aug 02 2017 - 14:06:45 EST
On 08/02/2017 01:04 AM, Joe Perches wrote:
> On Sun, 2017-07-23 at 13:32 -0700, Joe Perches wrote:
>> Allow for MAINTAINERS to become a directory and if it is,
>> read all the files in the directory for maintained sections.
>
> ping?
I often use $EDITOR to read or search the MAINTAINERS file.
IMO, the parse-maintainters.pl (sorting) script makes the need for separate
MAINTAINERS files much less important since the file can be "fixed" easily
at any time.
>> Also look for all files named MAINTAINERS in all subdirectories
>> excluding the .git directory.
>>
>> This adds ~.3 seconds of CPU on an Intel i5-6200 with an SSD.
>>
>> Miscellanea:
>>
>> o Create a read_maintainer_file subroutine from the existing code
>> o Test only the existence of MAINTAINERS, not whether it's a file
>>
>> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
>> ---
>>
>> v2: Search for MAINTAINERS in subdirectories, ignoring .git
>>
>> scripts/get_maintainer.pl | 84 +++++++++++++++++++++++++++++++++--------------
>> 1 file changed, 59 insertions(+), 25 deletions(-)
--
~Randy