Quoting Nilesh Patra (2021-10-15 12:34:46)
> On 10/15/21 2:02 PM, Jonas Smedegaard wrote:
> > Quoting Nilesh Patra (2021-10-15 10:13:15)
> >> $ dpkg --compare-versions 8.13.2+ds+~cs26.13.21 lt 8.13.2+ds+~cs30.13.21 
> >> && echo true
> >> true
> >>
> >> So, what should be done then?
> >> @Yadd, team, ideas?
> > 
> > Bump delimiter to +ds2
> 
> Thanks, but...
> 
> $ dpkg --compare-versions 8.13.2+ds2+~cs26.13.21 lt 8.13.2+ds+~cs30.13.21 && 
> echo true
> true
> 
> This one is still less, not sure why. Any other good permutation you could 
> think of?

Ah, right - I ran into that myself once¹: You cannot elegantly bump from 
unnumbered to numbered when followed by "+" - that's yet another 
argument for using ~ instead of + whenever possible.

Less elegant: change delimiter from ds to dx2


 - Jonas


¹ I seems to recall that I filed a bug against uscan for that, but 
possibly I only sloppily discussed it on a list somewhere...

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to