From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753053AbdHBSGk (ORCPT ); Wed, 2 Aug 2017 14:06:40 -0400 Received: from merlin.infradead.org ([205.233.59.134]:53050 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752293AbdHBSGj (ORCPT ); Wed, 2 Aug 2017 14:06:39 -0400 Subject: Re: [PATCH V2] get_maintainer: Prepare for separate MAINTAINERS files To: Joe Perches , Andrew Morton , Linus Torvalds Cc: linux-kernel@vger.kernel.org References: <1501661042.31625.0.camel@perches.com> From: Randy Dunlap Message-ID: <83fbe646-23f4-2098-b907-85aeae211fb6@infradead.org> Date: Wed, 2 Aug 2017 11:06:38 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1501661042.31625.0.camel@perches.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >> --- >> >> v2: Search for MAINTAINERS in subdirectories, ignoring .git >> >> scripts/get_maintainer.pl | 84 +++++++++++++++++++++++++++++++++-------------- >> 1 file changed, 59 insertions(+), 25 deletions(-) -- ~Randy