mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 03:54:15 +02:00
[feature] ignore updates: Arch/AUR packages
This commit is contained in:
@@ -340,3 +340,9 @@ class SoftwareManager(ABC):
|
||||
|
||||
def fill_sizes(self, pkgs: List[SoftwarePackage]):
|
||||
pass
|
||||
|
||||
def ignore_update(self, pkg: SoftwarePackage):
|
||||
pass
|
||||
|
||||
def revert_ignored_update(self, pkg: SoftwarePackage):
|
||||
pass
|
||||
|
||||
@@ -95,6 +95,12 @@ class SoftwarePackage(ABC):
|
||||
def can_be_installed(self):
|
||||
return not self.installed
|
||||
|
||||
def is_update_ignored(self) -> bool:
|
||||
return False
|
||||
|
||||
def supports_ignored_updates(self) -> bool:
|
||||
return False
|
||||
|
||||
@abstractmethod
|
||||
def get_type(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user