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

Re: Summary: dpkg and alpha/beta versioning



Christian Hudon writes:
 > Introduce new tokens, called "alpha", "beta" and "pre", with sort ordering
 > 
 > alpha < beta < pre < '' < number.

Already added to Summary[2].  I guess I only posted it to deb-policy,
not deb-dpkg, though...  Maybe I should have ?

 > We then have (taking as example the 2.0 pre Linux kernel series):
 > 
 > 1.3.89 < .. < 1.3.99 < 2.0pre1 < 2.0pre2 < .. < 2.0pre17 < 2.0.0 

Well, this case is special because that's not "2.0.0pre" but "2.0pre":

$ dpkg --compare-versions 2.0pre1 '<<' 2.0.0 && echo yes || echo no
yes

This case is already covered in latest summary, too.

-- 
Yann Dirson    <ydirson@mygale.org> | Stop making M$-Bill richer & richer,
isp-email:   <ydirson@a2points.com> |     support Debian GNU/Linux:
debian-email:   <dirson@debian.org> |         more powerful, more stable !
http://www.mygale.org/~ydirson/     | Check <http://www.debian.org/>


--  
To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: