Looking at this, I think the easiest way would be to generate the final
digit in the dependency clause from a separate file, say,
LAST_ABI_ADDITION_MICRO.

So, if we release 1.0.6, but there were no ABI additions from 1.0.5 to
1.0.6, we would have VERSION containing "1.0.6", and
LAST_ABI_ADDITION_MICRO containing "5". This then would generate

$ cat libunity-scopes-1.0.shlibs
libunity-scopes 1.0 libunity-scopes1.0 (>= 1.0.5)

even though the package version is 1.0.6.

We will have to remember to update the LAST_ABI_ADDITION_MICRO file if
we add anything new to the public API.

Opinions?

Longer term, we may still be able to come up with something that
leverages abigail, but I'd prefer to have a fix for this now rather than
later.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1548718

Title:
  Need to update micro version in shlibs file when symbols are added

Status in unity-scopes-api package in Ubuntu:
  New

Bug description:
  Currently, we are writing only major.minor into the shlibs file. But,
  if we add a new symbol to the public API and only increment the micro
  version, we really need to write the micro version as well.

  Unfortunately, that's a manual process, so we need to remember. With
  the next version of abigail, it might be possible to spit out some
  big-time warning or some such when new symbols are added to the public
  API. At least that would help to remind us.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1548718/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to