get_maintainer.pl: slightly modify penguin_chief

Penguin chiefs are actually stripped out from get_maintainer results unless
--git-chief-penguins is provided, which appends them to all results instead.

This is a issue for U-Boot since Tom Rini (penguin chief) is also maintainer
of some sub-trees ("ARM", "ARM TI" and "THE REST").

Hopefully, this match is performed case-senditive over name and email,
therefore upper-casing Tom Rini last name workarounds the issue.

Important note: This also fixes "THE REST" catch all section resulting
in Tom Rini listed as (maintainer:THE REST) for all files. Hope there is not
too much developers scripting their patch email header from get_maintainer.pl
output, otherwise Tom Rini may be flooded.

Cc: Tom Rini <trini@konsulko.com>
Signed-off-by: Anthony Loiseau <anthony.loiseau@allcircuits.com>
This commit is contained in:
Anthony Loiseau 2024-01-11 17:51:27 +01:00 committed by Tom Rini
parent b6488caa1f
commit 46371f2699

View file

@ -80,7 +80,7 @@ my %commit_author_hash;
my %commit_signer_hash;
my @penguin_chief = ();
push(@penguin_chief, "Tom Rini:trini\@konsulko.com");
push(@penguin_chief, "Tom RINI:trini\@konsulko.com");
my @penguin_chief_names = ();
foreach my $chief (@penguin_chief) {