mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 09:44:15 +02:00
[TODO]
This commit is contained in:
@@ -109,6 +109,7 @@ class UpdateSelectedApps(AsyncAction):
|
|||||||
|
|
||||||
models = [view.model for view in self.pkgs]
|
models = [view.model for view in self.pkgs]
|
||||||
required_pkgs = self.manager.get_update_requirements(models, self)
|
required_pkgs = self.manager.get_update_requirements(models, self)
|
||||||
|
# TODO stopped here: show required packages
|
||||||
|
|
||||||
if bool(app_config['updates']['sort_packages']):
|
if bool(app_config['updates']['sort_packages']):
|
||||||
self.change_substatus(self.i18n['action.update.status.sorting'])
|
self.change_substatus(self.i18n['action.update.status.sorting'])
|
||||||
@@ -116,6 +117,8 @@ class UpdateSelectedApps(AsyncAction):
|
|||||||
else:
|
else:
|
||||||
sorted_pkgs = models
|
sorted_pkgs = models
|
||||||
|
|
||||||
|
# TODO show sort order
|
||||||
|
|
||||||
for pkg in sorted_pkgs:
|
for pkg in sorted_pkgs:
|
||||||
self.change_substatus('')
|
self.change_substatus('')
|
||||||
name = pkg.name if not RE_VERSION_IN_NAME.findall(pkg.name) else pkg.name.split('version')[0].strip()
|
name = pkg.name if not RE_VERSION_IN_NAME.findall(pkg.name) else pkg.name.split('version')[0].strip()
|
||||||
|
|||||||
Reference in New Issue
Block a user