On Tue, Mar 20, 2012 at 2:59 PM, Tobias Frost <[email protected]> wrote: > Good, so a debian-version like 7.1.31~rc will not be necessary > (as other wise 7.1.31-1 would be older than 7.1.31-rc-1)
No. And I did check this when introducing the new versions :-) > > BTW, I will introduce a epoch on the upload of the rc. So the full > version be as drizzle-1:7.1.31-rc Yes. RPM and Ubuntu are also on epoch 1. >> Note that if you build from a random revno in the bzr repo, you will >> get a four digit version: >> >> 7.1.31.2550-snapshot >> >> ...where 2550 is the output of "bzr revno". > > Note that this *might* have problems when dpkg needs to decide which > package is newer. (e.g if you want to provide an inoffical mirror for > e.g nightly builds), you just need to be careful when setting up the > scheme and maybe check it if it makes the result you intend. > > I played a little with dpkg --compare versions: > > dpkg --compare-versions 7.1.31.2550-snapshot-1 gt 7.1.31-rc-1 > $? = 0 --> 7.1.31.2550-snapshot-1 is newer than 7.1.31-rc-1 Yes, and this is correct. (It is newer.) > (Thining about the topic, I think it is probably unlikely that such a > situation happens, as when you increase the version part with the > release, there will be worst-case only e.g. a 7.1.32.2551-snapshot and a > 7.1.32-rc with the same content, and then it makes no difference that > the snapshot is newer than the -rc. With the very next commit, the > snapshot is guaranteed newer.) This is exactly the point. henrik -- [email protected] +358-40-8211286 skype: henrik.ingo irc: hingo www.openlife.cc My LinkedIn profile: http://www.linkedin.com/profile/view?id=9522559 _______________________________________________ Mailing list: https://launchpad.net/~drizzle-discuss Post to : [email protected] Unsubscribe : https://launchpad.net/~drizzle-discuss More help : https://help.launchpad.net/ListHelp

