mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
[arch] feature: able to filter outdated packages by the new 'out of date' category (AUR only)
This commit is contained in:
@@ -94,11 +94,15 @@ class AURDataMapper:
|
||||
|
||||
self.fill_api_data(app, apidata, fill_version=not data)
|
||||
|
||||
if app.orphan:
|
||||
if app.orphan or app.out_of_date:
|
||||
if app.categories is None:
|
||||
app.categories = []
|
||||
|
||||
app.categories.append('orphan')
|
||||
if app.orphan:
|
||||
app.categories.append('orphan')
|
||||
|
||||
if app.out_of_date:
|
||||
app.categories.append('out_of_date')
|
||||
|
||||
return app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user