mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 20:14:14 +02:00
[arch] fix: not detecting installed AUR packages anymore due to recent AUR API changes
This commit is contained in:
@@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
### Fixes
|
### Fixes
|
||||||
- Arch
|
- Arch
|
||||||
- silent crash when handling and displaying transaction sub-status
|
- silent crash when handling and displaying transaction sub-status
|
||||||
|
- AUR: not detecting installed packages anymore due to recent AUR API changes
|
||||||
|
|
||||||
- AppImage
|
- AppImage
|
||||||
- search: displaying duplicate installed apps for some cases
|
- search: displaying duplicate installed apps for some cases
|
||||||
|
|||||||
@@ -214,8 +214,8 @@ class AURClient:
|
|||||||
|
|
||||||
return self.extract_required_dependencies(info)
|
return self.extract_required_dependencies(info)
|
||||||
|
|
||||||
def _map_names_as_queries(self, names) -> str:
|
def _map_names_as_queries(self, names: Iterable[str]) -> str:
|
||||||
return '&'.join(['arg[{}]={}'.format(i, urllib.parse.quote(n)) for i, n in enumerate(names)])
|
return '&'.join(['arg[]={}'.format(urllib.parse.quote(n)) for n in names])
|
||||||
|
|
||||||
def read_local_index(self) -> dict:
|
def read_local_index(self) -> dict:
|
||||||
self.logger.info('Checking if the cached AUR index file exists')
|
self.logger.info('Checking if the cached AUR index file exists')
|
||||||
|
|||||||
Reference in New Issue
Block a user