> I also had to use a weird version number (2.1+3.0beta1) so that later
> upgrades to 3.0 will be automatic.

Incidentally, there's no need for weird version numbers like this.
Version numbers now support ~ to cover exactly this circumstance.
See:

   http://lwn.net/Articles/194664/

A version number which contains ~ is always less than one which doesn't.
So, we can do the "natural" thing and release packages with versions
like this:

   3.0~beta1-1
   3.0~beta1-2
   3.0~beta2-1
   3.0~beta2-2
   3.0~beta2-3
   .
   .
   .
   3.0-1

I had to prove it to myself, but it does work as expected:

   # dpkg --compare-versions 3.0~beta1-1 lt 3.0-1 && echo true || echo false
   true

Also, I have written Ed to see how he feels about packaging 3.0 beta 1.
When I hear back, I'll let you know.

KEN

-- 
Kenneth J. Pronovici <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

Reply via email to