gitlab-ci: fail if config/en/ is included

If the 'en' locale is added, it could override the source strings, which
are en-US.  If someone wants to add an alternate English locale, it must
include the country code, e.g. en-GB.
This commit is contained in:
Hans-Christoph Steiner 2025-02-11 10:49:45 +01:00
parent b1bbd44e23
commit 98cdbbba49
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
3 changed files with 2 additions and 39 deletions

View file

@ -200,6 +200,8 @@ fdroid lint config:
script:
- chown -R $(whoami) .
- fdroid lint config/*.yml config/*/*.yml
# Alternate English locales must include the country code, e.g. en-GB.
- python3 -c "import os; exit(os.path.exists('config/en/'))"
# TODO once config.yml is added to fdroiddata, add it to the line above
- test -e config.yml || exit 0
- fdroid lint config.yml

View file

@ -1,34 +0,0 @@
Connectivity:
name: Connectivity
Development:
name: Development
Games:
name: Games
Graphics:
name: Graphics
Internet:
name: Internet
Money:
name: Money
Multimedia:
name: Multimedia
Phone & SMS:
name: Phone & SMS
Navigation:
name: Navigation
Reading:
name: Reading
Science & Education:
name: Science & Education
Time:
name: Time
Security:
name: Security
Sports & Health:
name: Sports & Health
System:
name: System
Theming:
name: Theming
Writing:
name: Writing

View file

@ -1,5 +0,0 @@
archive:
name: F-Droid Archive
repo:
description: The official F-Droid free software repository. Everything in this repository is always built from the source code.
name: F-Droid