Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3623706rwd; Sat, 3 Jun 2023 08:35:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4gaFMtJumGhsFVKm5taSbPspVIhE+x4cZpA/JIC7Eeb5PQV9RGjbieorf1TO8AVpvO+iap X-Received: by 2002:a05:6a20:a5a8:b0:10e:f1e3:8217 with SMTP id bc40-20020a056a20a5a800b0010ef1e38217mr527733pzb.17.1685806558223; Sat, 03 Jun 2023 08:35:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685806558; cv=none; d=google.com; s=arc-20160816; b=D8bZxehW4jqXOXxFpAn9SQSx8J7bgNCaRha7kITaoTXA0LgjTHw9DmcSDXnlPN7O9l MVLOlu5UOrsnYjeoO8fmeaqOwFmuqrWH7CP2w62pBqmFMBnjsG7KOdXsPR0y5dtXbvzJ vUDrD1VBkXzle0s3fIgiyy10v9e0W4jHkZmLXS5PTgwheVjv/883ZSwM8pyZQdzeuoJV wvdV/5SS9I2jxUcBXfnjjLdRtmiLhMnfM0zyk8x6iMCW5NBxgweJdMYIPqTUKyV5vq+b nbJEB5ioSsTY8mPpNkPCgPcKjSi2KPMz2GzFLu4ugjbq8WwLvQigqzdATyfdQWRvZRKw 7gUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=XTa4pTN8mA1qs4eZR7hkgbdD55qmi0189Q+ftbOrPYA=; b=KXBxItVhCbD5tpWQpdyRGOiPBE81gejFOL18mHLHIFGFUtT3ugqs9me/e6Whf6nHTv kQtcIpnOoWfg0H0GIAJar8VBTapWeABn9SdG1zmA6KZR0aFS1x2++eFiLhuDWOO73KEQ m//eTGdZjBG1ZavbHKIS6CloNI93QMHplHlOC7WCExszuqJBEtO+8XU365RiOjGNR9OV jnY9BQbNovyoGQUXAZZT2oDv0mfA52wgUdoWzG0Hmv/1OPd4YdVSf+tS1ryYgsiwGl1Z kTfOGcj6v1sPRYi1/j11Z7dBRPwWUydiD90niUqI4pvkLtzPtBBEfkM11GwSxBGEDdu8 e+lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@equiv.tech header.s=mx header.b=IokmkBk8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=equiv.tech Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x3-20020aa79403000000b006515278f780si2649766pfo.132.2023.06.03.08.35.45; Sat, 03 Jun 2023 08:35:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@equiv.tech header.s=mx header.b=IokmkBk8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=equiv.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229595AbjFCPUs (ORCPT + 99 others); Sat, 3 Jun 2023 11:20:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjFCPUq (ORCPT ); Sat, 3 Jun 2023 11:20:46 -0400 X-Greylist: delayed 301 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sat, 03 Jun 2023 08:20:43 PDT Received: from so254-32.mailgun.net (so254-32.mailgun.net [198.61.254.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13CA318D for ; Sat, 3 Jun 2023 08:20:43 -0700 (PDT) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=equiv.tech; q=dns/txt; s=mx; t=1685805643; x=1685812843; h=Content-Transfer-Encoding: MIME-Version: Message-Id: Date: Subject: Subject: Cc: To: To: From: From: Sender: Sender; bh=XTa4pTN8mA1qs4eZR7hkgbdD55qmi0189Q+ftbOrPYA=; b=IokmkBk8Yjwp/KH21IMBHwfQ4aBHf8luw0/wzDaoMeJDS3skL/zu5qXnAbi60s6EF9ticUWJo3N2x5tdb11qHFL8kDSqAFGQW6hPszTU7zf01vAbZ1+Yp6jsf/eDnzgyATmsUhKfgBRjDiPNmBpZZSvCemfYsN4aXXAxfveeAeDNaOYdp17SWoyyedkYeTWo/ikZF0I8TwKw2hzUNTUBaZxxOKUAjHdqX26nuYgvynI06dG9AMMvEBHvAX4CZ4kTeV6CtMeU/BefyqjcUi5J1kOvF9DU4U5WaT3q9G2umhUt/Yp8kibFRL/fTwAGXyyssVK0/VKKlD4R+R+pLjSxvQ== X-Mailgun-Sending-Ip: 198.61.254.32 X-Mailgun-Sid: WyI4ZWI3MiIsImxpbnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC5vcmciLCI5M2Q1YWIiXQ== Received: from mail.equiv.tech (equiv.tech [142.93.28.83]) by 54d8775e8f74 with SMTP id 647b591d2f85f82427c4c48f (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Sat, 03 Jun 2023 15:15:41 GMT Sender: james@equiv.tech From: James Seo To: Jonathan Corbet Cc: James Seo , Kalle Valo , workflows@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC] docs: process: Send patches 'To' maintainers and 'Cc' lists Date: Sat, 3 Jun 2023 08:14:47 -0700 Message-Id: <20230603151447.29288-1-james@equiv.tech> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The existing wording in the 'Select the recipients for your patch' section of submitting-patches.rst states that contributors should 'copy' maintainers and lists, which might be interpreted to mean that patch e-mails should be sent 'Cc' such recipients without any 'To' recipients at all. Indeed, this does happen on occasion (and to be fair, examples of the practice predating the submitting-patches document exist in kernel mailing list archives). It isn't a problem on the protocol level, as SMTP itself deals only with SMTP commands (cf. 'RCPT TO'), but software that works with MIME headers in message text, perhaps in order to generate those commands, doesn't always handle the situation well. At present, when such an e-mail is sent to the vger listservs, the MIME header 'To: unlisted-recipients:; (no To-header on input)' is added to it somewhere along the chain. 'unlisted-recipients:;' is a valid RFC 5322 Group Address, but it (or '(no To-header on input)') sometimes goes on to cause problems itself further down the line. For example, in mutt, it can result in the silent removal of all 'Cc' recipients (e.g. kernel mailing lists) from a group reply, leaving the 'To' recipient that the original e-mail was 'From' as the only actual reply recipient [1]. Other issues [2] are possible in other software [3]. It also bears mentioning that a lack of 'To' headers is a characteristic of some spam, so such an e-mail may trigger some spam filters. To reduce ambiguity and eliminate this class of potential (albeit tangential) issues, prescribe sending patches 'To' maintainers and 'Cc' lists. While we're at it, strengthen the recommendation to use scripts/get_maintainer.pl to find patch recipients, and move Andrew Morton's callout as the maintainer of last resort to the next paragraph for better flow. Link: https://github.com/neomutt/neomutt/issues/2548 [1] Link: https://github.com/python/cpython/issues/83281 [2] Link: https://github.com/kvalo/pwcli/issues/15 [3] Signed-off-by: James Seo --- Documentation/process/submitting-patches.rst | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Documentation/process/submitting-patches.rst b/Documentation/process/submitting-patches.rst index efac910e2659..53460f3cdc1d 100644 --- a/Documentation/process/submitting-patches.rst +++ b/Documentation/process/submitting-patches.rst @@ -231,14 +231,15 @@ patch. Select the recipients for your patch ------------------------------------ -You should always copy the appropriate subsystem maintainer(s) and list(s) on -any patch to code that they maintain; look through the MAINTAINERS file and the -source code revision history to see who those maintainers are. The script -scripts/get_maintainer.pl can be very useful at this step (pass paths to your -patches as arguments to scripts/get_maintainer.pl). If you cannot find a -maintainer for the subsystem you are working on, Andrew Morton -(akpm@linux-foundation.org) serves as a maintainer of last resort. - +You should always notify the appropriate subsystem maintainer(s) and list(s) +about any patch to code that they maintain. Identify them by looking through +the MAINTAINERS file and the source code revision history, and by using the +script scripts/get_maintainer.pl (pass paths to your patches as arguments to +scripts/get_maintainer.pl). Send your patch e-mail "To:" those maintainers and +"Cc:" those lists. + +If you cannot find a maintainer for the subsystem you are working on, Andrew +Morton (akpm@linux-foundation.org) serves as a maintainer of last resort. Also, linux-kernel@vger.kernel.org should be used by default for all patches, but the volume on that list has caused a number of developers to tune it out. Please do not spam unrelated lists and unrelated people, though. -- 2.39.2