openSUSE / zypper

World's most powerful command line package manager
http://en.opensuse.org/Portal:Zypper
Other
405 stars 110 forks source link

versioncmp: if verbose, also print the edition 'parts' which are compared #440

Closed mlandres closed 2 years ago

mlandres commented 2 years ago
> zypper -v vcmp 0.9.5+git20190908+3abfab2 0.9.5~git20210406.e554475

0.9.5+git20190908+3abfab2 is newer than 0.9.5~git20210406.e554475
LHSversion: : 0 : 9 : 5 : git : 20190908 :        3 : abfab :      2 : 
RHSversion: : 0 : 9 : 5 :   ~ :      git : 20210406 :     e : 554475 : 
mlschroe commented 2 years ago

You also need to support the handling of ^.

mlandres commented 2 years ago

You also need to support the handling of ^.

Right. I'll display them as well.