From nobody Thu May 2 20:42:55 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1493804743322816.7934710161874; Wed, 3 May 2017 02:45:43 -0700 (PDT) Received: from localhost ([::1]:35553 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5qqr-0004z5-QB for importer@patchew.org; Wed, 03 May 2017 05:45:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5qpI-000446-QG for qemu-devel@nongnu.org; Wed, 03 May 2017 05:44:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5qpA-0006kj-2P for qemu-devel@nongnu.org; Wed, 03 May 2017 05:44:04 -0400 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]:35333) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d5qp9-0006kC-R7 for qemu-devel@nongnu.org; Wed, 03 May 2017 05:43:55 -0400 Received: by mail-wr0-x244.google.com with SMTP id g12so21848064wrg.2 for ; Wed, 03 May 2017 02:43:55 -0700 (PDT) Received: from donizetti.redhat.com (94-39-148-124.adsl-ull.clienti.tiscali.it. [94.39.148.124]) by smtp.gmail.com with ESMTPSA id o20sm18336880wro.61.2017.05.03.02.43.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 May 2017 02:43:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=xA+bdkfTNmFK8UTj1Phn5XsWGGeS62CVk24IdFApEuQ=; b=euRroPbP8es/NeAfODiVVFk4LXcxxP5SMp2jDPlIBqJHV6b8H+2dj9ypD5ASixyQD/ UWpNA7fAxz3bEZL1Gcr0MpcqmNRkfWAVq+8vzeh2eqhGqwf7Pq7dfc1XQ/dBM54f9bn0 VWrHbrVQJgx0If2zuTaWqjhteQmPDGW9XpcPiCgPOLkHNOj83TnLsKAF88rzrYUmg80c Q/AS5zwv1s3CAXRym3I/SmiTLrrG8UdMUXEBFDMWcSvHgY/zbF6+VXLcwSmjMdJahDIY bCDAMix06puN/B/l+gwpLWxqGhTE3mwRQWr4j3QywMySzPERnLz0XDqDWSC2gTb+tVJO c2Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=xA+bdkfTNmFK8UTj1Phn5XsWGGeS62CVk24IdFApEuQ=; b=Bxw0lcU5plgxueMjWd8aENELMQhQ1UvIvLyvzLl1xwBfedIPXZ6Ioj60QGwrYiPQTK DHln5Fnw6AAhAwksr9z/TR6jc/aV217xZgXjihYhX5NfHncd+iHgFszFTql9d/rJooyL ziQTrIEXFtkuurxwy51SWZ4vOUMyUrcMyB23h3syfI7Twk3rRspeiD2BjNl8DA0I2yNZ TggVlLp1wnx97TnDxA2w8oYoDXALa+4zGk0fR4sfRXwp2J562LO/zq6+xNZv5CIhISrB TWxg5jZfDte4+Mks9Cn6DRY4BwDzPcL8wTM2tk9UNCKwFSYRzO5DFNgb+uWxTs5BwDdy dvnA== X-Gm-Message-State: AN3rC/5LbEjVSaewxOOGnuODrkLEOVwc0HSEkMtp0ULotuvxCtE3Lp9Q pTx5sJmFm6o/yQ== X-Received: by 10.223.142.35 with SMTP id n32mr27478508wrb.131.1493804634752; Wed, 03 May 2017 02:43:54 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Wed, 3 May 2017 11:43:47 +0200 Message-Id: <20170503094351.5040-2-pbonzini@redhat.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170503094351.5040-1-pbonzini@redhat.com> References: <20170503094351.5040-1-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::244 Subject: [Qemu-devel] [PATCH 1/5] MAINTAINERS: Add "R:" tag for self-appointed reviewers X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thuth@redhat.com, armbru@redhat.com, pavel.dovgaluk@ispras.ru Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: "Paul E. McKenney" Some people are not content with the amount of mail they get, and would like to be CCed on patches for areas they do not maintain. Let them satisfy their own appetite for qemu-devel messages. Seriously: the purpose here is a bit different from the Linux kernel. While Linux uses "R" to designate non-maintainers for reviewing patches in a given area, in QEMU I would also like to use "R" so that people can delegate sending pull requests while keeping some degree of oversight. Based on Linux commit eafbaac3093760d1fd3b2a5b9f016362dd68af36. Signed-off-by: Paul E. McKenney Signed-off-by: Paolo Bonzini Reviewed-by: Thomas Huth --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index a1d2b3a4d3..46cf4870f9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12,6 +12,8 @@ consult qemu-devel and not any specific individual privat= ely. Descriptions of section entries: =20 M: Mail patches to: FullName + R: Designated reviewer: FullName + These reviewers should be CCed on patches. L: Mailing list that is relevant to this area W: Web-page with status/info Q: Patchwork web based patch tracking system site --=20 2.12.2 From nobody Thu May 2 20:42:55 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1493804741802707.4852527688987; Wed, 3 May 2017 02:45:41 -0700 (PDT) Received: from localhost ([::1]:35551 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5qqo-0004wG-Up for importer@patchew.org; Wed, 03 May 2017 05:45:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5qpF-00043r-RN for qemu-devel@nongnu.org; Wed, 03 May 2017 05:44:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5qpB-0006lb-3z for qemu-devel@nongnu.org; Wed, 03 May 2017 05:44:01 -0400 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:33053) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d5qpA-0006ku-SJ for qemu-devel@nongnu.org; Wed, 03 May 2017 05:43:57 -0400 Received: by mail-wm0-x243.google.com with SMTP id y10so11381529wmh.0 for ; Wed, 03 May 2017 02:43:56 -0700 (PDT) Received: from donizetti.redhat.com (94-39-148-124.adsl-ull.clienti.tiscali.it. [94.39.148.124]) by smtp.gmail.com with ESMTPSA id o20sm18336880wro.61.2017.05.03.02.43.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 May 2017 02:43:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=+b2IIAzroFG39UtOgaUyoFmOzgDLwYqPP20/SD1tWJ8=; b=EYQjrkLMFVlTUJxUr+3Pdx4AnO49Mj0wiZpHrjTs10ZXNenhm6K1XczCH2swat/Q90 FlaPwR/yIMWHa/t/Jbxv4MdItin8t6tRcJ55Wc5p/01vMcVvMdQ5kYGWMQTWDsLRQh4Y UKSKyFRA8AzOoqMBCTz9j8R3VP1VjEl4yCvCpkkR0tJGzsfYW/cF5dp3+meziCOswzKv ZSlsLE1CY/zChBBx4OYVvf68vS2MeWEvWhhbZXlgtltIeJw0dqLux2eLyyU1nZGBIq91 K36OcadGr/FhpkVsgYyD2rf0aF6OftTW/jLvvyNmzkihqAVOL4pVSoV1d3Fdi2Tek14v 1siQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=+b2IIAzroFG39UtOgaUyoFmOzgDLwYqPP20/SD1tWJ8=; b=XPWupEMBZhjhzX9aPQ5yizePM/xMuq+Eax6t27UW5vEkacLe/2zu9pItpxPae+cXsQ QcAzH0TJeI4c03SpxUQz7R4HdqLyNAfReKkWxsiARjNSW6LpNH65nv/sZ6iLLWXG3d+g T0kbqAup0h5GKdPYkT9XLhpG/oNhV/cOk4l2/1YQwuiBH2qQeRynfElebun7SA8FmniW dKK6zW10+a9cCVtpcWcbJTHCI+2tg5bFpv7zbCIcfIb1/NaNMAZ/aCu9rdSK/nubraNl 1YSXGK0eiwS576DPfYKKcKuulnZQBWNQcvHIZZleatAUMujj3Xi2bAUf26vB4e9YVphh 0J7w== X-Gm-Message-State: AN3rC/48PVx1ETeW0GgEvNFrMgrqN2h+BHSD9OSWCcx8xg1LDSByvvSc BjJ8blWq41b7Zw== X-Received: by 10.28.212.148 with SMTP id l142mr609041wmg.110.1493804635842; Wed, 03 May 2017 02:43:55 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Wed, 3 May 2017 11:43:48 +0200 Message-Id: <20170503094351.5040-3-pbonzini@redhat.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170503094351.5040-1-pbonzini@redhat.com> References: <20170503094351.5040-1-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::243 Subject: [Qemu-devel] [PATCH 2/5] get_maintainer: Teach get_maintainer.pl about the new "R:" tag X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thuth@redhat.com, armbru@redhat.com, pavel.dovgaluk@ispras.ru Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Joe Perches We can now designate reviewers in the MAINTAINERS file with the new "R:" tag, so this commit teaches get_maintainers.pl to add their email addresses. Cherry picked from Linux commit c1c3f2c906e35bcb6e4cdf5b8e077660fead14fe, with fixes to avoid \C as in QEMU commit ba10f729f1 ("get_maintainer.pl: \C is deprecated", 2015-09-25). Signed-off-by: Joe Perches Signed-off-by: Paolo Bonzini Reviewed-by: Thomas Huth --- scripts/get_maintainer.pl | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 8261bcb1ad..2bde32f64b 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -21,6 +21,7 @@ my $lk_path =3D "./"; my $email =3D 1; my $email_usename =3D 1; my $email_maintainer =3D 1; +my $email_reviewer =3D 1; my $email_list =3D 1; my $email_subscriber_list =3D 0; my $email_git =3D 0; @@ -180,6 +181,7 @@ if (!GetOptions( 'remove-duplicates!' =3D> \$email_remove_duplicates, 'mailmap!' =3D> \$email_use_mailmap, 'm!' =3D> \$email_maintainer, + 'r!' =3D> \$email_reviewer, 'n!' =3D> \$email_usename, 'l!' =3D> \$email_list, 's!' =3D> \$email_subscriber_list, @@ -238,7 +240,8 @@ if ($sections) { } =20 if ($email && - ($email_maintainer + $email_list + $email_subscriber_list + + ($email_maintainer + $email_reviewer + + $email_list + $email_subscriber_list + $email_git + $email_git_blame) =3D=3D 0) { die "$P: Please select at least 1 email option\n"; } @@ -718,6 +721,7 @@ MAINTAINER field selection options: --hg-since =3D> hg history to use (default: $email_hg_since) --interactive =3D> display a menu (mostly useful if used with the --gi= t option) --m =3D> include maintainer(s) if any + --r =3D> include reviewer(s) if any --n =3D> include name 'Full Name ' --l =3D> include list(s) if any --s =3D> include subscriber only list(s) if any @@ -1022,6 +1026,22 @@ sub add_categories { my $role =3D get_maintainer_role($i); push_email_addresses($pvalue, $role); } + } elsif ($ptype eq "R") { + my ($name, $address) =3D parse_email($pvalue); + if ($name eq "") { + if ($i > 0) { + my $tv =3D $typevalue[$i - 1]; + if ($tv =3D~ m/^(.):\s*(.*)/) { + if ($1 eq "P") { + $name =3D $2; + $pvalue =3D format_email($name, $address, $email_usename); + } + } + } + } + if ($email_reviewer) { + push_email_addresses($pvalue, 'reviewer'); + } } elsif ($ptype eq "T") { push(@scm, $pvalue); } elsif ($ptype eq "W") { --=20 2.12.2 From nobody Thu May 2 20:42:55 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1493804948621528.7272464899223; Wed, 3 May 2017 02:49:08 -0700 (PDT) Received: from localhost ([::1]:35562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5quA-00073r-HL for importer@patchew.org; Wed, 03 May 2017 05:49:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5qpI-000444-Pu for qemu-devel@nongnu.org; Wed, 03 May 2017 05:44:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5qpC-0006m9-2L for qemu-devel@nongnu.org; Wed, 03 May 2017 05:44:04 -0400 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]:34509) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d5qpB-0006lf-RB for qemu-devel@nongnu.org; Wed, 03 May 2017 05:43:57 -0400 Received: by mail-wr0-x241.google.com with SMTP id 6so21840582wrb.1 for ; Wed, 03 May 2017 02:43:57 -0700 (PDT) Received: from donizetti.redhat.com (94-39-148-124.adsl-ull.clienti.tiscali.it. [94.39.148.124]) by smtp.gmail.com with ESMTPSA id o20sm18336880wro.61.2017.05.03.02.43.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 May 2017 02:43:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=6ulQx524XPSPKWaOWc79Zu+1lViwKznX7b6p3GOGJnQ=; b=sPBN5+Pe+E2hXaYZSbuOXjl2bRsbLx4SGEE3XIEu/7A0hm0mZFbSIYoVJgscDwWTh8 BgHCjN2Pz07nyJszo9cG8HqcT/b//ujhb0m+lDOTU5F8ut1v9AZKH7wXw+rR7FDTnCC0 Wof0JmVUtmZY/pbRLjlNMjBwAPH2wPkAW4EtHZmXrHCrn4T/owPXv7uIUVcfmpVfLSsL 1khpjKUs+7xu5NO99QJ0T6Z4Nh7S0VRjYDwOj2oXfHAh6expoMsxKJOHk782BJ8SUMJd BKbQs/t7nZ2YR/P2QK5RLyKF+aijg47cKQ6nvgMWVZgYc/AZYEHLeRkPvW0JiNPbCGGS JmSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=6ulQx524XPSPKWaOWc79Zu+1lViwKznX7b6p3GOGJnQ=; b=O+RRwsq0sf02/jLNI0JaECIFeOMXP7/IXuG8h+5jkhHcqUmpburGO42muPXQHh/ppN PplSSc1a068SE62vgae/+1fV4QanXeAgdHLrx2orCBZOBE7bYbb622dO6fnzjvVyRLHQ A9hs6adOm1TszxEgbd7pVrDicWiMbqoaNwQEEQtVvRd4LJyNufn6UDPYc/bMurLGy0CX j2wgd6+FXBOmkboATUI4OFeS1seoGbKE/jBPLq3j1GkODFk6GzEfqhPOzMCx0lFT8g06 9/3rtAAr3LUEo5jr3azVAu1p2ShcNvqEscHMjMiI+69D0tUv+iVs3ur23wTMWAM3SJXC tpYw== X-Gm-Message-State: AN3rC/5hNGejaH28EFcI3VlbFWXEF0c1f7PSASydWL0RrzGM4E+hIs9Q VrcEEXSdP0t1OA== X-Received: by 10.223.163.215 with SMTP id m23mr24506102wrb.100.1493804636730; Wed, 03 May 2017 02:43:56 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Wed, 3 May 2017 11:43:49 +0200 Message-Id: <20170503094351.5040-4-pbonzini@redhat.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170503094351.5040-1-pbonzini@redhat.com> References: <20170503094351.5040-1-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::241 Subject: [Qemu-devel] [PATCH 3/5] get_maintainer: it's '--pattern-depth', not '-pattern-depth' X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thuth@redhat.com, armbru@redhat.com, pavel.dovgaluk@ispras.ru Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Brian Norris Though it appears that Perl's GetOptions will take either, the latter is not documented in the options listing. Cherry picked from Linux commit cc7ff0ef6eca3deeea4a424ca47a67c8450d5424. Signed-off-by: Brian Norris Signed-off-by: Paolo Bonzini Reviewed-by: Thomas Huth --- scripts/get_maintainer.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 2bde32f64b..449bfbfccb 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -748,7 +748,7 @@ Other options: --help =3D> show this help information =20 Default options: - [--email --nogit --git-fallback --m --n --l --multiline -pattern-depth= =3D0 + [--email --nogit --git-fallback --m --n --l --multiline --pattern-depth= =3D0 --remove-duplicates --rolestats] =20 Notes: --=20 2.12.2 From nobody Thu May 2 20:42:55 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1493804866146270.44044978417185; Wed, 3 May 2017 02:47:46 -0700 (PDT) Received: from localhost ([::1]:35558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5qsq-0006Kh-Vd for importer@patchew.org; Wed, 03 May 2017 05:47:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5qpI-000442-Pd for qemu-devel@nongnu.org; Wed, 03 May 2017 05:44:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5qpC-0006mT-QK for qemu-devel@nongnu.org; Wed, 03 May 2017 05:44:04 -0400 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]:35340) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d5qpC-0006m4-Jg for qemu-devel@nongnu.org; Wed, 03 May 2017 05:43:58 -0400 Received: by mail-wr0-x241.google.com with SMTP id g12so21848302wrg.2 for ; Wed, 03 May 2017 02:43:58 -0700 (PDT) Received: from donizetti.redhat.com (94-39-148-124.adsl-ull.clienti.tiscali.it. [94.39.148.124]) by smtp.gmail.com with ESMTPSA id o20sm18336880wro.61.2017.05.03.02.43.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 May 2017 02:43:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=4ASmHdQa8/DXl8YTKDlqd3IRaSchTeeGlEptUn05wk0=; b=o8pqzPJA1jxjIHKhg4nNNxXH49t9dsombR80SMhKiK9VcncV6M6kLBfxcvw3eLGXj/ 55wcJKwCMN/A2nLftITXOrYVazp6LZQaJ76gC7bg2PU+njgsmUKqQjbJtaABOfUjygKi NxooRcJjZu/r/mhEkaIY756bb5q7bsS2elXNyJ0K3ANkLzbpeXT0jxE4LOGTPyqR4oMf WpxaYZmgcFsq4R1fGx+h65KDJKx+ENDs4GXzjOKebAGkLNcFu/o6aUUwhU+ZVFdlkwsJ M3fOaAcrDh9n/A6D3fIPfSr6pGRas92Q3oFmyQ/gJKxATkXm+p4oin1b0GNwDbPS3c4k v7Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=4ASmHdQa8/DXl8YTKDlqd3IRaSchTeeGlEptUn05wk0=; b=YrJRaIQ7o1s3RH78hDWvEsImVbpk5KNj8EyqEFU98Pgvh/yZRoM5aYSOgqolci4cEX CXcGFgMSH8kt7B+BM6Ysc5sJDTrWpW74Zl621G3MGg4DTa8imzKwcM7u3rfBU7DOCNEA ZcHxqhq76h5VAsAG4R4Hvi48Rf43+wNNLRK+SrJtQ+/6Syr6YEyxJqtPnrqBancFBEs7 f/gvQqm4WS+iKOT3ibCBp15ums4fh/Zu+yTMDv2fTceSbirf4/cExmYB/g5GihT23RJ+ zdvVn0Jzt49D2+cHVy27aClxi+MN9TFkoS65dOnKp7ePt5UrH0oEZlOIk4UD0dYkS6QO 9Q4A== X-Gm-Message-State: AN3rC/5zH23rS0BIzxfwEmTwddswVAezutljeIv+xdlzbg/cEUYRzlqm 3myNuOWjp9AbZg== X-Received: by 10.223.152.237 with SMTP id w100mr11158467wrb.151.1493804637620; Wed, 03 May 2017 02:43:57 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Wed, 3 May 2017 11:43:50 +0200 Message-Id: <20170503094351.5040-5-pbonzini@redhat.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170503094351.5040-1-pbonzini@redhat.com> References: <20170503094351.5040-1-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::241 Subject: [Qemu-devel] [PATCH 4/5] get_maintainer: --r (list reviewer) is on by default X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thuth@redhat.com, armbru@redhat.com, pavel.dovgaluk@ispras.ru Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Brian Norris We don't consistenly document the default value next to the option listing, but we do have a list of defaults here, so let's keep it up to date. Cherry picked from Linux commit 4f07510df2e8c47fd65b8ffaaf6c5d334d59d598. Signed-off-by: Brian Norris Signed-off-by: Paolo Bonzini Reviewed-by: Thomas Huth --- scripts/get_maintainer.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 449bfbfccb..bf210c7fa6 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -748,7 +748,7 @@ Other options: --help =3D> show this help information =20 Default options: - [--email --nogit --git-fallback --m --n --l --multiline --pattern-depth= =3D0 + [--email --nogit --git-fallback --m --r --n --l --multiline --pattern-de= pth=3D0 --remove-duplicates --rolestats] =20 Notes: --=20 2.12.2 From nobody Thu May 2 20:42:55 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1493804743346701.7183022037448; Wed, 3 May 2017 02:45:43 -0700 (PDT) Received: from localhost ([::1]:35552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5qqr-0004yv-PG for importer@patchew.org; Wed, 03 May 2017 05:45:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5qpI-000445-Px for qemu-devel@nongnu.org; Wed, 03 May 2017 05:44:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5qpE-0006n9-34 for qemu-devel@nongnu.org; Wed, 03 May 2017 05:44:04 -0400 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]:35341) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d5qpD-0006mg-S3 for qemu-devel@nongnu.org; Wed, 03 May 2017 05:44:00 -0400 Received: by mail-wr0-x242.google.com with SMTP id g12so21848373wrg.2 for ; Wed, 03 May 2017 02:43:59 -0700 (PDT) Received: from donizetti.redhat.com (94-39-148-124.adsl-ull.clienti.tiscali.it. [94.39.148.124]) by smtp.gmail.com with ESMTPSA id o20sm18336880wro.61.2017.05.03.02.43.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 May 2017 02:43:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=ugCbsr5qX9QhkcqJv6lZtwlF+2Zf9KDtb27ki/62GNU=; b=AdyqV666RQdQZLXkM/AkP+DMzReNeo7W9aMJFpeYzDLyr4Y5CyaC2yiOF8sZVKTa6t HfTHUKJPO4UCcj+dgH1DshJnNuSHJ2vyGPi54gsLb2pI3OpX0UIaUyWmb+8MHUwq7qNf oDOLtr+AcLDU9LiI3KrcdGnPzytmuZzmAP700nQ84scm8oTPDYQwvQY6ppXgE07qZjpf VOezoXCzNhaC0g6G8Qy6853FcAHIb4aHrkvSGrlVb9UZiBMo0b7Ps2UH6YZUyBVxXFms I64Ogdb2Y+7J2gXzPMubctubVELjUlsho7PYmg4j0zCvhw1LbEzz8bOAZwFdIF9JPmVj ILjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=ugCbsr5qX9QhkcqJv6lZtwlF+2Zf9KDtb27ki/62GNU=; b=joSi1SqNPBoseJLzpG4cfcyiYJVO80yKR9IuoTOlL4yXZXfBOyyr53Kc9a81zo06sw rt3xz02KQ7OLwax5uYzKBvWmJX9xco5qpZiKbP5zRBboM8Pho3da9mDoj6f3nUIrivSY MutrjpT8MjGA8DZsNVo6GOcdADAh3qmUvjyXQFeiRgUatWaUKvQIEeDIKa97XpQJNN2w j23HuTVGNxtY4mbOfDdpHtjd0Cvd81zbFFLC+3YsA5NVmmmzZYbMaKuWPLJS23m5ONq/ 4jYthp7JMV0kBM/YC5UHwqDNCb2M21t13+xdq1Zq+PSO5cv/AjFq3Uw/na3eIAJURE8l noyQ== X-Gm-Message-State: AN3rC/61zuDAgJ/P4OhtOqzCa9COYTRjhcdx2A+TLBuDxtmtjzBJeFU4 pK3qF5rm5SdGMA== X-Received: by 10.223.166.129 with SMTP id t1mr26528707wrc.116.1493804638741; Wed, 03 May 2017 02:43:58 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Wed, 3 May 2017 11:43:51 +0200 Message-Id: <20170503094351.5040-6-pbonzini@redhat.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170503094351.5040-1-pbonzini@redhat.com> References: <20170503094351.5040-1-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::242 Subject: [Qemu-devel] [PATCH 5/5] get_maintainer: add subsystem to reviewer output X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thuth@redhat.com, armbru@redhat.com, pavel.dovgaluk@ispras.ru Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Joe Perches Reviewer output currently does not include the subsystem that matched. Add it. Miscellanea: o Add a get_subsystem_name routine to centralize this Cherry picked from Linux commit 2a7cb1dc82fc2a52e747b4c496c13f6575fb1790. Signed-off-by: Joe Perches Signed-off-by: Paolo Bonzini Reviewed-by: Thomas Huth --- scripts/get_maintainer.pl | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index bf210c7fa6..63257965ce 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -896,20 +896,29 @@ sub find_ending_index { return $index; } =20 -sub get_maintainer_role { +sub get_subsystem_name { my ($index) =3D @_; =20 - my $i; my $start =3D find_starting_index($index); - my $end =3D find_ending_index($index); =20 - my $role =3D "unknown"; my $subsystem =3D $typevalue[$start]; if (length($subsystem) > 20) { $subsystem =3D substr($subsystem, 0, 17); $subsystem =3D~ s/\s*$//; $subsystem =3D $subsystem . "..."; } + return $subsystem; +} + +sub get_maintainer_role { + my ($index) =3D @_; + + my $i; + my $start =3D find_starting_index($index); + my $end =3D find_ending_index($index); + + my $role =3D "unknown"; + my $subsystem =3D get_subsystem_name($index); =20 for ($i =3D $start + 1; $i < $end; $i++) { my $tv =3D $typevalue[$i]; @@ -943,16 +952,7 @@ sub get_maintainer_role { sub get_list_role { my ($index) =3D @_; =20 - my $i; - my $start =3D find_starting_index($index); - my $end =3D find_ending_index($index); - - my $subsystem =3D $typevalue[$start]; - if (length($subsystem) > 20) { - $subsystem =3D substr($subsystem, 0, 17); - $subsystem =3D~ s/\s*$//; - $subsystem =3D $subsystem . "..."; - } + my $subsystem =3D get_subsystem_name($index); =20 if ($subsystem eq "THE REST") { $subsystem =3D ""; @@ -1040,7 +1040,8 @@ sub add_categories { } } if ($email_reviewer) { - push_email_addresses($pvalue, 'reviewer'); + my $subsystem =3D get_subsystem_name($i); + push_email_addresses($pvalue, "reviewer:$subsystem"); } } elsif ($ptype eq "T") { push(@scm, $pvalue); --=20 2.12.2