[PATCH] passdb: Increase ABI version to 0.28.0

Christof Schmitt cs at samba.org
Wed Mar 6 22:01:19 UTC 2019


On Tue, Mar 05, 2019 at 12:14:16PM +0100, Lukas Slebodnik via samba-technical wrote:
> On (04/03/19 14:38), Christof Schmitt via samba-technical wrote:
> >From 600c19fd31b9a596e4de1e56dd10f25cd1bf8780 Mon Sep 17 00:00:00 2001
> >From: Christof Schmitt <cs at samba.org>
> >Date: Mon, 4 Mar 2019 14:13:22 -0700
> >Subject: [PATCH] passdb: Increase ABI version to 0.28.0
> >
> >The change from c906153cc lib: Remove some unused code
> >removed functions, but only updated the minor version
> >of the ABI. Update the passdb version to 0.28.0
> >to reflect this change and also remove the 0.27.2
> >file.
> >
> >BUG: https://bugzilla.samba.org/show_bug.cgi?id=13813
> >
> >Signed-off-by: Christof Schmitt <cs at samba.org>
> >---
> > .../ABI/{samba-passdb-0.27.2.sigs => samba-passdb-0.28.0.sigs}  | 0
> > source3/wscript_build                                           | 2 +-
> > 2 files changed, 1 insertion(+), 1 deletion(-)
> > rename source3/passdb/ABI/{samba-passdb-0.27.2.sigs => samba-passdb-0.28.0.sigs} (100%)
> >
> >diff --git a/source3/passdb/ABI/samba-passdb-0.27.2.sigs b/source3/passdb/ABI/samba-passdb-0.28.0.sigs
> >similarity index 100%
> >rename from source3/passdb/ABI/samba-passdb-0.27.2.sigs
> >rename to source3/passdb/ABI/samba-passdb-0.28.0.sigs
> >diff --git a/source3/wscript_build b/source3/wscript_build
> >index 41f01e392e2..ed4de978fdc 100644
> >--- a/source3/wscript_build
> >+++ b/source3/wscript_build
> >@@ -149,7 +149,7 @@ bld.SAMBA3_LIBRARY('samba-passdb',
> >                                   ''',
> >                    abi_match=private_pdb_match,
> >                    abi_directory='passdb/ABI',
> >-                   vnum='0.27.2')
> >+                   vnum='0.28.0')
> > 
> > bld.SAMBA3_SUBSYSTEM('pdb',
> >                    source='''
> 
> Removing functions is always backward incompatible change.
> It is a public library and you cannot know who were using them.
> 
> You should bump SONAME (the 1st number). Bumping 2nd number is for backward
> compatible changes (e.g. adding function)

Past changes of this library versions have been done by incrementing the
second number as "major" and the third as "minor". My guess is that the
leading 0 tries to state that this is not necessarily a stable API.

You are correct that this does not conform to the normal handling of
library versions. The question is whether we stick to the old scheme for
now and discuss library versioning separately; or whether passdb should
become 1.0.0 now. I would like to hear other opinions on this topic.

Christof



More information about the samba-technical mailing list