From patchwork Tue Nov 14 18:58:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Morey-Chaisemartin X-Patchwork-Id: 10058135 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 535C1602A7 for ; Tue, 14 Nov 2017 18:58:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 47B3529989 for ; Tue, 14 Nov 2017 18:58:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3CAB92997F; Tue, 14 Nov 2017 18:58:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 14FF32997F for ; Tue, 14 Nov 2017 18:58:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755227AbdKNS6P (ORCPT ); Tue, 14 Nov 2017 13:58:15 -0500 Received: from mx2.suse.de ([195.135.220.15]:39451 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755205AbdKNS6O (ORCPT ); Tue, 14 Nov 2017 13:58:14 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id DE634AC19 for ; Tue, 14 Nov 2017 18:58:13 +0000 (UTC) From: Nicolas Morey-Chaisemartin Subject: [PATCH rdma-core 5/5] Documentation: update stable doc about ABI reference generation To: linux-rdma@vger.kernel.org References: <8306e0d4-3f4f-1d06-74e1-c971fc63f7b8@suse.de> Openpgp: preference=signencrypt Message-ID: <4bbfedda-eab7-0320-2a37-e3ecbf1093dc@suse.de> Date: Tue, 14 Nov 2017 19:58:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Thunderbird/57.0 MIME-Version: 1.0 In-Reply-To: <8306e0d4-3f4f-1d06-74e1-c971fc63f7b8@suse.de> Content-Language: fr-xx-classique+reforme1990 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Nicolas Morey-Chaisemartin --- Documentation/stable.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/stable.md b/Documentation/stable.md index d7ea9822..b7d26c98 100644 --- a/Documentation/stable.md +++ b/Documentation/stable.md @@ -63,3 +63,20 @@ Note that for Option 3, if the patch deviates from the original upstream patch ( ## Versioning See versioning.md for setting package version on a stable branch. + + +## Creating a stable branch + +Stable branch should be created from a release tag of the master branch. +The first thing to do on a master branch is to commit the mainstream release ABI infos +so that latters patches/fixes can be checked against this reference. + +To do that, the creator of the branch should run +``` +./buildlib/gen-abi +mv build-abi/ABI buildlib/ABI +git add buildlib/ABI +git commit +``` + +Note that the ABI must NOT be commited at any point in the master branch.