2023-10-08 12:42:59 +02:00
|
|
|
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
|
|
|
|
|
|
|
packaging_format = 2
|
|
|
|
|
2023-11-11 12:33:33 +01:00
|
|
|
id = "grist"
|
|
|
|
name = "Grist"
|
2023-11-17 15:15:42 +01:00
|
|
|
description.en = "Modern relational spreadsheet"
|
|
|
|
description.fr = "Feuille de calcul relationnelle moderne"
|
2023-10-08 12:42:59 +02:00
|
|
|
|
2023-11-17 15:07:24 +01:00
|
|
|
version = "1.1.5~ynh2"
|
2023-10-08 12:42:59 +02:00
|
|
|
|
2023-11-11 12:33:33 +01:00
|
|
|
maintainers = ["fflorent"]
|
2023-10-08 12:42:59 +02:00
|
|
|
|
|
|
|
[upstream]
|
|
|
|
# NB: Only the "license" key is mandatory. Remove entries for which there's no relevant data
|
2023-11-16 22:47:51 +01:00
|
|
|
license = "AGPL-3.0-only"
|
2023-11-11 12:33:33 +01:00
|
|
|
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/"
|
2023-10-08 12:42:59 +02:00
|
|
|
# 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 = "???"
|
|
|
|
|
2023-11-11 12:33:33 +01:00
|
|
|
fund = "https://github.com/sponsors/gristlabs"
|
2023-10-08 12:42:59 +02:00
|
|
|
|
|
|
|
[integration]
|
2023-11-17 15:13:31 +01:00
|
|
|
yunohost = ">= 11.2"
|
2023-10-08 12:42:59 +02:00
|
|
|
architectures = "all"
|
|
|
|
multi_instance = true
|
|
|
|
|
2023-11-16 08:57:31 +01:00
|
|
|
ldap = true
|
2023-10-08 12:42:59 +02:00
|
|
|
|
2023-11-16 08:57:31 +01:00
|
|
|
sso = true
|
2023-10-08 12:42:59 +02:00
|
|
|
|
|
|
|
# FIXME: replace with an **estimate** minimum disk and RAM requirements. e.g. 20M, 400M, 1G...
|
2023-11-14 22:02:16 +01:00
|
|
|
disk = "15G"
|
|
|
|
ram.build = "1500M"
|
2023-11-16 08:57:31 +01:00
|
|
|
ram.runtime = "400M"
|
2023-10-08 12:42:59 +02:00
|
|
|
|
|
|
|
[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"]
|
2023-11-11 12:33:33 +01:00
|
|
|
default = "en"
|
2023-10-08 12:42:59 +02:00
|
|
|
|
|
|
|
[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
|
2023-11-11 12:33:33 +01:00
|
|
|
url = "https://github.com/gristlabs/grist-core/archive/refs/tags/v1.1.5.tar.gz"
|
|
|
|
sha256 = "3119ba9be40d2adfca547cc80ecf9114e4b218449d84c7231a44f5fc0b5f0f4b"
|
2023-10-08 12:42:59 +02:00
|
|
|
|
2023-11-11 12:33:33 +01:00
|
|
|
autoupdate.strategy = "latest_github_tag"
|
2023-10-08 12:42:59 +02:00
|
|
|
|
|
|
|
[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 = "/"
|
|
|
|
|
2023-11-16 08:57:31 +01:00
|
|
|
login.url = "/auth/login"
|
|
|
|
login.show_tile = false
|
|
|
|
login.allowed = "all_users"
|
|
|
|
|
2023-10-08 12:42:59 +02:00
|
|
|
[resources.ports]
|
|
|
|
# This will pick a random port for reverse-proxying and store it as the $port setting
|
2023-11-11 12:33:33 +01:00
|
|
|
main.default = 8484
|
2023-10-08 12:42:59 +02:00
|
|
|
|
|
|
|
[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)
|
2023-11-17 15:13:31 +01:00
|
|
|
packages = "python3.9, python3.9-venv"
|
2023-11-11 12:33:33 +01:00
|
|
|
|
|
|
|
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"]
|