[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: directnet -- A serverless, mesh network instant messaging client



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ben Hutchings <ben@decadentplace.org.uk> writes:

> Thijs Kinkhorst wrote:
>> On Tue, January 3, 2006 09:47, Gregor Richards wrote:
>> > I updated the package to 1.0.0.  The version compare algorithm doesn't
>> > like it ... it thinks that 1.0.0 is less than 1.0.0rc5 ... but that's not
>> > how release candidates work :)
>> 
>> That's indeed a caveat on the Debian version compare algorithm. When
>> you're packaging a release candidate, you normally should watch out for
>> adding 'rcN' to the version to avoid being able to update it to the real
>> version later.
>> 
>> What's done commonly is something like this: 0.9.9+1.0.0rc5, or for a
>> higher version: 2.4.3+2.4.4rc1.
>
> I believe this practice has been obsolete since the release of sarge.
> dpkg now considers "~" to sort before anything, even a null string, so
> you can use e.g. "1.0.0~rc5".

The last time I checked, the archive infrastructure couldn't cope with
this, so while you could build and install, you couldn't upload
packages with a '~' in the version.

It may be the situation has now changed; hopefully someone might be
able to clarify that.


Regards,
Roger

- -- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>

iD8DBQFDuxRKVcFcaSW/uEgRAo3lAKDFjd2CP/H1TTb28N7st7Q2uW4T1gCg2bW+
FwpOAsDOroSxamNrPJBdvuM=
=quTe
-----END PGP SIGNATURE-----



Reply to: