get_maintainer: Remove uses of P: for maintainer name
Joe Perches
maintainerPATCH 1/1 get_maintainer: Remove uses of P: for maintainer name
commit 1ca84ed6425f ("MAINTAINERS: Reclaim the P: tag for Maintainer Entry Profile") changed the use of the "P:" tag from "Person" to "Profile (ie: special subsystem coding styles and characteristics)"
Change how get_maintainer.pl parses the "P:" tag to match.
--- scripts/get_maintainer.pl | 24 ------------------------ 1 file changed, 24 deletions(-)
scripts/get_maintainer.pl +0 -24
@@ -1341,35 +1341,11 @@ sub add_categories { } } } elsif ($ptype eq "M") { - my ($name, $address) = parse_email($pvalue); - if ($name eq "") { - if ($i > 0) { - my $tv = $typevalue[$i - 1]; - if ($tv =~ m/^([A-Z]):\s*(.*)/) { - if ($1 eq "P") { - $name = $2; - $pvalue = format_email($name, $address, $email_usename); - } - } - } - } if ($email_maintainer) { my $role = get_maintainer_role($i); push_email_addresses($pvalue, $role); } } elsif ($ptype eq "R") { - my ($name, $address) = parse_email($pvalue); - if ($name eq "") { - if ($i > 0) { - my $tv = $typevalue[$i - 1]; - if ($tv =~ m/^([A-Z]):\s*(.*)/) { - if ($1 eq "P") { - $name = $2; - $pvalue = format_email($name, $address, $email_usename); - } - } - } - } if ($email_reviewer) { my $subsystem = get_subsystem_name($i); push_email_addresses($pvalue, "reviewer:$subsystem");
Quoted 7 lines · Joe Perches
commit
1ca84ed6425f("MAINTAINERS: Reclaim the P: tag for Maintainer Entry Profile") changed the use of the "P:" tag from "Person" to "Profile (ie: special subsystem coding styles and characteristics)"Change how get_maintainer.pl parses the "P:" tag to match.
Looks ok to me:
...although I was not able to trigger any unexpected results running against drivers/nvdimm/.
Joe Perches
maintainerQuoted 6 lines · Dan Williams
Quoted 5 lines · Joe Perches
commit
1ca84ed6425f("MAINTAINERS: Reclaim the P: tag for Maintainer Entry Profile") changed the use of the "P:" tag from "Person" to "Profile (ie: special subsystem coding styles and characteristics)"
Quoted 8 lines
Quoted 1 line
Change how get_maintainer.pl parses the "P:" tag to match.
Looks ok to me:
Acked-by Dan Williams <[email protected]>...although I was not able to trigger any unexpected results running against
drivers/nvdimm/.
Because there aren't any entries like
P: First Last
M: [email protected]
where the name was a P: entry and the
email address was on the next line.
That was the form before 2009, but there
were still a few entries until you changed
them recently.
A long time ago:
commit 8b58be884a9fd650abb7f7adf3f885fb9cecd79d
Author: Joe Perches <[email protected]> Date: Wed Jul 29 15:04:30 2009 -0700
MAINTAINERS: coalesce name and email address lines
Switch the MAINTAINERS email address format from
P: Linus Torvalds
M: [email protected]
to
M: Linus Torvalds <[email protected]>