|
From: Dirk E. <ed...@de...> - 2010-01-13 14:55:53
|
My $0.02: 'triplets' give us more rope for intermediary releases like 1.0.1, 1.0.2, etc. If you as release manager don't plan to do those but rather want to jump to 1.1, 1.2, 1.3 -- fine. I'd say that the empirical evidence across open source projects is in favour of 'triplets', but hey, beauty is in the eye of the beholder. Your call. We all will just whine. On 13 January 2010 at 14:52, Luigi Ballabio wrote: | On Wed, 2010-01-13 at 06:30 -0600, Dirk Eddelbuettel wrote: | > ii) the dynamic library major is still '0' as in /usr/lib/libQuantLib.so.0 | > -- but the long anticipated API freeze should probably make that 1, no? | | I thought we could go for a fresh start---previous versions had names | such as libQuantLib-0.9.9.so, so they counted as different, right? Or | was there a libQuantLib.so.0 symbolic link as well? Here is what my Debian box has: edd@ron:~> ls -ltr /usr/lib/libQuantLib* -rw-r--r-- 1 root root 12042164 2009-10-11 07:02 /usr/lib/libQuantLib-0.9.7.so -rw-r--r-- 1 root root 13386964 2009-12-11 20:19 /usr/lib/libQuantLib-0.9.9.so -rw-r--r-- 1 root root 13636428 2010-01-13 00:41 /usr/lib/libQuantLib.so.0.0.0 -rw-r--r-- 1 root root 50923590 2010-01-13 00:41 /usr/lib/libQuantLib.a lrwxrwxrwx 1 root root 20 2010-01-13 06:21 /usr/lib/libQuantLib.so.0 -> libQuantLib.so.0.0.0 lrwxrwxrwx 1 root root 20 2010-01-13 06:21 /usr/lib/libQuantLib.so -> libQuantLib.so.0.0.0 edd@ron:~> We keep just the .so of older release; code built against those stills runs. Libtool (which I still know too little about) in its magic uses three values anyway so we have the 'active' version libQuantlib.so.0.0.0 with two softlinks use while building code. I think that major number ought to be '1' as in /usr/lib/libQuantLib.so.1 -> libQuantLib.so.1.0.0 to signal the long-awaited API freeze for 1.0. No? With that I'd also make the Debian package name 'libquantlib1-dev' rather the current 'libquantlib0-dev'. But that is all cosmetic at then end of the day. What mattered is that we have distinct packages allowing distinct versions to co-exist: edd@ron:~> dpkg -l | grep libquantlib- ii libquantlib-0.9.7 0.9.7-1+b2 Quantitative Finance Library -- development package ii libquantlib-0.9.9 0.9.9-3 Quantitative Finance Library -- development package ii libquantlib-1.0.0 1.0.0~20100112-1 Quantitative Finance Library -- development package edd@ron:~> And whether that is libquantlib-1.0.0 or libquantlib-1.0 doesn't really matter. Apart from the fact that I created precedent (:-/) but I can always fall back in line for libquantlib-1.1 if you really really howl. | > iii) MarketModels needs a man pages, I will cook something up and commit it | > (with integration to the examples Makefile etc) unless someone beats | > me to it. | | Right. Please go ahead. Will do if I get a few moments. Dirk -- Three out of two people have difficulties with fractions. |