Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp114485imm; Fri, 6 Jul 2018 15:13:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcjnvbAV0jfJpbX182U/Fz2kLwTXwJIpOMbEHAGxC9DT0AYwu3PLZd12vOFjfRJwhprvcxm X-Received: by 2002:a65:4541:: with SMTP id x1-v6mr10566335pgr.26.1530915205844; Fri, 06 Jul 2018 15:13:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530915205; cv=none; d=google.com; s=arc-20160816; b=B2imktG+B5cKswMmsbynZU6aapdHyh6DycimY2lsoh6yhISChbFO4GU0vOCz8ngGAX r8dv9cr3yzMN4ot7JstiF4nZb2VbbE8B4/034aYIL78YjnpWCG0yXwGe420K5FpnnJvc fKNQO50yk/9/J738holgpGCNGu1JgpNNynHRDo3LtAKirCOD4PKFQ+bE4MQsoOFXfokK ovGK6HpCGQ76UEWxk0VQGrZQ5ptF0QDIJp+dh7O/Ql0sXmnnn9HUg/FStP79438v8t3M oTxCtz2zTySl4ypeC3hyMzNvgiAsBkQPV73mRuurzJ549dpefxSr6B7PrdKvKN8jYMqE 66Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=Q5fZovEqWhVRYkGprGU/0c8n8gRFivemwtMi7jyGUKY=; b=Scgjh2QZhf84bdTja7iIMGOFiMAw3jeypwzZD3kvBkV6j7fHlLm4D9PutpNIALNRY6 Zabv9+EhDgIjjTTk5m1pUa7EBYoZR4m2kV8RPHednEIMZzBKQLTImZX5+XM2Cr0tSnBy nF079ThUef4PYuCruXle8lapNAJ3swXvGL4jVGEubIbpNE/tGCEwRvyopRGQf94QOu1X HczpZqMeI2E+FDbgURNjoLuurzHgwMTQzgOTCmaasi0aiEygsCWfOddaXQMkpAYSbaFi W6TGtResfkAufTOUzobgERfpcv0w9/qWQURYN52HxL6+SBlJnv4Zlu8d6szVehfX+php Fu5Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m3-v6si7112232plb.27.2018.07.06.15.13.11; Fri, 06 Jul 2018 15:13:25 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932910AbeGFWMd (ORCPT + 99 others); Fri, 6 Jul 2018 18:12:33 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:48582 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932412AbeGFWMc (ORCPT ); Fri, 6 Jul 2018 18:12:32 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 74D25400225D; Fri, 6 Jul 2018 22:12:32 +0000 (UTC) Received: from redhat.com (ovpn-124-65.rdu2.redhat.com [10.10.124.65]) by smtp.corp.redhat.com (Postfix) with SMTP id CD1DE111DD00; Fri, 6 Jul 2018 22:12:31 +0000 (UTC) Date: Fri, 6 Jul 2018 18:12:31 -0400 From: Don Zickus To: Joe Perches Cc: Prarit Bhargava , linux-kernel@vger.kernel.org, jtoppins@redhat.com Subject: Re: [PATCH] get_maintainer.pl: Add optional .get_maintainer.MAINTAINERS override Message-ID: <20180706221231.txibqiyibcg5q34u@redhat.com> References: <20180626182505.4176-1-prarit@redhat.com> <601f0e6bf3baa88b9f6145e635d728a435542292.camel@perches.com> <20180706175419.6irtvs64e6dbz7hk@redhat.com> <20180706184411.ilzbt7fxuje2nhx6@redhat.com> <716eb88d-31ac-c488-f799-dec9c9afb5af@redhat.com> <948af2d06623e8fcca6f0c0fd300a65bbfd1c6fa.camel@perches.com> <20180706215851.sqpibusyqukbh55g@redhat.com> <5ebb181efcdd2cdb3c1ee8eac9bba26f5759a0ea.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5ebb181efcdd2cdb3c1ee8eac9bba26f5759a0ea.camel@perches.com> User-Agent: NeoMutt/20180622 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Fri, 06 Jul 2018 22:12:32 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Fri, 06 Jul 2018 22:12:32 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dzickus@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 06, 2018 at 03:09:17PM -0700, Joe Perches wrote: > On Fri, 2018-07-06 at 17:58 -0400, Don Zickus wrote: > > On Fri, Jul 06, 2018 at 02:36:28PM -0700, Joe Perches wrote: > > > > > > > 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. > > > > > > > > > > So something like --find-maintainer-files= ? I think that could work. > > > > > > > > So --find-maintainers-files=./kernel/pci > > > > > > > > would only look for MAINTAINERS files under kernel/pci? > > > > > > Well, perhaps yes. Perhaps it would also read > > > a top level MAINTAINERS file. Dunno. What seems > > > right to you? > > > > > > I don't have an objection to > > > --find-maintainer-files= where > > > the existing behavior of --find-maintainer-files > > > without is all subdirs. > > > > > > Perhaps something like the below > > > (some of this is whitespace change only) > > > --- > > > scripts/get_maintainer.pl | 40 ++++++++++++++++++++++------------------ > > > 1 file changed, 22 insertions(+), 18 deletions(-) > > > > > > > > > > > > + > > > + if (defined $find_maintainer_files) { > > > + die "$P: invalid find-maintainer-files <$path>" if (!-d $path); > > > > ^^^^^ > > > > Hi Joe, > > > > Thanks for the patch!! If I remove the above 'die' line I can pass in a > > file or a dir. Otherwise the 'die' line prevents a 'file' from being used. > > Change it to (!-e $file), I was just spitballing. Perfect. Works for me! :-) Cheers, Don > > > Not sure if that is important for this patch or not. > > It's not. > > > We have an internal use case of multiple MAINTAINER files, some folks have > > more rights to patches than others so they are not allowed to be cc'd (think > > embargoed stuff). > > > > So the 'file' usage would be useful for us. But if you are against it, we can > > easily patch it out on our end. > > cheers, Joe