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? a) pkg_version_test b) pkg_version_check c) pkg_version d) is_pkg_version e) test_pkg_version other?
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