From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965271AbdGTQsU (ORCPT ); Thu, 20 Jul 2017 12:48:20 -0400 Received: from smtprelay0087.hostedemail.com ([216.40.44.87]:49702 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755385AbdGTQsT (ORCPT ); Thu, 20 Jul 2017 12:48:19 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 40,2.5,0,,d41d8cd98f00b204,joe@perches.com,:::::::::,RULES_HIT:41:355:379:541:560:599:800:960:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1542:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3355:3622:3653:3654:3865:3866:3867:3868:3870:3871:3872:3874:4250:4321:5007:6609:7903:10011:10400:10848:11232:11657:11658:11914:12740:12760:12895:13019:13184:13229:13439:14096:14097:14181:14659:14721:21080:21324:21627:30054:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:1:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: hope64_2b3c469577506 X-Filterd-Recvd-Size: 3639 Message-ID: <1500569295.14415.14.camel@perches.com> Subject: Re: [PATCH RESEND v4] MAINTAINERS: fix lots of alphabetic ordering From: Joe Perches To: Michael Ellerman , Linus Torvalds Cc: Andrew Morton , Randy Dunlap , LKML Date: Thu, 20 Jul 2017 09:48:15 -0700 In-Reply-To: <87tw27gyzp.fsf@concordia.ellerman.id.au> References: <20170719144457.8b1b6556fc7883ac7bc2b2b0@linux-foundation.org> <1500512701.25934.47.camel@perches.com> <1500525809.14415.3.camel@perches.com> <87tw27gyzp.fsf@concordia.ellerman.id.au> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.6-1ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2017-07-20 at 20:54 +1000, Michael Ellerman wrote: > Joe Perches writes: > > > On Wed, 2017-07-19 at 21:24 -0700, Linus Torvalds wrote: > > > On Wed, Jul 19, 2017 at 6:05 PM, Joe Perches wrote: > > > > > > > > Just for ease of manipulation and not breaking the script much, > > > > I'd suggest just having a MAINTAINERS directory and stuffing > > > > each of the sections into separate files. > > > > > > > > The script would only need to add $ cat MAINTAINERS/* as input. > > > > > > So I don't mind the idea of just making MAINTAINERS a directory, but I > > > don't think we want to so far as to make one file per entry. That's > > > what, 1500+ files tiny files or so? Seems a bit excessive. > > > > > > Maybe we can just do the prefix thing and just do 26 files A-Z > > > instead? Or maybe go by first word (so all the ARM things would go in > > > one place?) > > > > > > A couple of hundred files sounds fine. A couple of thousand files > > > sound a bit excessive.. > > > > $ ls MAINTAINERS.tmp/ | wc -l > > 1735 > > > > > > > > A couple thousand individual maintainers is also excessive. > > > > Most maintainers in MAINTAINERS aren't really much involved. > > > > A-Z is arbitrary and still difficult to find because it's > > not descriptive as to whatever is actually maintained. > > > > As a concept I think individual files would be better. > > But maybe grouping by subsystem instead of by letter. > > > > Maybe by mirroring the directory layouts. > > > > > > drivers/net > > drivers/scsi > > Or what about putting separate MAINTAINERS files in the hierarchy at > whichever level makes the most sense, ie. not too big and not too small. Same general concept, but then an expectation would be relative paths for filename patterns. It's still hard to do when subsystem maintainers cross. drivers/net vs drivers/net/ethernet/ vs drivers/net/wireless. etc.. > eg. > > arch/x86/MAINTAINERS > arch/arm64/MAINTAINERS > arch/powerpc/MAINTAINERS > ... > net/MAINTAINERS > mm/MAINTAINERS > drivers/net/MAINTAINERS > drivers/media/MAINTAINERS > drivers/scsi/MAINTAINERS > drivers/gpu/drm/MAINTAINERS > drivers/MAINTAINERS > > That way we might end up with 20-50 (?) files, but most of the conflicts > would be handled by a sub system maintainer before Linus sees them.