Changes to ABI Policy introducing major ABI versions
PATCH 1/1 Changes to ABI Policy introducing major ABI versions
TL;DR Abbreviation:
A major ABI version that all DPDK releases during a two year period support. ABI versioning is managed at a project-level, in place of library-level management. ABI changes to add new features are permitted, as long as ABI compatibility with the major ABI version is maintained.
Detail:
This patch introduces a two year major ABI version, aligned with the LTS release and supported by all subsequent releases within that two year period, including the subsequent LTS release.
ABI changes that preserve ABI compatibility with the major ABI version are permitted in subsequent releases. ABI changes, follow similar approval rules as before with the additional gate of now requiring technical board approval. The merging and release of ABI breaking changes would now be pushed to the declaration of the next major ABI version.
This change encourages developers to maintain ABI compatibility with the major ABI version, by promoting a permissive culture around those changes that preserve ABI compatibility. This approach aligns DPDK with those projects that declare major ABI versions (e.g. version 2.x, 3.x) and support those versions for some period, typically two years or more.
To provide an example of how this might work in practice:
* DPDK v20 is declared as the supported ABI version for two years, aligned with the DPDK v19.11 (LTS) release. All library sonames are updated to reflect the new ABI version, e.g. librte_eal.so.20, librte_acl.so.20...
* DPDK v20.02 .. v21.08 releases are ABI compatible with the DPDK v20 ABI. ABI changes are permitted from DPDK v20.02 onwards, with the condition that ABI compatibility with DPDK v20 is preserved.
* DPDK v21 is declared as the new supported ABI version for two years, aligned with the DPDK v21.11 (LTS) release. The DPDK v20 ABI is now depreciated, library sonames are updated to v21 and ABI compatibility breaking changes may be introduced.
Ray Kinsella (1):
doc: Changes to ABI Policy introducing major ABI versions
doc/guides/contributing/stable.rst | 10 +- doc/guides/contributing/versioning.rst | 462 ++++++++++++++++++++++----------- 2 files changed, 314 insertions(+), 158 deletions(-)
Signature · 1 line
2.7.4
PATCH 1/1 doc: Changes to ABI Policy introducing major ABI versions
This policy change introduces major ABI versions, these are declared every two years, typically aligned with the LTS release and are supported by subsequent releases for the next two years. This change is intended to improve ABI stabilty for those projects consuming DPDK.
--- doc/guides/contributing/stable.rst | 10 +- doc/guides/contributing/versioning.rst | 462 ++++++++++++++++++++++----------- 2 files changed, 314 insertions(+), 158 deletions(-)
doc/guides/contributing/stable.rst +3 -7
@@ -53,6 +53,9 @@ year's November (X.11) release will be maintained as an LTS for 2 years. After the X.11 release, an LTS branch will be created for it at http://git.dpdk.org/dpdk-stable where bugfixes will be backported to. +A LTS release may align with the declaration of a new major ABI version, +please read the `DPDK ABI/API policy`_ for more information. + It is anticipated that there will be at least 4 releases per year of the LTS or approximately 1 every 3 months. However, the cadence can be shorter or longer depending on the number and criticality of the backported
@@ -119,10 +122,3 @@ A Stable Release will be released by: list. Stable releases are available on the `dpdk.org download page <http://core.dpdk.org/download/>`_. - - -ABI ---- - -The Stable Release should not be seen as a way of breaking or circumventing -the DPDK ABI policy.
doc/guides/contributing/versioning.rst +311 -151
646 lines not on this page · raw message
Signature · 1 line
2.7.4
Re: [dpdk-dev] [PATCH] doc: Changes to ABI Policy introducing major ABI versions
Quoted 21 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Ray Kinsella
Sent: Thursday, July 4, 2019 1:27 PM
To: [email protected]
Cc: [email protected]
Subject: [dpdk-dev] [PATCH] doc: Changes to ABI Policy introducing major ABI versionsThis policy change introduces major ABI versions, these are declared every two years, typically aligned with the LTS release and are supported by subsequent releases for the next two years.
This change is intended to improve ABI stabilty for those projects consuming DPDK....
Review
Quoted 2 lines
(quoted diff) +2
-0+A LTS release may align with the declaration of a new major ABI +version, please read the `DPDK ABI/API policy`_ for more information.
This should be <DPDK ABI/API policy>_ to avoid a build warning/error since the target contains spaces.
Also, the subject line should be lowercase by convention, apart from acronyms.
$ ./devtools/check-git-log.sh
Wrong headline uppercase:
doc: >C<hanges to ABI Policy introducing major ABI versionsSomething like:
doc: changes to ABI policy introducing major ABI versions
John
Re: [dpdk-dev] [PATCH] doc: Changes to ABI Policy introducing major ABI versions
Thanks John,
I will fix it.
Ray K
Quoted 40 lines · John
Quoted 21 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Ray Kinsella
Sent: Thursday, July 4, 2019 1:27 PM
To: [email protected]
Cc: [email protected]
Subject: [dpdk-dev] [PATCH] doc: Changes to ABI Policy introducing major ABI versionsThis policy change introduces major ABI versions, these are declared every two years, typically aligned with the LTS release and are supported by subsequent releases for the next two years.
This change is intended to improve ABI stabilty for those projects consuming DPDK....
Review
Quoted 2 lines
(quoted diff) +2
-0+A LTS release may align with the declaration of a new major ABI +version, please read the `DPDK ABI/API policy`_ for more information.This should be
<DPDK ABI/API policy>_ to avoid a build warning/error since the target contains spaces.Also, the subject line should be lowercase by convention, apart from acronyms.
$ ./devtools/check-git-log.sh Wrong headline uppercase: doc: >C<hanges to ABI Policy introducing major ABI versionsSomething like:
doc: changes to ABI policy introducing major ABI versions
John