Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.1 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0479C38A30 for ; Mon, 20 Apr 2020 10:27:41 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AF39020A8B for ; Mon, 20 Apr 2020 10:27:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=xen.org header.i=@xen.org header.b="IbvbNLZ2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AF39020A8B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xen.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jQTe3-00009R-00; Mon, 20 Apr 2020 10:27:19 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jQTe0-00009G-Vp for xen-devel@lists.xenproject.org; Mon, 20 Apr 2020 10:27:17 +0000 X-Inumbo-ID: 80f11d1a-82f1-11ea-9047-12813bfff9fa Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 80f11d1a-82f1-11ea-9047-12813bfff9fa; Mon, 20 Apr 2020 10:27:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org; s=20200302mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID :Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe :List-Post:List-Owner:List-Archive; bh=HaDXFlQmidgbWj3zhL4GhucQd3bBxb6VifXw9Bq2UvE=; b=IbvbNLZ29weOQQ1I3Cqf1jPOOm 0phH//EToN0VmbCNHwymylpfK3AJl2wI4pzF/WLp9co9km/4nkmPwhfGwcpp+9vFQVkxwdD+QaMuj 5gJfFM2XM4c9e8Sxm73ockdryzIFOIOn1Zlyd7fJIfacPB2RNCDUIxwGceBvjtcNVuWI=; Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jQTdx-0001ZX-TV; Mon, 20 Apr 2020 10:27:13 +0000 Received: from 44.142.6.51.dyn.plus.net ([51.6.142.44] helo=debian) by xenbits.xenproject.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1jQTdx-0003Kk-JB; Mon, 20 Apr 2020 10:27:13 +0000 Date: Mon, 20 Apr 2020 11:27:10 +0100 From: Wei Liu To: Julien Grall Subject: Re: [PATCH v3] Introduce a description of the Backport and Fixes tags Message-ID: <20200420102710.cg3bmjlntgpxqj77@debian> References: <20200417222430.20480-1-sstabellini@kernel.org> <35b34e2f-e6cd-6afc-19fd-c7880ec0eace@xen.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <35b34e2f-e6cd-6afc-19fd-c7880ec0eace@xen.org> User-Agent: NeoMutt/20180716 X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: lars.kurth@citrix.com, Stefano Stabellini , Wei Liu , konrad.wilk@oracle.com, andrew.cooper3@citrix.com, Ian Jackson , george.dunlap@citrix.com, jbeulich@suse.com, xen-devel@lists.xenproject.org, Stefano Stabellini Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" On Mon, Apr 20, 2020 at 10:31:28AM +0100, Julien Grall wrote: > Hi Stefano, > > On 17/04/2020 23:24, Stefano Stabellini wrote: > > Create a new document under docs/process to describe our special tags. > > Add a description of the Fixes tag and the new Backport tag. Also > > clarify that lines with tags should not be split. > > > > Signed-off-by: Stefano Stabellini > > CC: Ian Jackson > > CC: Wei Liu > > CC: jbeulich@suse.com > > CC: george.dunlap@citrix.com > > CC: julien@xen.org > > CC: lars.kurth@citrix.com > > CC: andrew.cooper3@citrix.com > > CC: konrad.wilk@oracle.com > > --- > > Removing Acks as I added the description of "Fixes" > > --- > > docs/process/tags.pandoc | 55 ++++++++++++++++++++++++++++++++++++++++ > > 1 file changed, 55 insertions(+) > > create mode 100644 docs/process/tags.pandoc > > > > diff --git a/docs/process/tags.pandoc b/docs/process/tags.pandoc > > new file mode 100644 > > index 0000000000..06b06dda01 > > --- /dev/null > > +++ b/docs/process/tags.pandoc > > @@ -0,0 +1,55 @@ > > +Tags: No line splitting > > +----------------------- > > +Do not split a tag across multiple lines, tags are exempt from the > > +"wrap at 75 columns" rule in order to simplify parsing scripts. For > > +example: > > + > > + Fixes: 67d01cdb5 ("x86: infrastructure to allow converting certain indirect calls to direct ones") > > The SHA-1 ID is 9 characters but... > > > + > > + > > +Fixes Tag > > +--------- > > + > > +If your patch fixes a bug in a specific commit, e.g. you found an issue using > > +``git bisect``, please use the 'Fixes:' tag with the first 12 characters of > > +the SHA-1 ID, and the one line summary. > > ... you request 12 characters here. Can you make sure the two match please? > > However, I am not entirely sure why we should mandate 12 characters. With > the title, you should always be able to find back the commit if there is a > clash. This is copied from Linux's document. I normally use 8-9 characters, but I don't mind using 12 either. Wei.