mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
Expose the 'potential_alternative_to' info in the app catalog
This commit is contained in:
parent
0aae39f112
commit
25e3e652b9
1 changed files with 2 additions and 0 deletions
|
@ -241,6 +241,7 @@ def build_catalog():
|
||||||
"good_quality": level >= 8,
|
"good_quality": level >= 8,
|
||||||
"bad_quality": level <= 5,
|
"bad_quality": level <= 5,
|
||||||
"antifeatures": infos["antifeatures"],
|
"antifeatures": infos["antifeatures"],
|
||||||
|
"potential_alternative_to": infos.get("potential_alternative_to", []),
|
||||||
}
|
}
|
||||||
|
|
||||||
result_dict_doc = {
|
result_dict_doc = {
|
||||||
|
@ -320,6 +321,7 @@ def build_app_dict(app, infos):
|
||||||
"featured": infos.get("featured", False),
|
"featured": infos.get("featured", False),
|
||||||
"category": infos.get("category", None),
|
"category": infos.get("category", None),
|
||||||
"subtags": infos.get("subtags", []),
|
"subtags": infos.get("subtags", []),
|
||||||
|
"potential_alternative_to": infos.get("potential_alternative_to", []),
|
||||||
"antifeatures": list(
|
"antifeatures": list(
|
||||||
set(manifest.get("antifeatures", []) + infos.get("antifeatures", []))
|
set(manifest.get("antifeatures", []) + infos.get("antifeatures", []))
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Reference in a new issue