[entropy.server] missing_runtime_dependencies_test: add "bump packages" feature

Packages should be bumped if metadata changes, this applies to
calls coming for old packages already available in online repositories
This commit is contained in:
Fabio Erculiani
2011-01-01 18:01:48 +01:00
parent bf947d355b
commit fc11710aa7
2 changed files with 24 additions and 2 deletions

View File

@@ -172,7 +172,8 @@ def _package_dep_check(entropy_server, args):
print_error(darkred(" !!! ")+red(_("No packages selected.")))
return 2
entropy_server.missing_runtime_dependencies_test(pkg_matches)
entropy_server.missing_runtime_dependencies_test(pkg_matches,
bump_packages = True)
return 0
def _package_dep(entropy_server, args):