The question below (which I think is a discussion that belongs on this
mailing list), about how libphonenumber version numbers get assigned
and the relationship between code changes and metadata changes, came
up in this discussion about Debian packaging of libphonenumber:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741258
--
Fredrik Roubert
rou...@google.com
---------- Forwarded message ----------
From: Daniel Pocock <
dan...@pocock.com.au>
Date: Mon, Jun 2, 2014 at 2:33 PM
Subject: Re: libphonenumber packaging, libre2, ...
[...]
One thing stands out for me - the package numbering, e.g.
libphonenumber5, libphonenumber6, ...
The SONAME in the file appears correct:
$ objdump -p ./cpp/build/libphonenumber.so | grep SONAME
SONAME libphonenumber.so.6
If you change the ABI number regularly, then it will be hard to push
updates to stable distributions (e.g. Debian stable, Ubuntu LTS, EPEL).
Ideally, if updates are just data changes (to recognize new area codes
and numbering plan changes) then they would be in some separate package
that can be distributed through $(stable)-updates - just like anti-virus
patterns, timezones, etc:
https://lists.debian.org/debian-volatile-announce/2012/msg00000.html
The binary ABI and the developer API would stay the same for a given
Linux version. I don't want to deter you from adding new features or
make it more tedious to support, but would it be possible to distribute
the pattern data separately in such a manner?
The other problem with the package name is that each time there is a new
package name anywhere in the control file (e.g. a libphonenumber7
package) then the next upload to Debian will need to go in the FTP NEW
queue for manual approval, that adds a delay of 1-4 weeks. If the
package names haven't changed, then uploads to Debian (and propagation
to Ubuntu) happen automatically within a few hours. Usually if this
happens no more than once per year it is OK.
If the version number is really significant, maybe the Java packages
should also be named libphonenumber${VERSION}-java? Does anybody care
either way?
[...]