catalog: autoreplace app level '?' to -1 for easier quality computation

This commit is contained in:
Alexandre Aubin 2022-10-18 18:01:16 +02:00
parent dbd0981b25
commit 556e75ef08

View file

@ -250,6 +250,9 @@ def _load_apps_catalog():
)
continue
if info.get("level") == "?":
info["level"] = -1
# FIXME: we may want to autoconvert all v0/v1 manifest to v2 here
# so that everything is consistent in terms of APIs, datastructure format etc
info["repository"] = apps_catalog_id