The ubuntu-20.04 runner is due to be deprecated on 2025-02-01 and unsupported by 2025-04-01. The previous version of the metadata validator wouldn't run on Ubuntu 24.04 due to a dependency version mismatch, so has been updated. The actions/checkout and actions/setup-node actions have also been updated to their latest major versions. The version of Node.js used has been updated to the latest LTS version. The version of Python used has been updated to the latest minor version.
About
This repository holds the masterlist prelude, a metadata file that is used to supply common metadata to all masterlists.
See CONTRIBUTING.md for information on how to contribute to the prelude.
Synchronising Weblate translations
The translations directory holds files that are read and written by Weblate. There are a couple of scripts that can be used to keep them in sync with prelude.yaml.
To use the scripts, first install their dependencies in a virtual environment. On Windows, make sure Python 3 is installed, then run:
py -m venv .venv
.\.venv\Scripts\activate
pip install -r requirements.txt
To regenerate the files in the translations directory from prelude.yaml, run:
py scripts/export-translations.py
It's also possible to overwrite the message text in prelude.yaml using the contents of the translations directory:
py scripts/import-translations.py
The scripts make assumptions about the formatting and layout of entries in prelude.yaml, so it's worth double-checking their changes.