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

Re: Version comparison with "+repack"



Santiago Vila <sanvila@unex.es> writes:
> On Fri, Oct 07, 2016 at 11:00:17AM +0200, Ole Streicher wrote:
>> dpkg --compare-versions 7.5~rc+repack  lt 7.5~rc2+repack && echo lt || echo ge
>> ge
>> 
>> What is the best way to fix this?
>
> The best way I don't know, but I would put the RC number at the end,
> i.e. 7.5~rc+repack2 for RC2, 7.5~rc+repack3 for RC3 and so on.

IMO this is not a good idea since it suggests that we now have the
second repack of the RC.

> The problem is that it's too late to call "7.5~rc+repack" as "7.5~rc1+repack".

In any case, I would like to stay as close to the original versioning as
possible, so that the users can easily see where it originates from.

Cheers

Ole


Reply to: