[aur] initial retrievement of update requirements implementation

This commit is contained in:
Vinícius Moreira
2020-02-07 19:09:11 -03:00
parent bb0b986d87
commit 58a5be9f67
5 changed files with 79 additions and 4 deletions

View File

@@ -90,6 +90,15 @@ class SoftwareManager(ABC):
"""
return pkgs
def get_update_requirements(self, pkgs: List[SoftwarePackage], watcher: ProcessWatcher) -> List[SoftwarePackage]:
"""
return additional required software that needs to be installed before updating a list of packages
:param pkgs:
:param watcher
:return:
"""
return []
@abstractmethod
def update(self, pkg: SoftwarePackage, root_password: str, watcher: ProcessWatcher) -> bool:
"""