From nobody Sat Jun 27 16:09:46 2026 Received: from mout-p-103.mailbox.org (mout-p-103.mailbox.org [80.241.56.161]) (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 B3CBD3FADFB for ; Mon, 8 Jun 2026 15:23:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.241.56.161 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780932238; cv=none; b=cdP/GpKWFJ9rz82wefOXPz+KhihlHqWszWPIyjIZ7GPNKML6Af6Zgx+hWTO3mmuM3FoiZZ/7gck6dCJK2Vp2uLQIbtgfD7urJrczdjpxXfovw0sTJhY+e06K9EQfBKj3f2hrl7QDOY0a+AJwp85V4RBzGTH2mBDWhrNEVKhoPOU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780932238; c=relaxed/simple; bh=iXU+GUJvQOiOiVPnyj5XeVp32R5LwXJUv1i9v46okcA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FOlFNht746nRgLQ6H5jOYF1sEqRP8yARtq4DjIKdwgnDVY7LGJbxdxSBUWNiBmT/DZ65I/zA2M8EFs6ucZu5U7vSflIf4ZK4qy+aJDspmJlnxukWOKPFrr6y69udxTElwz1CjvhcJN08TaUrt2eoVHYEVYyPh9ZqwrceSE4lOqo= 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=wqo0avYU; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b=pq9pOGDJ; arc=none smtp.client-ip=80.241.56.161 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="wqo0avYU"; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="pq9pOGDJ" Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (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-103.mailbox.org (Postfix) with ESMTPS id 4gYwmn6dj4z9trD; Mon, 8 Jun 2026 17:23:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1780932234; 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; bh=YkTVu1IQ2XPqplEjJ5c/eg56TuXb8YL2yuTzrx/dawY=; b=wqo0avYUhzOeva/5WvP/ntkywPJf1O5tA5tf47M8oi8YQw8bQG0+Dk3pPd0Zz41zXO4qr/ FvCLpiSbkD0IryI2ISNJStrJEmI2wpmX6i3dXD76aO5qVg3iHIrqzfMHbwK7GnWlAzZknl sjekj34gE00x2K3gI/5X6hnk605IYtd+xUeN9W3w/EZUXazGpjhumHNNLe0oc4p+loJI1I 49GBwcdp1ksmgjIUCwBDnPjkWeUljZbB9wC1/UeJC7Pw4faCKZ8loTQyCB9pxprKdZQ4+A 7rvZh1o0O+kMs0Y+tdp0aXE3sZYQ13ISNm5iM3MbMviKPEsUPhWXNY/HiVOu9w== Authentication-Results: outgoing_mbo_mout; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=pq9pOGDJ; spf=pass (outgoing_mbo_mout: domain of manuelebner@mailbox.org designates 2001:67c:2050:b231:465::2 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=1780932232; 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; bh=YkTVu1IQ2XPqplEjJ5c/eg56TuXb8YL2yuTzrx/dawY=; b=pq9pOGDJLC/FNvcJbKJcwoYePd3MCBlnxR06YADzu8WZ2rlZn7lnELLjj9M1oH0tlz43JM deIz2SJXn2x56Ao+KKMC4DdvD7TRTWd3jT8RuPsFl9MeiMXNAKX1M7vfdUVXk2a2xFc5Xz X0DbnNL8rt9LTIXhlojHRilegnfA4N5iwe/3H8WQ258mOF9djYlTMLvfsiaNkpjIqrKhIt EEh9aidAR/0Y4gdAvJOHbgBPof0UNJPDtPg0wE6q0R41RCp/rsZEui4H7t8Q3J5166VQD0 LsbhkTub0YB6Um1vZ0ZpNrVAArsiS03xf251+x4k8xFx4JPP9DuIp9DoSowVjQ== To: Joe Perches , linux-kernel@vger.kernel.org (open list), kernelnewbies , mentees Cc: Manuel Ebner Subject: [PATCH] get_maintainer: add recipients to output of script Date: Mon, 8 Jun 2026 17:22:43 +0200 Message-ID: <20260608152242.61223-2-manuelebner@mailbox.org> 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-META: daa9z7miqm8wsx8fitaagrbqj96zuu84 X-MBO-RS-ID: bc4662be3a5585d9656 X-Rspamd-Queue-Id: 4gYwmn6dj4z9trD Content-Type: text/plain; charset="utf-8" Add all people tagged in all the mentioned commits to the output of this sc= ript. 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..4bcf910f2830 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 1; 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