Expose the 'potential_alternative_to' info in the app catalog

This commit is contained in:
Alexandre Aubin 2022-08-27 16:12:13 +02:00
parent 6386d092b0
commit f99b497ffd

View file

@ -241,6 +241,7 @@ def build_catalog():
"good_quality": level >= 8,
"bad_quality": level <= 5,
"antifeatures": infos["antifeatures"],
"potential_alternative_to": infos.get("potential_alternative_to", []),
}
result_dict_doc = {
@ -320,6 +321,7 @@ def build_app_dict(app, infos):
"featured": infos.get("featured", False),
"category": infos.get("category", None),
"subtags": infos.get("subtags", []),
"potential_alternative_to": infos.get("potential_alternative_to", []),
"antifeatures": list(
set(manifest.get("antifeatures", []) + infos.get("antifeatures", []))
),