On Tue, Nov 12, 2019 at 08:30:40AM +0100, Jiri Slaby wrote:
On 12. 11. 19, 8:16, Andrei Borzenkov wrote:
On Tue, Nov 12, 2019 at 9:00 AM ASSI <Stromeko@nexgo.de> wrote:
==== c-ares ==== Version update (1.15.0 -> 1.15.0~20191108)
Zypper instead considers this a downgrade?
Actually it is. The "~" convention originates in Debian and is used to denote pre-releases. So you can have v1.4 and during development v1.5~rc1, v1.5~rc2 etc which are newer than v1.4 but will be considered older when v1.5 final is released.
Right, that's why we use dot or plus: $ zypper versioncmp 1.15.0 1.15.0~20191108 1.15.0 is newer than 1.15.0~20191108 $ zypper versioncmp 1.15.0 1.15.0.20191108 1.15.0 is older than 1.15.0.20191108 $ zypper versioncmp 1.15.0 1.15.0+20191108 1.15.0 is older than 1.15.0+20191108
Exactly. And I thought that the standard way of versioning software built from unreleased git snapshoits is %PARENT_TAG%+git.%cd. Or eventually just %cd if the project does not have any tags and releases. But it seems that we don't always stick to it and IMO we should. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org