1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00
weblate_ynh/manifest.toml

101 lines
2.8 KiB
TOML
Raw Normal View History

2024-01-17 14:07:41 +01:00
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
packaging_format = 2
id = "weblate"
name = "Weblate"
description.en = "Translation platform using Git and Python"
description.fr = "Plateforme de traduction utilisant Git et Python"
2024-01-17 20:13:18 +01:00
version = "5.3.1~ynh1"
2024-01-17 14:07:41 +01:00
maintainers = ["YunoHost Contributors"]
[upstream]
license = "AGPL-3.0"
website = "https://weblate.org"
demo = "https://hosted.weblate.org/"
admindoc = "https://docs.weblate.org/"
userdoc = "https://docs.weblate.org/"
code = "https://github.com/WeblateOrg/weblate"
cpe = "cpe:2.3:a:weblate:weblate"
[integration]
yunohost = ">= 11.2.0"
architectures = "all"
multi_instance = true
2024-01-17 21:18:05 +01:00
ldap = false
sso = false
2024-01-17 14:07:41 +01:00
disk = "1G"
ram.build = "3G"
ram.runtime = "3G"
[install]
[install.domain]
type = "domain"
[install.path]
type = "path"
default = "/weblate"
[install.init_main_permission]
type = "group"
default = false
[install.admin]
type = "user"
[install.password]
type = "password"
[install.used_forge]
ask.en = "Choose the forge you use"
ask.fr = "Choisissez la forge que vous utilisez"
2024-01-17 21:18:05 +01:00
type = "select"
2024-01-17 14:07:41 +01:00
choices = ["GitHub", "GitLab"]
default = "GitHub"
optional = true
[install.forge_username]
ask.en = "Your forge's username"
ask.fr = "Nom d'utilisateur de votre forge"
type = "string"
example = "Your username"
2024-01-18 14:16:32 +01:00
default = "username"
2024-01-17 14:07:41 +01:00
optional = true
[install.forge_token]
ask.en = "Your forge's token (OAuth)"
ask.fr = "Jeton de votre forge (OAuth)"
type = "string"
example = "A secret token"
2024-01-18 14:16:32 +01:00
default = "thisisanexampletoken"
2024-01-17 14:07:41 +01:00
optional = true
[resources]
2024-01-17 19:12:51 +01:00
[resources.sources]
[resources.sources.libxxhash]
url = "https://github.com/Cyan4973/xxHash/archive/refs/tags/v0.8.1.tar.gz"
sha256 = "3bb6b7d6f30c591dd65aaaff1c8b7a5b94d81687998ca9400082c739a690436c"
in_subdir = true
autoupdate.strategy = "latest_github_tag"
2024-01-17 14:07:41 +01:00
[resources.system_user]
[resources.install_dir]
[resources.permissions]
main.url = "/"
2024-01-19 15:02:23 +01:00
[resources.ports]
main.default = 8080
2024-01-17 14:07:41 +01:00
[resources.apt]
2024-01-17 19:12:51 +01:00
#first § = weblate dependecies, second § = borgbackup dependencies
2024-01-21 09:09:51 +01:00
packages = "libxml2-dev, libxslt-dev, libfreetype6-dev, libjpeg-dev, libz-dev, libyaml-dev, libffi-dev, libcairo-dev, gir1.2-pango-1.0, libgirepository1.0-dev, libacl1-dev, libssl-dev, libpq-dev, libjpeg62-turbo-dev, build-essential, python3-gdbm, python3-dev, python3-pip, python3-venv, python3-virtualenv, virtualenv, git, uwsgi, uwsgi-plugin-python3, redis-server, postgresql, postgresql-contrib, hub, libacl1-dev, libacl1, libssl-dev, liblz4-dev, libzstd-dev, libxxhash-dev, build-essential, pkg-config, python3-pkgconfig"
2024-01-17 14:07:41 +01:00
[resources.database]
type = "postgresql"