On mercredi, 31 mai 2017 20.07:26 h CEST Dominique Leuenberger / DimStar wrote:
On Wed, 2017-05-31 at 17:01 +0200, Antonio Larrosa wrote:
Just wondering... let's do a small poll. How would you call ... 1) The macro that has one argument (package name) and returns its version number?
a) pkg_version b) pkg_version_number c) package_version d) pkg_ver other?
a) pkg_version
2) The macro that has 3 arguments (package_name, operator, version number) and tests whether the condition is true or not?
f) pkg_vcmp (pkg_version_compare might even be the spelled out long variant if needed)
vcmp is also used by zypper for example for a very similar action; having the same acronym sounds reasonable to me.
cheers, Dominique
For the same reason a) and f) -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch Bareos Partner, openSUSE Member, fsfe fellowship GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org