mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 02:24:16 +02:00
AUR: Waiting for the the disk cache data loader only if needed
This commit is contained in:
@@ -6,9 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
|
||||
## [0.6.2] 2019-09-
|
||||
### Improvements
|
||||
- Installed files of AUR packages available in the Info window
|
||||
- Update notifications showing the number of updates by type as well
|
||||
- Improving Arch distro checking
|
||||
- AUR:
|
||||
- Installed files available in the Info window
|
||||
- Waiting for the the disk cache data loader only if needed
|
||||
- Improving Arch distro checking
|
||||
|
||||
### Fixes
|
||||
- Update-check daemon not showing notifications
|
||||
|
||||
@@ -67,7 +67,8 @@ class ArchManager(SoftwareManager):
|
||||
Thread(target=self.mapper.fill_package_build, args=(app,)).start()
|
||||
|
||||
def search(self, words: str, disk_loader: DiskCacheLoader, limit: int = -1) -> SearchResult:
|
||||
self.comp_optimizer.join()
|
||||
if self.comp_optimizer.isAlive():
|
||||
self.comp_optimizer.join()
|
||||
|
||||
downgrade_enabled = git.is_enabled()
|
||||
res = SearchResult([], [], 0)
|
||||
@@ -155,7 +156,9 @@ class ArchManager(SoftwareManager):
|
||||
|
||||
apps = []
|
||||
if installed and installed['not_signed']:
|
||||
self.dcache_updater.join()
|
||||
if self.dcache_updater.isAlive():
|
||||
self.dcache_updater.join()
|
||||
|
||||
self._fill_aur_pkgs(installed['not_signed'], apps, disk_loader, internet_available)
|
||||
|
||||
return SearchResult(apps, None, len(apps))
|
||||
|
||||
Reference in New Issue
Block a user