mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-10 12:14:16 +02:00
[arch] fix -> AUR: multi-threaded download: not retrieving correctly some source files URLs
This commit is contained in:
@@ -55,7 +55,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
- not displaying all packages that must be uninstalled
|
- not displaying all packages that must be uninstalled
|
||||||
- displaying "required size" for packages that must be uninstalled
|
- displaying "required size" for packages that must be uninstalled
|
||||||
- some conflict resolution scenarios when upgrading several packages
|
- some conflict resolution scenarios when upgrading several packages
|
||||||
- AUR: info dialog of installed packages displays the latest PKGBUILD file instead of the one used for installation/upgrade/downgrade
|
- AUR:
|
||||||
|
- info dialog of installed packages displays the latest PKGBUILD file instead of the one used for installation/upgrade/downgrade (the fix will only work for new installed packages)
|
||||||
|
- multi-threaded download: not retrieving correctly some source files URLs (e.g: linux-xanmod-lts)
|
||||||
- Flatpak
|
- Flatpak
|
||||||
- downgrading crashing with version 1.8.X
|
- downgrading crashing with version 1.8.X
|
||||||
- history: the top commit is returned as "(null)" in version 1.8.X
|
- history: the top commit is returned as "(null)" in version 1.8.X
|
||||||
|
|||||||
@@ -52,10 +52,9 @@ def map_srcinfo(string: str, fields: Set[str] = None) -> dict:
|
|||||||
else:
|
else:
|
||||||
field_re = RE_SRCINFO_KEYS
|
field_re = RE_SRCINFO_KEYS
|
||||||
|
|
||||||
for match in field_re.finditer(string):
|
for tupl in field_re.findall(string):
|
||||||
field = RE_SPLIT_DEP.split(match.group(0))
|
key = tupl[0].strip()
|
||||||
key = field[0].strip()
|
val = tupl[1].strip()
|
||||||
val = field[1].strip()
|
|
||||||
|
|
||||||
if key not in info:
|
if key not in info:
|
||||||
info[key] = [val] if key in KNOWN_LIST_FIELDS else val
|
info[key] = [val] if key in KNOWN_LIST_FIELDS else val
|
||||||
@@ -65,6 +64,11 @@ def map_srcinfo(string: str, fields: Set[str] = None) -> dict:
|
|||||||
|
|
||||||
info[key].append(val)
|
info[key].append(val)
|
||||||
|
|
||||||
|
pkgname = info.get('pkgname')
|
||||||
|
|
||||||
|
if isinstance(pkgname, list):
|
||||||
|
info['pkgname'] = pkgname[0]
|
||||||
|
|
||||||
return info
|
return info
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user