(no subject)
<[email protected]>, Ian Jackson <[email protected]>, Jan Beulich <[email protected]>, Konrad Rzeszutek Wilk <[email protected]>, Stefano Stabellini <[email protected]>, Tim Deegan <[email protected]>, Wei Liu <[email protected]>
Bcc:
Subject: Bump library names just after branching
Reply-To:
Hello,
Currently we bump the shared library names just before the release, so ATM xen-unstable is still using the library names from the 4.6 release. This is an issue if someone wants to install both Xen 4.6 and xen-unstable in the same box (unless you use a different prefix/DESTDIR), because libraries from xen-unstable will replace the stable ones.
IMHO, it would make more sense to bump the library names just *after* we branch and open the tree for development again. We could even have the library name versions be set based on XEN_VERSION and XEN_SUBVERSION, so that we don't need to go around the different library makefiles bumping the versions manually.
Roger.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Re: when to bump library versions (was: <blank>)
Quoted 9 lines
Quoted 1 line
Quoted 1 line · On 19.05.16 at 16:34, <[email protected]> wrote:
Currently we bump the shared library names just before the release, so ATM xen-unstable is still using the library names from the 4.6 release. This is an issue if someone wants to install both Xen 4.6 and xen-unstable in the same box (unless you use a different prefix/DESTDIR), because libraries from xen-unstable will replace the stable ones.
IMHO, it would make more sense to bump the library names just *after* we branch and open the tree for development again.
As you may have seen in Wei's recent commit, not all libraries have their versions bumped for a given release.
Quoted 4 lines
We could even have the
library name versions be set based onXEN_VERSIONandXEN_SUBVERSION, so that we don't need to go around the different library makefiles bumping the versions manually.
But so far these two are intentionally private to the xen/ subtree.
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Re: when to bump library versions (was: <blank>)
Quoted 7 lines · Jan Beulich
Quoted 7 lines
Quoted 1 line
Quoted 1 line · On 19.05.16 at 16:34, <[email protected]> wrote:
Currently we bump the shared library names just before the release, so ATM xen-unstable is still using the library names from the 4.6 release. This is an issue if someone wants to install both Xen 4.6 and xen-unstable in the same box (unless you use a different prefix/DESTDIR), because libraries from xen-unstable will replace the stable ones.
Quoted 5 lines
Quoted 2 lines
IMHO, it would make more sense to bump the library names just *after* we branch and open the tree for development again.
As you may have seen in Wei's recent commit, not all libraries have their versions bumped for a given release.
IMHO, I would make them all bump, regardless of whether there have been changes or not.
Quoted 6 lines
Quoted 4 lines
We could even have the
library name versions be set based onXEN_VERSIONandXEN_SUBVERSION, so that we don't need to go around the different library makefiles bumping the versions manually.But so far these two are intentionally private to the xen/ subtree.
Maybe I'm missing something, but couldn't they be global to the whole tree? (Config.mk seems like a suitable place).
Roger.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Re: when to bump library versions (was: <blank>)
Quoted 8 lines
Quoted 1 line
Quoted 1 line · On 19.05.16 at 16:53, <[email protected]> wrote:
Quoted 6 lines · Jan Beulich
Quoted 5 lines
Quoted 1 line
Quoted 1 line · On 19.05.16 at 16:34, <[email protected]> wrote:
We could even have the
library name versions be set based onXEN_VERSIONandXEN_SUBVERSION, so that we don't need to go around the different library makefiles bumping the versions manually.
Quoted 4 lines
Quoted 1 line
But so far these two are intentionally private to the xen/ subtree.
Maybe I'm missing something, but couldn't they be global to the whole tree? (Config.mk seems like a suitable place).
I think originally the idea was that the tool stack isn't really tied to a specific hypervisor version. What it is tied to is an interface version (of namely domctl and sysctl).
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Re: when to bump library versions (was: <blank>)
Quoted 8 lines · Jan Beulich
Quoted 8 lines
Quoted 1 line
Quoted 1 line · On 19.05.16 at 16:53, <[email protected]> wrote:
Quoted 6 lines · Jan Beulich
Quoted 5 lines
Quoted 1 line
Quoted 1 line · On 19.05.16 at 16:34, <[email protected]> wrote:
We could even have the
library name versions be set based onXEN_VERSIONandXEN_SUBVERSION, so that we don't need to go around the different library makefiles bumping the versions manually.
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
But so far these two are intentionally private to the xen/ subtree.
Maybe I'm missing something, but couldn't they be global to the whole tree? (Config.mk seems like a suitable place).
I think originally the idea was that the tool stack isn't really tied to a specific hypervisor version. What it is tied to is an interface version (of namely domctl and sysctl).
Sure -- but is this actually useful, and even if it is, is it worth the cost?
Advantages of bumping version number only when the interface actually changes:
* Someone who links against an unstable library can in theory re-use the same binary after upgrading without re-compiling, *if* the interface didn't change
Advantages of bumping the version number as soon as the tree opens:
* We don't have to think about whether we need to bump the interface version or not; it happens as part of the branching checklist
* You can install the most recent release and xen on the same box without the libraries (which may actually be incompatible, since the interface may have changed without the version number being bumped) being overwritten.
Looking just at those, I think it's pretty clear which is more useful. Are there other angles we should consider?
-George
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Re: when to bump library versions (was: <blank>)
Quoted 35 lines · George Dunlap
Quoted 8 lines · Jan Beulich
Quoted 8 lines
Quoted 1 line
Quoted 1 line · On 19.05.16 at 16:53, <[email protected]> wrote:
Quoted 6 lines · Jan Beulich
Quoted 5 lines
Quoted 1 line
Quoted 1 line · On 19.05.16 at 16:34, <[email protected]> wrote:
We could even have the
library name versions be set based onXEN_VERSIONandXEN_SUBVERSION, so that we don't need to go around the different library makefiles bumping the versions manually.Quoted 8 lines
Quoted 4 lines
Quoted 1 line
But so far these two are intentionally private to the xen/ subtree.
Maybe I'm missing something, but couldn't they be global to the whole tree? (Config.mk seems like a suitable place).
I think originally the idea was that the tool stack isn't really tied to a specific hypervisor version. What it is tied to is an interface version (of namely domctl and sysctl).
Sure -- but is this actually useful, and even if it is, is it worth the cost?
Advantages of bumping version number only when the interface actually changes:
* Someone who links against an unstable library can in theory re-use the same binary after upgrading without re-compiling, *if* the interface didn't change
Advantages of bumping the version number as soon as the tree opens:
* We don't have to think about whether we need to bump the interface version or not; it happens as part of the branching checklist
* You can install the most recent release and xen on the same box without the libraries (which may actually be incompatible, since the interface may have changed without the version number being bumped) being overwritten.
Quoted 3 lines
Looking just at those, I think it's pretty clear which is more useful. Are there other angles we should consider?
I think it would make sense to just bump the version numbers of the libraries that we don't have clear commitment on API and ABI stability. That is everything other than the ones in libs. The one in libs can be bump when necessary.
Wei.
Quoted 1 line
-George
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel