Re: dt-bindings: treewide: Update @st.com email address to @foss.st.com
From: Marc Zyngier <maz@kernel.org>
Date: 2021-10-27 14:21:36
Also in:
alsa-devel, dri-devel
Subsystem:
get_maintainer script, the rest · Maintainers:
Joe Perches, Linus Torvalds
On Wed, 27 Oct 2021 14:56:35 +0100, Patrice CHOTARD [off-list ref] wrote:
Hi Marc +Joe Perches On 10/27/21 8:11 AM, Patrice CHOTARD wrote:quoted
Hi Marc On 10/20/21 1:39 PM, Marc Zyngier wrote:quoted
On Wed, 20 Oct 2021 08:45:02 +0100, Krzysztof Kozlowski [off-list ref] wrote:quoted
On 20/10/2021 08:50, patrice.chotard@foss.st.com wrote:quoted
From: Patrice Chotard <patrice.chotard@foss.st.com> Not all @st.com email address are concerned, only people who have a specific @foss.st.com email will see their entry updated. For some people, who left the company, remove their email.Please split simple address change from maintainer updates (removal, addition). Also would be nice to see here explained *why* are you doing this.And why this can't be done with a single update to .mailmap, like anyone else does.Thanks for the tips, yes, it will be simpler. Thanks Patricequoted
M.I made a try by updating .mailmap with adding a new entry with my @foss.st.com email : Pali Rohár [off-list ref] [off-list ref] Paolo 'Blaisorblade' Giarrusso [off-list ref] +Patrice Chotard [off-list ref] [off-list ref] Patrick Mochel [off-list ref] Paul Burton [off-list ref] [off-list ref] But when running ./scripts/get_maintainer.pl Documentation/devicetree/bindings/arm/sti.yaml, by old email is still displayed Rob Herring [off-list ref] (maintainer:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) Patrice Chotard [off-list ref] (in file) devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) linux-kernel@vger.kernel.org (open list) By default, the get_maintainer.pl script is using .mailmap file ($email_use_mailmap = 1). It seems there is an issue with get_maintainer.pl and maintainer name/e-mail found in yaml file ?
Try this (warning though: my Perl-foo is non-existent). M.
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index 2075db0c08b8..2a84a3fb0130 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl@@ -986,6 +986,7 @@ sub get_maintainers { my ($name, $address) = parse_email($email); my $tmp_email = format_email($name, $address, $email_usename); + $tmp_email = mailmap_email($tmp_email); push_email_address($tmp_email, ''); add_role($tmp_email, 'in file'); }
--
Without deviation from the norm, progress is not possible.
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy