This should make life easier for the translators, until there actually are
translated icons. Then the translations can be marked 100% translated and
100% verified.
This means mostly sorting by key:
for f in sorted(glob.glob('*.yml')) + sorted(glob.glob('[a-z]*/*.yml')):
print(f)
with open(f) as fp:
data = yaml.safe_load(fp)
with open(f, 'w') as fp:
yaml.dump(data, fp, default_flow_style=False, sort_keys=True, allow_unicode=True)
With index-v2 we can configure a lot of data through the fdroiddata repo
that was hard coded in the client before. This is:
- anti features
- categories
- release channels
- name, description, icon of repo and archive
This is automatically converted with:
https://gitlab.com/jspricke/index-v2-convert/-/blob/main/convert_meta.py