mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 08:14:16 +02:00
[fix][arch] not properly caching data of installed dependencies
This commit is contained in:
@@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- 'clean cache' operation was not working in some scenarios
|
||||
- upgrading progress when conflicting files are detected
|
||||
- not detecting some installed 'not-signed' repository packages
|
||||
- not properly caching data of installed dependencies
|
||||
|
||||
- upgrade: crashing for scenarios when there are packages that cannot upgrade to be displayed on the summary window
|
||||
- settings: crashing when an empty Qt style is defined [#104](https://github.com/vinifmor/bauh/issues/104)
|
||||
|
||||
@@ -1648,9 +1648,20 @@ class ArchManager(SoftwareManager):
|
||||
if installed:
|
||||
context.watcher.change_substatus(self.i18n['status.caching_data'].format(bold(context.name)))
|
||||
|
||||
if not context.maintainer:
|
||||
if context.pkg and context.pkg.maintainer:
|
||||
pkg_maintainer = context.pkg.maintainer
|
||||
elif context.repository == 'aur':
|
||||
aur_infos = self.aur_client.get_info({context.name})
|
||||
pkg_maintainer = aur_infos[0].get('Maintainer') if aur_infos else None
|
||||
else:
|
||||
pkg_maintainer = context.repository
|
||||
else:
|
||||
pkg_maintainer = context.maintainer
|
||||
|
||||
cache_map = {context.name: ArchPackage(name=context.name,
|
||||
repository=context.repository,
|
||||
maintainer=context.maintainer,
|
||||
maintainer=pkg_maintainer,
|
||||
categories=self.categories.get(context.name))}
|
||||
if context.missing_deps:
|
||||
aur_deps = {dep[0] for dep in context.missing_deps if dep[1] == 'aur'}
|
||||
|
||||
Reference in New Issue
Block a user