mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
Add High Quality into the list
This commit is contained in:
parent
143799e65c
commit
cb58e8e10c
1 changed files with 6 additions and 0 deletions
|
@ -146,6 +146,7 @@ for app, info in apps_list.items():
|
||||||
app_level = info.get("level")
|
app_level = info.get("level")
|
||||||
app_maintained = info.get("maintained", True)
|
app_maintained = info.get("maintained", True)
|
||||||
app_featured = info.get("featured", False)
|
app_featured = info.get("featured", False)
|
||||||
|
app_high_quality = info.get("high_quality", False)
|
||||||
|
|
||||||
forge_site = app_url.split('/')[2]
|
forge_site = app_url.split('/')[2]
|
||||||
owner = app_url.split('/')[3]
|
owner = app_url.split('/')[3]
|
||||||
|
@ -169,6 +170,7 @@ for app, info in apps_list.items():
|
||||||
previous_level = already_built_file.get(app, {}).get("level")
|
previous_level = already_built_file.get(app, {}).get("level")
|
||||||
previous_maintained = already_built_file.get(app, {}).get("maintained")
|
previous_maintained = already_built_file.get(app, {}).get("maintained")
|
||||||
previous_featured = already_built_file.get(app, {}).get("featured")
|
previous_featured = already_built_file.get(app, {}).get("featured")
|
||||||
|
previous_high_quality = already_built_file.get(app, {}).get("high_quality")
|
||||||
|
|
||||||
if forge_type == "github" and app_rev == "HEAD":
|
if forge_type == "github" and app_rev == "HEAD":
|
||||||
|
|
||||||
|
@ -215,6 +217,9 @@ for app, info in apps_list.items():
|
||||||
if previous_featured != app_featured:
|
if previous_featured != app_featured:
|
||||||
result_dict[app]["featured"] = app_featured
|
result_dict[app]["featured"] = app_featured
|
||||||
print("... but featured status changed, updating it from '%s' to '%s'" % (previous_featured, app_featured))
|
print("... but featured status changed, updating it from '%s' to '%s'" % (previous_featured, app_featured))
|
||||||
|
if previous_high_quality != app_high_quality:
|
||||||
|
result_dict[app]["high_quality"] = app_high_quality
|
||||||
|
print("... but high_quality status changed, updating it from '%s' to '%s'" % (previous_high_quality, app_high_quality))
|
||||||
|
|
||||||
print "update translations but don't download anything"
|
print "update translations but don't download anything"
|
||||||
result_dict[app]['manifest'] = include_translations_in_manifest(app, result_dict[app]['manifest'])
|
result_dict[app]['manifest'] = include_translations_in_manifest(app, result_dict[app]['manifest'])
|
||||||
|
@ -324,6 +329,7 @@ for app, info in apps_list.items():
|
||||||
'state': info['state'],
|
'state': info['state'],
|
||||||
'level': info.get('level', '?'),
|
'level': info.get('level', '?'),
|
||||||
'maintained': app_maintained,
|
'maintained': app_maintained,
|
||||||
|
'high_quality': app_high_quality,
|
||||||
'featured': app_featured
|
'featured': app_featured
|
||||||
}
|
}
|
||||||
except KeyError as e:
|
except KeyError as e:
|
||||||
|
|
Loading…
Add table
Reference in a new issue