1
0
Fork 0
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:
tituspijean 2023-01-07 10:13:47 +01:00 committed by GitHub
parent 5033ee0722
commit 3080cb0d49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,9 @@ import time
from collections import OrderedDict
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()
catalog = json.load(open("apps.json"))
@ -333,7 +336,7 @@ def build_app_dict(app, infos):
"manifest": manifest,
"state": infos["state"],
"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),
"featured": infos.get("featured", False),
"category": infos.get("category", None),