mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
[arch] improvement: displaying the 'orphan' field for AUR packages (info)
This commit is contained in:
@@ -1466,6 +1466,7 @@ class ArchManager(SoftwareManager):
|
||||
if info is not None:
|
||||
self._parse_dates_string_from_info(pkg.name, info)
|
||||
|
||||
info['04_orphan'] = pkg.maintainer is None
|
||||
info['04_out_of_date'] = pkg.out_of_date
|
||||
|
||||
if pkg.commit:
|
||||
@@ -1489,6 +1490,7 @@ class ArchManager(SoftwareManager):
|
||||
'02_name': pkg.name,
|
||||
'03_description': pkg.description,
|
||||
'03_version': pkg.version,
|
||||
'04_orphan': pkg.maintainer is None,
|
||||
'04_out_of_date': pkg.out_of_date,
|
||||
'04_popularity': pkg.popularity,
|
||||
'05_votes': pkg.votes,
|
||||
|
||||
Reference in New Issue
Block a user