| |
@@ -16,21 +16,21 @@
|
| |
_repodata._populate_module_reverse_lookup()
|
| |
module_names = _repodata.list_modules()
|
| |
if module_names:
|
| |
- for name in module_names:
|
| |
+ for name in sorted(module_names):
|
| |
print(name)
|
| |
|
| |
def list_modules_for_rpm(self, pkg):
|
| |
_repodata._populate_module_reverse_lookup()
|
| |
module_names = _repodata.get_modules_for_rpm(pkg)
|
| |
if module_names:
|
| |
- for name in module_names:
|
| |
+ for name in sorted(module_names):
|
| |
print(name)
|
| |
|
| |
def list_rpms_in_module(self, module, full_nevra=False):
|
| |
_repodata._populate_module_reverse_lookup()
|
| |
rpm_names = _repodata.get_rpms_in_module(module)
|
| |
if rpm_names:
|
| |
- for name in rpm_names:
|
| |
+ for name in sorted(rpm_names):
|
| |
if full_nevra:
|
| |
print(name)
|
| |
else:
|
| |
@@ -48,14 +48,14 @@
|
| |
run_deps = _depchase.ensure_installable(pool, pkgs)
|
| |
rpm_names = run_deps - pkgs_in_modules
|
| |
if rpm_names:
|
| |
- for name in rpm_names:
|
| |
+ for name in sorted(rpm_names):
|
| |
print(name)
|
| |
|
| |
def list_modularized_pkgs(self, duplicate_only=False, list_modules=False):
|
| |
_repodata._populate_module_reverse_lookup()
|
| |
rpm_names = _repodata.get_rpm_reverse_lookup()
|
| |
if rpm_names:
|
| |
- for name in rpm_names.keys():
|
| |
+ for name in sorted(rpm_names.keys()):
|
| |
if not (duplicate_only and not len(rpm_names[name]) > 1):
|
| |
if list_modules:
|
| |
print(name + " (" + ", ".join(rpm_names[name]) + ")")
|
| |
Print sorted cli output for the commands list-modules, list-rpms, module-packages, where-is-package, and resolve-deps