On Monday 2014-10-13 12:00, Johannes Meixner wrote:
Using a letter prefix like 'v.yyyymmdd' would work because zypper vcmp 'v.20141013' '0.0.1' results "v.20141013 is older than 0.0.1" (because 'v.*' is older than '0.*')
This way if upstream might release a '0.0.1' version in the future an installed package of version 'v.20141013' could be upgraded.
On the other hand I wonder if an openSUSE-specific artificial prefix to be prepared for potential upstream versioning changes in the future is overengineered and simply being in full compliance with upstream and just using the upstream version "yyyymmdd" is better?
Well, I've seen things like 0.0.0.20141013 (it would appear unlikely that some upstream makes a 0.0.0.1 just to set packagers up the bomb). Or you can just bite the bullet and ask the end-user to do a downgrade at some point, something which happens at `zypper dup` time anyway. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org