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-05-05 09:06:21 +02:00
|
|
|
version = "5.5.3~ynh1"
|
2024-01-17 14:07:41 +01:00
|
|
|
|
2024-01-23 19:24:08 +01:00
|
|
|
maintainers = ["Thovi98"]
|
2024-01-17 14:07:41 +01:00
|
|
|
|
|
|
|
[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"
|
2024-01-23 19:24:08 +01:00
|
|
|
fund = "https://weblate.org/fr/donate/"
|
2024-01-17 14:07:41 +01:00
|
|
|
|
|
|
|
[integration]
|
2024-08-26 14:18:43 +02:00
|
|
|
yunohost = ">= 12.0.0"
|
2024-08-31 03:55:10 +02:00
|
|
|
helpers_version = "2.1"
|
2024-01-17 14:07:41 +01:00
|
|
|
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"
|
2024-02-24 10:23:52 +01:00
|
|
|
default = "visitors"
|
2024-01-17 14:07:41 +01:00
|
|
|
|
|
|
|
[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-23 19:32:15 +01:00
|
|
|
choices.github = "Github"
|
|
|
|
choices.gitlab = "GitLab"
|
2024-01-24 13:56:40 +01:00
|
|
|
default = "github"
|
2024-01-17 14:07:41 +01:00
|
|
|
optional = true
|
|
|
|
|
|
|
|
[install.forge_username]
|
|
|
|
ask.en = "Your forge's username"
|
|
|
|
ask.fr = "Nom d'utilisateur de votre forge"
|
|
|
|
type = "string"
|
|
|
|
example = "Your username"
|
|
|
|
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"
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[resources]
|
2024-01-17 19:12:51 +01:00
|
|
|
|
|
|
|
[resources.sources]
|
|
|
|
[resources.sources.libxxhash]
|
2024-02-21 22:24:03 +01:00
|
|
|
url = "https://github.com/Cyan4973/xxHash/archive/refs/tags/v0.8.2.tar.gz"
|
|
|
|
sha256 = "baee0c6afd4f03165de7a4e67988d16f0f2b257b51d0e3cb91909302a26a79c4"
|
2024-01-17 19:12:51 +01:00
|
|
|
in_subdir = true
|
2024-02-16 18:10:39 +01:00
|
|
|
autoupdate.strategy = "latest_github_release"
|
|
|
|
autoupdate.upstream = "https://github.com/Cyan4973/xxHash"
|
2024-01-17 19:12:51 +01:00
|
|
|
|
2024-01-17 14:07:41 +01:00
|
|
|
[resources.system_user]
|
|
|
|
|
|
|
|
[resources.install_dir]
|
2024-08-31 03:55:10 +02:00
|
|
|
group = "www-data:r-x"
|
2024-01-17 14:07:41 +01:00
|
|
|
|
|
|
|
[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-05-05 09:23:24 +02:00
|
|
|
packages = [
|
|
|
|
# Weblate dependencies
|
|
|
|
"build-essential", "git",
|
|
|
|
"gir1.2-pango-1.0", "libacl1-dev", "libcairo-dev", "libffi-dev", "libfreetype6-dev",
|
|
|
|
"libgirepository1.0-dev", "libjpeg-dev", "libjpeg62-turbo-dev", "libpq-dev",
|
2024-05-05 21:14:11 +02:00
|
|
|
"libssl-dev", "libxml2-dev", "libxslt-dev", "libyaml-dev", "libz-dev", "librsvg2-dev",
|
2024-05-05 09:23:24 +02:00
|
|
|
"python3-gdbm",
|
|
|
|
"python3-dev",
|
|
|
|
"python3-pip",
|
|
|
|
"python3-venv",
|
|
|
|
"python3-virtualenv",
|
|
|
|
"virtualenv",
|
|
|
|
"uwsgi",
|
|
|
|
"uwsgi-plugin-python3",
|
|
|
|
"redis-server",
|
|
|
|
"postgresql",
|
|
|
|
"postgresql-contrib",
|
|
|
|
"hub",
|
2024-09-30 18:33:33 +02:00
|
|
|
"gettext",
|
2024-05-05 09:23:24 +02:00
|
|
|
# Borg backup dependencies
|
|
|
|
"pkg-config", "python3-pkgconfig",
|
|
|
|
"libacl1-dev", "libacl1", "libssl-dev", "liblz4-dev", "libzstd-dev", "libxxhash-dev",
|
|
|
|
]
|
2024-01-17 14:07:41 +01:00
|
|
|
|
|
|
|
[resources.database]
|
|
|
|
type = "postgresql"
|