This commit is contained in:
Vinícius Moreira
2020-02-07 19:10:06 -03:00
parent 58a5be9f67
commit 684ff621d0

View File

@@ -109,6 +109,7 @@ class UpdateSelectedApps(AsyncAction):
models = [view.model for view in self.pkgs]
required_pkgs = self.manager.get_update_requirements(models, self)
# TODO stopped here: show required packages
if bool(app_config['updates']['sort_packages']):
self.change_substatus(self.i18n['action.update.status.sorting'])
@@ -116,6 +117,8 @@ class UpdateSelectedApps(AsyncAction):
else:
sorted_pkgs = models
# TODO show sort order
for pkg in sorted_pkgs:
self.change_substatus('')
name = pkg.name if not RE_VERSION_IN_NAME.findall(pkg.name) else pkg.name.split('version')[0].strip()