[apparmor] [PATCH 7/7] libapparmor: Update library version info

Tyler Hicks tyhicks at canonical.com
Mon Jun 24 21:58:12 UTC 2013


On 2013-06-24 14:47:13, John Johansen wrote:
> On 06/24/2013 02:34 PM, Seth Arnold wrote:
> > On Sun, Jun 23, 2013 at 04:23:19PM -0700, Tyler Hicks wrote:
> >> Interfaces were changed, so current is incremented and revision and age
> >> are zeroed.
> >>
> >> Signed-off-by: Tyler Hicks <tyhicks at canonical.com>
> > 
> > Acked-by: Seth Arnold <seth.arnold at canonical.com>
> > 
> Hrmm I would even say don't apply this one yet. Or at least if we do we
> need to keep it for the rest of the dev cycle and bump again at release.

I know that the rule (#1) is to bump right before doing the release, but
I didn't see the harm in bumping now, since AA_LIB_CURRENT is being
bumped, and then not having to remember to do it before the release.

But thinking about using the daily build PPA, or any other test builds
during the dev cycle, it makes sense why we need to hold off on
committing this change.

Tyler

> 
> I realize its hard to follow abi bump rules during dev once you start
> rolling packages, so I am okay with doing a bump at the start of the
> dev release and then one at the actual release.
> 
> The general rules are at the top of the libraries/libapparmor/src/Makefile.am
> 
> 
> # variables to set the library versions used by libtool
> # Use these rules to update the library version.
> # 1. Update the version information only immediately before a public release
> #    of your software. More frequent updates are unnecessary, and only
> #    guarantee that the current interface number gets larger faster.
> # 2. If the library source code has changed at all since the last update,
> #    then
> #    - increment AA_LIB_REVISION
> # 3. If any interfaces have been added, removed, or changed since the last
> #    update,
> #    - increment AA_LIB_CURRENT
> #    - set AA_LIB_REVISION to 0.
> # 4. If any interfaces have been added since the last public release, then
> #    - increment AA_LIB_AGE.
> # 5. If any interfaces have been removed or changed since the last public
> #    release, then
> #    - set AA_LIB_AGE to 0.
> #
> 
> 
> -- 
> AppArmor mailing list
> AppArmor at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20130624/40de8737/attachment.pgp>


More information about the AppArmor mailing list