From nobody Sat Jun 27 16:09:46 2026 Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [80.241.56.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 01EB23CE0AE for ; Mon, 8 Jun 2026 16:36:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.241.56.151 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780936575; cv=none; b=DkF3oqmEbcK0Qhg5ciF6XEXWPd64c/49DTFCtyVb12iityiAh7WJYmM4P/eM7ErmNF9GO1RplRYrQedVvjZ+hhC4gpHE/okpoFPN6W51jwH/xT+4qYFz2oiHy51uxiMyq4OscOuzPEBCjTvgC/hReITpBIWcZdMD9AQvsJfaS3A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780936575; c=relaxed/simple; bh=a1oA4w8I2UH5MaL9GKCSqxxGVclRFKnXXx0se/ntGo8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Be2xh6jHjD1X9EIduL0quy4UYHgZDmitOi3J+mfWKne7zKIw8nQzixFbYsp9jIpIHzsiXs99JCgWWYAM4qrnNuPQiYPbdUJjqbI5ABkwETKz5rcirlJ++Obys4vM3jhDqHY+dXc/fb4IkEyw350loenTBDzdiaYNxX3IgPAc4oI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mailbox.org; spf=pass smtp.mailfrom=mailbox.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b=b9oTaS89; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b=Sil4TJjq; arc=none smtp.client-ip=80.241.56.151 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mailbox.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mailbox.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="b9oTaS89"; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="Sil4TJjq" Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4gYyN86c0Jz9tks; Mon, 8 Jun 2026 18:36:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1780936569; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XXWrDEq97S5659bsSZRSxIaSohrb5koNBZr75To/5yQ=; b=b9oTaS89rFOKrvMDkWXRL2OG2vtjpqCk2l6gFKb2ekrEDl23k3oKGKcdRWSiAymCvNq1Vc 9+cMrYj79wV7BEyZdOK7nSYFBprKGx5ZQtaoTKxUbmqhQK7+7fjqEbfnatDBXsjZBvS4bY 5nrxafFb/lIoJ9nv9bRx2tsD/4q8iA6PiMuhAWGmpvCAELnuT21aEwcqVgpiLrwFGTA8BR A1d4Dgi6KdYI83JSttI1LzjO6qlJJBZzTUYPAlKEqiHUS9+YfoRU758L2hnXZs6R4R5BmO GRu/5RspF1bNn246JRLM0E2vCEYGWcF5n/6HMNU4XQdNcDgpdDAfgGV02ydPEw== Authentication-Results: outgoing_mbo_mout; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=Sil4TJjq; spf=pass (outgoing_mbo_mout: domain of manuelebner@mailbox.org designates 2001:67c:2050:b231:465::102 as permitted sender) smtp.mailfrom=manuelebner@mailbox.org From: Manuel Ebner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1780936567; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XXWrDEq97S5659bsSZRSxIaSohrb5koNBZr75To/5yQ=; b=Sil4TJjqpfkZzMMpURTpONyuYjNf3rgkheM73sj3TYsbMeU9OigF4RiFbe8I/ItAd25ifE IheIj0ma+CBtSE+bdzHkSmZrMcRJqvMKkyrc3kaidg7Z43Ay7YIXd8wbHK/T4ht2/mCl0k 56TABf/KJnWXCxqg27Q1ZXI3LvXlTNaocX9hIgi0ImJw2KbDG4djCzDQyVRDwB1WVodiS9 dSijTlGrX3U2j6xmCAtnw0YETOlFq1V6wSIeofDiK85yHylaRNOPsR8FVzv8f7mnwYH/rQ k3j21wYXUrNpMD7G05fJh8poR/s4Utg32oryj+PjKq01nd/xpYnIvn7udWUQCQ== To: joe@perches.com Cc: kernelnewbies@kernelnewbies.org, linux-kernel-mentees@lists.linux.dev, linux-kernel@vger.kernel.org, manuelebner@mailbox.org Subject: [PATCH] get_maintainer: add recipients to output of script Date: Mon, 8 Jun 2026 18:34:12 +0200 Message-ID: <20260608163411.70226-2-manuelebner@mailbox.org> In-Reply-To: <14198ef7adde6d0e24535edf64266201b7036fed.camel@perches.com> References: <14198ef7adde6d0e24535edf64266201b7036fed.camel@perches.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-MBO-RS-ID: 9656f40ada26f46ed24 X-MBO-RS-META: sbdma8n95zkj7bok53mwdyagoa8j54w3 X-Rspamd-Queue-Id: 4gYyN86c0Jz9tks Content-Type: text/plain; charset="utf-8" Add all people tagged in all the mentioned commits to the output of this sc= ript. This is done to give credit to people who inspired the current commit or to= get feedback from people who know the subject. Signed-off-by: Manuel Ebner --- scripts/get_maintainer.pl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 16b80a700d4a..8c44b14391f9 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -30,6 +30,7 @@ my $email_usename =3D 1; my $email_maintainer =3D 1; my $email_reviewer =3D 1; my $email_fixes =3D 1; +my $email_mentioned =3D 0; my $email_list =3D 1; my $email_moderated_list =3D 1; my $email_subscriber_list =3D 0; @@ -78,6 +79,7 @@ my $exit =3D 0; =20 my @files =3D (); my @fixes =3D (); # If a patch description includes Fixes: lines +my @mentioned =3D (); # If a patch description mentiones a patch my @range =3D (); my @keyword_tvi =3D (); my @file_emails =3D (); @@ -264,6 +266,7 @@ if (!GetOptions( 'n!' =3D> \$email_usename, 'l!' =3D> \$email_list, 'fixes!' =3D> \$email_fixes, + 'mentioned!' =3D> \$email_mentioned, 'moderated!' =3D> \$email_moderated_list, 's!' =3D> \$email_subscriber_list, 'multiline!' =3D> \$output_multiline, @@ -606,6 +609,8 @@ foreach my $file (@ARGV) { push(@files, $filename2); } elsif (m/^Fixes:\s+([0-9a-fA-F]{6,40})/) { push(@fixes, $1) if ($email_fixes); + } elsif (m/\s+([0-9a-fA-F]{6,40})/) { + push(@mentioned, $1) if ($email_mentioned); } elsif (m/^\+\+\+\s+(\S+)/ or m/^---\s+(\S+)/) { my $filename =3D $1; $filename =3D~ s@^[^/]*/@@; @@ -637,6 +642,7 @@ foreach my $file (@ARGV) { =20 @file_emails =3D uniq(@file_emails); @fixes =3D uniq(@fixes); +@mentioned =3D uniq(@mentioned); =20 my %email_hash_name; my %email_hash_address; @@ -1038,6 +1044,10 @@ sub get_maintainers { vcs_add_commit_signers($fix, "blamed_fixes"); } =20 + foreach my $mention (@mentioned) { + vcs_add_commit_signers($mention, "in mentioned Patch"); + } + my @to =3D (); if ($email || $email_list) { if ($email) { @@ -1106,6 +1116,7 @@ MAINTAINER field selection options: --substatus =3D> show subsystem status if not Maintained (default: mat= ch --roles when output is tty)" --file-emails =3D> add email addresses found in -f file (default: 0 (o= ff)) --fixes =3D> for patches, add signatures of commits with 'Fixes: ' (default: 1 (on)) + --mentioned =3D> for patches, add signatures in mentioned commits with= hashes between 6 and 40 chars long (default: 1 (on)) --scm =3D> print SCM tree(s) if any --status =3D> print status if any --subsystem =3D> print subsystem name if any --=20 2.54.0