tools/print-language-status.py: current languages from gitlab.com

parent 47aec368
......@@ -17,8 +17,9 @@ for slug in ('f-droid', 'fdroiddata', 'repomaker', 'repomaker-javascript',
if item.get('translated_percent', 0) > 99.0:
output[slug].append(item['code'])
with open('_config.yml') as fp:
config = yaml.safe_load(fp)
r = requests.get('https://gitlab.com/fdroid/fdroid-website/-/raw/master/_config.yml')
r.raise_for_status()
config = yaml.safe_load(r.text)
print('Launch on f-droid.org:',
sorted((set(output['f-droid']) & set(output['website']) & set(output['website-pages']))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment