Re: [PATCH] MAINTAINERS: Update my maintainer entries to reorder email addresses

From: Joe Perches
Date: Tue May 26 2020 - 19:33:14 EST


On Tue, 2020-05-26 at 16:54 -0600, Shuah Khan wrote:
> On 5/26/20 4:27 PM, Joe Perches wrote:
> > On Tue, 2020-05-26 at 11:04 -0600, Shuah Khan wrote:
> > > On 5/22/20 8:26 PM, Joe Perches wrote:
> > > > On Fri, 2020-05-22 at 20:19 -0600, Shuah Khan wrote:
> > > > > get_maintainer.pl picks only the first email address found in the file.
> > > > > Reorder my email addresses so it finds my linuxfoundation.org email.
> > > >
> > > > OK.
> > []
> > > Sadly, people that don't run get_maintainer.pl, leave alone running it
> > > with --noremove-duplicates option. So your suggestion doesn't really
> > > help me.
> > >
> > > My preference is to get patches to both Inboxes if possible which isn't
> > > possible unless -noremove-duplicate is default. Having this option as
> > > default probably will annoy lot of people . So I am not asking for
> > > that.
> > >
> > > That being said, I don't understand your comment. Are you recommending
> > > using just one email in these entries?
> >
> > Yes. And maybe set an autoforward rule in that email to
> > forward the received email to your other address.
> >
> >
> Sounds good.

Another option would be to write your name
slightly differently in the 2 entries.

For instance, add "(LF)" to the linuxfoundation.org entry like:

CPU POWER MONITORING SUBSYSTEM
M: Thomas Renninger <trenn@xxxxxxxx>
M: Shuah Khan <shuah@xxxxxxxxxx>
M: Shuah Khan (LF) <skhan@xxxxxxxxxxxxxxxxxxx>
L: linux-pm@xxxxxxxxxxxxxxx
S: Maintained
F: tools/power/cpupower/

and then the get_maintainer.pl script won't
collapse the equally named but with different
email addresses into a single entry:

$ ./scripts/get_maintainer.pl -f tools/power/cpupower/
Thomas Renninger <trenn@xxxxxxxx> (maintainer:CPU POWER MONITORING SUBSYSTEM)
Shuah Khan <shuah@xxxxxxxxxx> (maintainer:CPU POWER MONITORING SUBSYSTEM)
"Shuah Khan (LF)" <skhan@xxxxxxxxxxxxxxxxxxx> (maintainer:CPU POWER MONITORING SUBSYSTEM)
linux-pm@xxxxxxxxxxxxxxx (open list:CPU POWER MONITORING SUBSYSTEM)
linux-kernel@xxxxxxxxxxxxxxx (open list)