Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 92D4EC6FA82 for ; Sat, 17 Sep 2022 20:28:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 2B18F402BD; Sat, 17 Sep 2022 20:28:14 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 2B18F402BD X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lFCTLV6LTwdH; Sat, 17 Sep 2022 20:28:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id EC9784020B; Sat, 17 Sep 2022 20:28:10 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org EC9784020B Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 53A801BF39A for ; Sat, 17 Sep 2022 20:28:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 2BF0E843F8 for ; Sat, 17 Sep 2022 20:28:09 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 2BF0E843F8 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Sne5X4m51CFd for ; Sat, 17 Sep 2022 20:28:08 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.122]) by smtp1.osuosl.org (Postfix) with ESMTP id 6067583E04 for ; Sat, 17 Sep 2022 20:28:08 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 6067583E04 Received: by busybox.osuosl.org (Postfix, from userid 4053) id 50ADC8283F; Sat, 17 Sep 2022 20:28:08 +0000 (UTC) From: Peter Korsgaard To: buildroot@buildroot.org Date: Sat, 17 Sep 2022 22:22:22 +0200 X-Git-Refname: refs/heads/2022.02.x X-Git-Oldrev: 2143538665a9a531364ffd61fa736a79868ac60b X-Git-Newrev: 748f0ff5616c08a2616b52923635b7b32d47ae3b X-Patchwork-Hint: ignore Message-Id: <20220917202808.50ADC8283F@busybox.osuosl.org> Subject: [Buildroot] [git commit branch/2022.02.x] docs/manual: patch subjects shall not be numbered X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" commit: https://git.buildroot.net/buildroot/commit/?id=748f0ff5616c08a2616b52923635b7b32d47ae3b branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x The script "utils/check-package" checks that patch email prefix are not be numbered. See: https://git.buildroot.org/buildroot/tree/utils/checkpackagelib/lib_patch.py?h=2022.08-rc1#n42 The error message recommends to generate patches to be included in Buildroot with the command 'git format-patch -N'. The patch policy section in the Buildroot manual does mention that. This commit adds a note about that requirement. Signed-off-by: Julien Olivain Signed-off-by: Yann E. MORIN (cherry picked from commit 5ac1b1866db3e3e386d609c0f3b502789f6f8da5) Signed-off-by: Peter Korsgaard --- docs/manual/patch-policy.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/manual/patch-policy.txt b/docs/manual/patch-policy.txt index e704a0d3f3..063ef984d8 100644 --- a/docs/manual/patch-policy.txt +++ b/docs/manual/patch-policy.txt @@ -44,6 +44,11 @@ These patch files should be named +-.patch+. - The field ++ in the patch file name refers to the 'apply order', and shall start at 1; It is preferred to pad the number with zeros up to 4 digits, like 'git-format-patch' does. E.g.: +0001-foobar-the-buz.patch+ +- The patch email subject prefix shall not be numbered. Patches shall + be generated with the +git format-patch -N+ command, since this + numbering is automatically added for series. For example, the patch + subject line should look like +Subject: [PATCH] foobar the buz+ rather + than +Subject: [PATCH n/m] foobar the buz+. - Previously, it was mandatory for patches to be prefixed with the name of the package, like +--.patch+, but that is no longer the case. Existing packages will be fixed as time passes. 'Do _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot