dann frazier wrote: > On Thu, Nov 08, 2007 at 07:29:35PM +0100, Andrea Righi wrote: >> Bernard Li wrote: >>> Hi Andrea: >>> >>> On 11/8/07, Andrea Righi <[EMAIL PROTECTED]> wrote: >>> >>>> Yes and no. Nothing changed in the second digit: odd numbers always mean >>>> "unstable/development", even numers "stable". The third digit meaning has >>>> changed: an odd number (N) indicates a pre-release or a release candidate >>>> for >>>> the next even (N + 1) release. This is necesarry to correctly handle the >>>> RPM >>>> update issue, that always requires strictly greater version numbers. >>>> Anyway, if >>>> you have better ideas or improvements for the current versioning schema >>>> let me know. >>> Currently, the 'Release' tag in our RPM spec file always start with 1. >>> >>> What we could do is with pre-releases, instead of 1, use 0 and also >>> append the SVN revision to this tag rather than to the version, so >>> instead of: >>> >>> 1.2.3.svn1234-1 >>> >>> it becomes >>> >>> 1.2.3-0.svn1234 >>> >>> so when 1.2.3-1 is released, we can upgrade. >>> >> That's very interesting solution for RPMs, but I think it wouldn't work for >> Debian packages. >> >> From >> http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version: >> >>> The format is: [epoch:]upstream_version[-debian_revision] >>> ... >>> The upstream_version may contain only alphanumerics[33] and the characters >>> . + >>> - : (full stop, plus, hyphen, colon) and should start with a digit. >> And this is ok, but: >> >>> If there is no debian_revision then hyphens are not allowed. >> So, adding hypens in the upstream version forces to always use the >> "debian_revision". And it's not always possible, for example AFAIK we >> shouldn't >> use debian_revision for the "vanilla" upstream releases, that are the debs we >> release on SF.net. >> >> -Andrea > > The '~' operator in debs is pretty useful for doing pre-releases, > since it sorts < 0. > > 4.0.0~svn1234 is < 4.0.0. > 4.0.1~rc1-1 < 4.0.0-1 > etc. >
And RPM doesn't support it... deb is good, RPM is evil. :-) -Andrea ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ sisuite-devel mailing list sisuite-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-devel