mirror of
https://github.com/YunoHost-Apps/grist_ynh.git
synced 2024-09-03 20:36:18 +02:00
116 lines
4.2 KiB
TOML
116 lines
4.2 KiB
TOML
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
|
|
|
packaging_format = 2
|
|
|
|
id = "grist"
|
|
name = "Grist"
|
|
description.en = "Grist is the evolution of spreadsheets."
|
|
description.fr = "Grist est l'évolution des tableurs."
|
|
|
|
version = "1.0~ynh1"
|
|
|
|
maintainers = ["fflorent"]
|
|
|
|
[upstream]
|
|
# NB: Only the "license" key is mandatory. Remove entries for which there's no relevant data
|
|
license = "free"
|
|
website = "https://getgrist.com"
|
|
demo = "https://docs.getgrist.com"
|
|
admindoc = "https://www.getgrist.com/product/self-managed/"
|
|
userdoc = "https://support.getgrist.com/"
|
|
code = "https://github.com/gristlabs/grist-core/"
|
|
# FIXME: optional but recommended if relevant, this is meant to contain the Common Platform Enumeration, which is
|
|
# sort of a standard id for applications defined by the NIST. In particular, YunoHost may use this is in the future
|
|
# to easily track CVE (=security reports) related to apps. The CPE may be obtained by searching here:
|
|
# https://nvd.nist.gov/products/cpe/search.
|
|
# For example, for Nextcloud, the CPE is 'cpe:2.3:a:nextcloud:nextcloud' (no need to include the version number)
|
|
cpe = "???"
|
|
|
|
fund = "https://github.com/sponsors/gristlabs"
|
|
|
|
[integration]
|
|
yunohost = ">= 11.1.21"
|
|
architectures = "all"
|
|
multi_instance = true
|
|
|
|
ldap = "true"
|
|
|
|
sso = "true"
|
|
|
|
# FIXME: replace with an **estimate** minimum disk and RAM requirements. e.g. 20M, 400M, 1G...
|
|
disk = "50M"
|
|
ram.build = "50M"
|
|
ram.runtime = "50M"
|
|
|
|
[install]
|
|
[install.domain]
|
|
# this is a generic question - ask strings are automatically handled by YunoHost's core
|
|
type = "domain"
|
|
|
|
[install.init_main_permission]
|
|
# this is a generic question - ask strings are automatically handled by YunoHost's core
|
|
# This won't be saved as setting and will instead be used to initialize the SSOwat permission
|
|
type = "group"
|
|
default = "visitors"
|
|
|
|
[install.language]
|
|
ask.en = "Choose the application language"
|
|
ask.fr = "Choisissez la langue de l'application"
|
|
type = "select"
|
|
choices = ["fr", "en"]
|
|
default = "en"
|
|
|
|
[install.admin]
|
|
# this is a generic question - ask strings are automatically handled by YunoHost's core
|
|
type = "user"
|
|
|
|
[resources]
|
|
# See the packaging documentation for the full set
|
|
# of explanation regarding the behavior and properties for each of those
|
|
|
|
[resources.sources]
|
|
|
|
[resources.sources.main]
|
|
# This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with :
|
|
# ynh_setup_source --dest_dir="$install_dir"
|
|
# You can also define other assets than "main" and add --source_id="foobar" in the previous command
|
|
url = "https://github.com/gristlabs/grist-core/archive/refs/tags/v1.1.5.tar.gz"
|
|
sha256 = "3119ba9be40d2adfca547cc80ecf9114e4b218449d84c7231a44f5fc0b5f0f4b"
|
|
|
|
autoupdate.strategy = "latest_github_tag"
|
|
|
|
[resources.system_user]
|
|
# This will provision/deprovision a unix system user
|
|
|
|
[resources.install_dir]
|
|
# This will create/remove the install dir as /var/www/$app
|
|
# and store the corresponding setting $install_dir
|
|
|
|
[resources.data_dir]
|
|
# This will create/remove the data dir as /home/yunohost.app/$app
|
|
# and store the corresponding setting $data_dir
|
|
|
|
[resources.permissions]
|
|
# This will configure SSOwat permission for $domain/$path/
|
|
# The initial allowed group of user is configured via the init_main_permission question (public=visitors, private=all_users)
|
|
main.url = "/"
|
|
|
|
[resources.ports]
|
|
# This will pick a random port for reverse-proxying and store it as the $port setting
|
|
main.default = 8484
|
|
|
|
[resources.apt]
|
|
# This will automatically install/uninstall the following apt packages
|
|
# and implicitly define the $phpversion setting as 8.0 (if phpX.Y-foobar dependencies are listed)
|
|
packages = "python3.9 python3.9-venv"
|
|
|
|
# extras.gvisor.repo="deb https://storage.googleapis.com/gvisor/releases release main"
|
|
# extras.gvisor.key="https://gvisor.dev/archive.key"
|
|
# extras.gvisor.packages=[ "runsc" ]
|
|
|
|
extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main"
|
|
extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg"
|
|
extras.yarn.packages = ["yarn"]
|
|
|
|
[resources.database]
|
|
type = "postgresql"
|