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

Re: Version comparison with "+repack"



On Fri, Oct 07, 2016 at 12:26:09PM +0200, Ole Streicher wrote:
> 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.

agreed.  What about
    7.5~rc.2+repack
?

The full stop is ugly at my eyes, but does the work and there are worse
things in the world.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


Reply to: