version updates for libraries
simo
idra at samba.org
Mon Apr 11 09:29:38 MDT 2011
On Mon, 2011-04-11 at 17:14 +0200, Stefan (metze) Metzmacher wrote:
> Hi Tridge, hi Rusty,
>
> >>> but no need for a new Y version, 1.0.4 is enough as a new
> >>> function doesn't cause any incompatibility with previous library
> >>> versions.
> >>
> >> I think we should make it clear if we add new features and apply this rule
> >> for X.Y.Z versions:
> >>
> >> if X == 0:
> >> /* X == 0, means there's no stable API/ABI yet */
> >> - bug fixes and new features should trigger an update of Z.
> >> - incompatible changes should trigger an update of Y.
> >> else
> >> - important bug fixes should trigger an update of Z.
> >> - new features should trigger an update of Y
> >> - incompatible changes should trigger an update of X.
> >>
> >> It would be nice if we could add checks for this into the ABI checking code.
> >
> > Ok, I can agree with this logic, having at least guideines splleed
> > clearly in a README is probably a nice first step.
>
> Are you also fine with such a logic for talloc, tdb, tevent and ldb?
Yep, as long as it is clearly spelled out in our READMEs or other
visible doc in the trees it works for me.
Simo.
--
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>
More information about the samba-technical
mailing list