Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp2083521imm; Fri, 6 Jul 2018 11:32:23 -0700 (PDT) X-Google-Smtp-Source: AAOMgpelvtyjflk08R9I1Fy7eesoraNX0SvUbFAoNEvBw9WO0+cmE6px4KlJBhAUD5LyfzlTxDdC X-Received: by 2002:a17:902:2864:: with SMTP id e91-v6mr11068214plb.240.1530901943525; Fri, 06 Jul 2018 11:32:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530901943; cv=none; d=google.com; s=arc-20160816; b=cFpkQkpY3bZ72iqT/4ePlf/OARCP1gQsqAVngt4mLuzEik2FSVUn+iPjXEwqgyQI5E QOqtJAFXdu5Po1Tr71XaWK/TN3Hw0yXG3iDTpS52bmAV/ku4lds/OmXAUx3q49Vfb6zu GjPUqAD0p6+ylF5PTG4OIJPxTQ6NQ6poFFMiQ/gLeaSMs1sJFEdYJFQt5JD9WTa+q6Od bMKAFHRAdIIMqtyz4wehaptsncx/zM19cDy8jtmUatcQAXrpYIV6f/jx247xAmhiG8/p ExmykRHq/d8gkbIoBbH2UGZ/RKIaRLTM9liHhHhUD5Fz02xnOod2mTH1vthLfxbbyMs3 61Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=nhbohH2WsHMiL2tskcTl5d2s93oRcAZbUVjRODd7Ko0=; b=zKSF9N7odyqzAs+6Vd4rIaGgNwtYtsAe9DeWcfWebweJ51KY/cRULQ5BqcMLkoXewv z0P9guqoVCMRkPXt2Z15BylO/j8c+fvbkIpP/jkaIKeQVVULAQlp1PFs82cHFoc2yRNI uDOlTqOpnEJEGAOkio912JvN53OlzoGOnksG1wnmLlcXUNEUZTaYaIHydZ2aLRFu8u0f OlYLhlHtspi6dxT8KtXQI6SeG0ly+KePqxZ2m7P7Zj7DWb2Pu8dd5Ks3xnsQ+ghO7Hp8 JZmN57bHwOFlgqRDiDIYHcv6LRNuuKqhQv2R9vgIMoYYfz8pPTV6HlzBja4+TVkqdryj DRKQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l4-v6si8765127plb.213.2018.07.06.11.32.09; Fri, 06 Jul 2018 11:32:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934462AbeGFSbS (ORCPT + 99 others); Fri, 6 Jul 2018 14:31:18 -0400 Received: from smtprelay0143.hostedemail.com ([216.40.44.143]:45774 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934251AbeGFSbQ (ORCPT ); Fri, 6 Jul 2018 14:31:16 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id C502718224D9E; Fri, 6 Jul 2018 18:31:15 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::,RULES_HIT:41:355:379:541:599:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1542:1593:1594:1605:1711:1730:1747:1777:1792:2110:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3622:3653:3865:3866:3867:3868:3870:3871:3872:3873:3874:4250:4321:4605:5007:6119:6299:7903:9010:10004:10400:10848:11026:11232:11658:11914:12043:12114:12438:12740:12760:12895:13071:13255:13439:14096:14097:14180:14659:14721:21060:21080:21324:21433:21451:21627:30022:30025:30054:30062:30070:30090:30091,0,RBL:75.82.193.221:@perches.com:.lbl8.mailshell.net-62.8.0.191 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:43,LUA_SUMMARY:none X-HE-Tag: skirt30_7f4b5694a5619 X-Filterd-Recvd-Size: 3842 Received: from XPS-9350 (cpe-75-82-193-221.socal.res.rr.com [75.82.193.221]) (Authenticated sender: joe@perches.com) by omf01.hostedemail.com (Postfix) with ESMTPA; Fri, 6 Jul 2018 18:31:14 +0000 (UTC) Message-ID: Subject: Re: [PATCH] get_maintainer.pl: Add optional .get_maintainer.MAINTAINERS override From: Joe Perches To: Don Zickus Cc: Prarit Bhargava , linux-kernel@vger.kernel.org, jtoppins@redhat.com Date: Fri, 06 Jul 2018 11:31:13 -0700 In-Reply-To: <20180706175419.6irtvs64e6dbz7hk@redhat.com> References: <20180626182505.4176-1-prarit@redhat.com> <601f0e6bf3baa88b9f6145e635d728a435542292.camel@perches.com> <20180706175419.6irtvs64e6dbz7hk@redhat.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.28.1-2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-07-06 at 13:54 -0400, Don Zickus wrote: > On Tue, Jun 26, 2018 at 01:16:11PM -0700, Joe Perches wrote: > > On Tue, 2018-06-26 at 14:25 -0400, Prarit Bhargava wrote: > > > OSes have additional maintainers that should be cc'd on patches or may > > > want to circulate internal patches. > > > > > > Parse the .get_maintainer.MAINTAINERS file. Entries in the file > > > can begin with a '+' to indicate the email and list entries should be > > > added to the exiting MAINTAINERS output, or a '-' to indicate that the > > > entries should override the existing MAINTAINERS file. > > > > > > Also add a help entry for the .get_maintainers.ignore file. > > > > I see no reason for this patch to be applied. > > Why should it? > > Why shouldn't this be in your private repository? > > Hi Joe, > > Would you be open to a '--mfile=/MAINTAINERS' option that would > override the default ./MAINTAINERS file? Then we could just add that to our > .get_maintainers.conf file. Hi Don. Sure. And that kinda already exists in mainline with --find-maintainer-files where any subdirectory that contains a MAINTAINER file is also read. > Just trying to find ways to minimize our collection of private patches. Perhaps that could be extended for your purpose with some additional argument like a specific optional directory/path where every subdirectory would be found. > Cheers, > Don cheers back, Joe > > > + $line =~ s/\s*\n?$//; > > > + push(@mfiles, $line); > > > + } > > > + close($conffile); > > > + if ($add eq 0) { > > > + foreach my $file (@mfiles) { > > > + read_maintainer_file("$file"); > > > + } > > > + return; > > > + } > > > + } > > > + > > > if (-d "${lk_path}MAINTAINERS") { > > > opendir(DIR, "${lk_path}MAINTAINERS") or die $!; > > > my @files = readdir(DIR); > > > @@ -1068,6 +1094,14 @@ Notes: > > > Entries in this file can be any command line argument. > > > This file is prepended to any additional command line arguments. > > > Multiple lines and # comments are allowed. > > > + File ".get_maintainer.ignore", if it exists in the linux kernel source root > > > + directory, can contain a list of email addresses to ignore. Multiple > > > + lines and # comments are allowed. > > > + File ".get_maintainer.MAINTAINERS", if it exists in the linux kernel source > > > + root directory, can change the location of the MAINTAINERS file. > > > + Entries beginning with a '+' are added to the default list, and > > > + entries beginning with a '-' override the existing MAINTAINERS list > > > + lookup. Multiple lines and # comments are allowed. > > > Most options have both positive and negative forms. > > > The negative forms for -- are --no and --no-. > > >