From: Joe Perches <joe@perches.com>
To: Don Zickus <dzickus@redhat.com>
Cc: Prarit Bhargava <prarit@redhat.com>,
linux-kernel@vger.kernel.org, jtoppins@redhat.com
Subject: Re: [PATCH] get_maintainer.pl: Add optional .get_maintainer.MAINTAINERS override
Date: Fri, 06 Jul 2018 15:09:17 -0700 [thread overview]
Message-ID: <5ebb181efcdd2cdb3c1ee8eac9bba26f5759a0ea.camel@perches.com> (raw)
In-Reply-To: <20180706215851.sqpibusyqukbh55g@redhat.com>
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=<dir> ? 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=<path_or_file> where
> > the existing behavior of --find-maintainer-files
> > without <path_or_file> 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(-)
> >
>
> <snip>
>
> > +
> > + 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.
> 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
next prev parent reply other threads:[~2018-07-06 22:09 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-26 18:25 Prarit Bhargava
2018-06-26 20:16 ` Joe Perches
2018-06-26 22:52 ` Prarit Bhargava
2018-06-26 23:04 ` Joe Perches
2018-06-26 23:29 ` Prarit Bhargava
2018-07-06 17:54 ` Don Zickus
2018-07-06 18:31 ` Joe Perches
2018-07-06 18:44 ` Don Zickus
2018-07-06 19:39 ` Prarit Bhargava
2018-07-06 21:36 ` Joe Perches
2018-07-06 21:58 ` Don Zickus
2018-07-06 22:09 ` Joe Perches [this message]
2018-07-06 22:12 ` Don Zickus
2018-07-06 22:14 ` Joe Perches
2018-07-06 22:30 ` Don Zickus
2018-07-06 22:32 ` Don Zickus
2018-07-13 18:51 ` Don Zickus
2018-07-14 0:11 ` Joe Perches
2018-07-16 21:20 ` Don Zickus
2018-07-30 18:48 ` Don Zickus
2018-07-06 19:47 ` Don Zickus
2018-08-04 1:11 ` [PATCH] get_maintainer.pl: Add -mpath=<path or file> for MAINTAINERS file location Joe Perches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5ebb181efcdd2cdb3c1ee8eac9bba26f5759a0ea.camel@perches.com \
--to=joe@perches.com \
--cc=dzickus@redhat.com \
--cc=jtoppins@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=prarit@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®