From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 338D5A0A0C; Fri, 9 Jul 2021 08:17:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9E3054014D; Fri, 9 Jul 2021 08:17:23 +0200 (CEST) Received: from mail-il1-f173.google.com (mail-il1-f173.google.com [209.85.166.173]) by mails.dpdk.org (Postfix) with ESMTP id D722B40143 for ; Fri, 9 Jul 2021 08:17:21 +0200 (CEST) Received: by mail-il1-f173.google.com with SMTP id e13so9217428ilc.1 for ; Thu, 08 Jul 2021 23:17:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2J5jDqV7XRLO1RLKwdbkalPqf5dLPVqyQU3q5EJ7jAU=; b=FFxQpDtnxc//tbrSLQsICEHWXQj1C3iP9vpzFYk66tWs4aOuUuPuXeWzQihjB8EomI /srZgJtTUH8JGI4gYlb0i5kWlVwjOKNjoymSKFMK64XKHmG3MX72r0O29ogwi2SVtMpQ QqrGO/bExueSOt1crf3LxxVOybmleNCeYY6pclvIGWIYgKW5T4zBBZSI34MaHoHScBTN Cab91viUFN69UE6j5jZniETBesqAiasIvkK7bMZSj5Ez8SeC4p3fjcpfqRumRopgJaF7 3d1Es2DHWYDKy3IQCF+n9EWVDXBeIJLrIgYL8kI35fMAxlKb+5gIP0m12gMJIP/4uMlS aWlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2J5jDqV7XRLO1RLKwdbkalPqf5dLPVqyQU3q5EJ7jAU=; b=FugvwCsadu4QVWcnjh2OyIJg2etzs3Fl29jC3jR72lEllMKBx/shk00CVTc0MUgqpG gflIJ5s0LNUeaHgGXd8Qof7O/1WK/N7ZP0qkJcfcZKU9hLlWha3AWblC8s1jrX5NckdK /G5I2NIMCUMWZ8EIMpi5GXoDyhVBk4mxGuMmVhBB+gUKYRPllzPorvU7tyW2c+JRXX+w 7gGJxHzXvRlm2Y02lKaq61pmK/01U0H5e2RYTjojlMTNp610VcIiQvmP1rXHs2xZhs0b Zh9Rui06NZYD1mbBoeSVxR7QGBOsBlX4IBgy30LjsW0aSxJAkszAHXdB+z+1JbltXRLl qupQ== X-Gm-Message-State: AOAM532j8N2rEt7VtgHC63IXX24ojUnAFJgJmm1+q0s6H5qQKv3Cd+1r Y7SOj60pR2LJ2G28MNpvfGRE17Dlom0dd6O4kW0= X-Google-Smtp-Source: ABdhPJzbaS99fH7RI6Qxyst3IJSheOqhR19UbwSZhT4GBdx6eSGPF3K4HO5wXmqQRNDRXGF4t+A2E2zQJlIEbUesl0c= X-Received: by 2002:a92:874f:: with SMTP id d15mr8148403ilm.294.1625811441153; Thu, 08 Jul 2021 23:17:21 -0700 (PDT) MIME-Version: 1.0 References: <20210629160031.74681-1-mdr@ashroe.eu> <20210701103842.161275-1-mdr@ashroe.eu> In-Reply-To: <20210701103842.161275-1-mdr@ashroe.eu> From: Jerin Jacob Date: Fri, 9 Jul 2021 11:46:54 +0530 Message-ID: To: Ray Kinsella Cc: dpdk-dev , "Richardson, Bruce" , John McNamara , roretzla@linux.microsoft.com, Ferruh Yigit , Thomas Monjalon , David Marchand , Stephen Hemminger Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v3] doc: policy on the promotion of experimental APIs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Jul 1, 2021 at 4:08 PM Ray Kinsella wrote: > > Clarifying the ABI policy on the promotion of experimental APIS to stable. > We have a fair number of APIs that have been experimental for more than > 2 years. This policy amendment indicates that these APIs should be > promoted or removed, or should at least form a conservation between the > maintainer and original contributor. > > Signed-off-by: Ray Kinsella > --- > v2: addressing comments on abi expiry from Tyler Retzlaff. > v3: addressing typos in the git commit message > > doc/guides/contributing/abi_policy.rst | 22 +++++++++++++++++++--- > 1 file changed, 19 insertions(+), 3 deletions(-) > > diff --git a/doc/guides/contributing/abi_policy.rst b/doc/guides/contributing/abi_policy.rst > index 4ad87dbfed..840c295e5d 100644 > --- a/doc/guides/contributing/abi_policy.rst > +++ b/doc/guides/contributing/abi_policy.rst > @@ -26,9 +26,10 @@ General Guidelines > symbols is managed with :ref:`ABI Versioning `. > #. The removal of symbols is considered an :ref:`ABI breakage `, > once approved these will form part of the next ABI version. > -#. Libraries or APIs marked as :ref:`experimental ` may > - be changed or removed without prior notice, as they are not considered part > - of an ABI version. > +#. Libraries or APIs marked as :ref:`experimental ` may be > + changed or removed without prior notice, as they are not considered part of > + an ABI version. The :ref:`experimental ` status of an API > + is not an indefinite state. > #. Updates to the :ref:`minimum hardware requirements `, which drop > support for hardware which was previously supported, should be treated as an > ABI change. > @@ -358,3 +359,18 @@ Libraries > Libraries marked as ``experimental`` are entirely not considered part of an ABI > version. > All functions in such libraries may be changed or removed without prior notice. > + > +Promotion to stable > +~~~~~~~~~~~~~~~~~~~ > + > +Ordinarily APIs marked as ``experimental`` will be promoted to the stable ABI > +once a maintainer and/or the original contributor is satisfied that the API is > +reasonably mature. In exceptional circumstances, should an API still be Is this line with git commit message? Why making an exceptional case? why not make it stable after two years or remove it. My worry is if we make an exception case, it will be difficult to enumerate the exception case. > +classified as ``experimental`` after two years and is without any prospect of > +becoming part of the stable API. The API will then become a candidate for > +removal, to avoid the acculumation of abandoned symbols. > + > +Should an API's Binary Interface change during the two year period, usually due > +to a direct change in the to API's signature. It is reasonable for the expiry > +clock to reset. The promotion or removal of symbols will typically form part of > +a conversation between the maintainer and the original contributor. > -- > 2.26.2 >