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

Re: binary NMUs and version numbers



* Steve Langasek (vorlon@debian.org) [041126 00:55]:
> On Thu, Nov 25, 2004 at 05:24:58PM +0000, Scott James Remnant wrote:
> > I'd actually go out on a limb and suggest that if we introduce a "less
> > than everything but null" operator such as ^, and policy it for
> > Binary-Only NMUs, that:
> 
> >  2) Everything after the operator, including the operator itself be
> >     stripped during version comparisons.
> 
> >     e.g. 1.2-1^1 == 1.2-1

> Wouldn't this make automatic upgrades to binary NMUs cumbersome?  You'd need
> a separate version comparison routine for deciding whether to upgrade the
> package, than for deciding whether package relationships are satisfied.

Well, if you strip the suffix epoch before going into the comparison,
the same routine could be used for the actual comparison.


Cheers,
Andi
-- 
   http://home.arcor.de/andreas-barth/
   PGP 1024/89FB5CE5  DC F1 85 6D A6 45 9C 0F  3B BE F1 D0 C5 D1 D9 0C



Reply to: