mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
Fix maintainership flag (#1585)
This commit is contained in:
parent
5033ee0722
commit
3080cb0d49
1 changed files with 4 additions and 1 deletions
|
@ -13,6 +13,9 @@ import time
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
from tools.packaging_v2.convert_v1_manifest_to_v2_for_catalog import convert_v1_manifest_to_v2_for_catalog
|
from tools.packaging_v2.convert_v1_manifest_to_v2_for_catalog import convert_v1_manifest_to_v2_for_catalog
|
||||||
|
|
||||||
|
from rich.console import Console
|
||||||
|
console = Console()
|
||||||
|
|
||||||
now = time.time()
|
now = time.time()
|
||||||
|
|
||||||
catalog = json.load(open("apps.json"))
|
catalog = json.load(open("apps.json"))
|
||||||
|
@ -333,7 +336,7 @@ def build_app_dict(app, infos):
|
||||||
"manifest": manifest,
|
"manifest": manifest,
|
||||||
"state": infos["state"],
|
"state": infos["state"],
|
||||||
"level": infos.get("level", "?"),
|
"level": infos.get("level", "?"),
|
||||||
"maintained": 'package-not-maintained' in infos.get('antifeatures'),
|
"maintained": not 'package-not-maintained' in infos.get('antifeatures', False),
|
||||||
"high_quality": infos.get("high_quality", False),
|
"high_quality": infos.get("high_quality", False),
|
||||||
"featured": infos.get("featured", False),
|
"featured": infos.get("featured", False),
|
||||||
"category": infos.get("category", None),
|
"category": infos.get("category", None),
|
||||||
|
|
Loading…
Add table
Reference in a new issue