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

Re: Package Numbering



On Sat, 19 Apr 1997, Christian Hudon wrote:

> On Apr 18, Tom Lees wrote
> > On Wed, 16 Apr 1997, [iso-8859-1] "Ole[iso-8859-1] Jrgen[iso-8859-1] Tetlie" wrote:
> > 
> > > Hello,
> > > 
> > > SmallEiffel (which I am packaging) uses negative version numbering.
> > > I assume dpkg can't handle that (it thinks -0.86 is later than -0.85,
> > > which it obviously isn't). The numbering is in the interval
> > > between -1 and 0. How should I map the version numbers to package
> > > numbers. My proposal is: n |-> n+1 , that is add one to the number.
> > > This maps version -1 (not released) to 0, and version -0 (the final)
> > > to 1, and preserving order inbetween. Is that OK?
> > 
> > dpkg will handle this correctly. (It compares the "-" as a string, not
> > part of a number).
> 
> Errm... No it won't. Unless dpkg suddenly believes that 0.86 <
> 0.85.

Ah. I thought that the version numbering was going away from 0, i.e. 0,
-0.1, etc. Oh well, misunderstanding.

-- 
Tom Lees <tom@lpsg.demon.co.uk>			http://www.lpsg.demon.co.uk/
PGP ID 87D4D065, fingerprint 2A 66 86 9D 02 4D A6 1E  B8 A2 17 9D 4F 9B 89 D6
finger tom@master.debian.org for full public key (also available on keyservers)


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: