Update manifest.toml

This commit is contained in:
denis 2024-11-07 04:26:54 -05:00
parent 01b72b66db
commit a714c50ad1

View file

@ -2,23 +2,21 @@
packaging_format = 2 packaging_format = 2
id = "example" id = "chibisafe"
name = "Example app" name = "chibisafe"
description.en = "Explain in *a few (10~15) words* the purpose of the app or what it actually does (it is meant to give a rough idea to users browsing a catalog of 100+ apps)" description.en = "A modern and self-hosted take on file uploading services that can handle anything you throw at it thanks to it's robust and fast API, chunked uploads support and more."
description.fr = "Expliquez en *quelques* (10~15) mots l'utilité de l'app ou ce qu'elle fait (l'objectif est de donner une idée grossière pour des utilisateurs qui naviguent dans un catalogue de 100+ apps)" version = "6.4.2~ynh1"
version = "1.0~ynh1" maintainers = ["denis"]
maintainers = ["johndoe"]
[upstream] [upstream]
# NB: Only the "license" key is mandatory. Remove entries for which there's no relevant data # NB: Only the "license" key is mandatory. Remove entries for which there's no relevant data
license = "free" # you can see the available licenses identifiers list here: https://spdx.org/licenses/ license = "free" # you can see the available licenses identifiers list here: https://spdx.org/licenses/
website = "https://example.com" website = "https://chibisafe.app"
demo = "https://demo.example.com" demo = "https://chibisafe.app"
admindoc = "https://yunohost.org/packaging_apps" admindoc = "https://yunohost.org/packaging_apps"
userdoc = "https://yunohost.org/apps" userdoc = "https://yunohost.org/apps"
code = "https://some.forge.com/example/example" code = "https://git.qilk.de/denis/chibisafe_ynh"
# FIXME: optional but recommended if relevant, this is meant to contain the Common Platform Enumeration, which is # 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 # 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: # to easily track CVE (=security reports) related to apps. The CPE may be obtained by searching here:
@ -58,11 +56,6 @@ ram.runtime = "50M"
# this is a generic question - ask strings are automatically handled by YunoHost's core # this is a generic question - ask strings are automatically handled by YunoHost's core
type = "domain" type = "domain"
[install.path]
# this is a generic question - ask strings are automatically handled by YunoHost's core
type = "path"
default = "/example"
[install.init_main_permission] [install.init_main_permission]
# this is a generic question - ask strings are automatically handled by YunoHost's core # 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 # This won't be saved as setting and will instead be used to initialize the SSOwat permission
@ -73,19 +66,8 @@ ram.runtime = "50M"
ask.en = "Choose the application language" ask.en = "Choose the application language"
ask.fr = "Choisissez la langue de l'application" ask.fr = "Choisissez la langue de l'application"
type = "select" type = "select"
choices = ["fr", "en"] choices = ["en"]
default = "fr" default = "en"
[install.admin]
# this is a generic question - ask strings are automatically handled by YunoHost's core
type = "user"
[install.password]
# this is a generic question - ask strings are automatically handled by YunoHost's core
# Note that user-provided passwords questions are not automatically saved as setting
help.en = "Use the help field to add an information for the admin about this question."
help.fr = "Utilisez le champ aide pour ajouter une information à l'intention de l'administrateur à propos de cette question."
type = "password"
[resources] [resources]
# See the packaging documentation for the full set # See the packaging documentation for the full set
@ -97,8 +79,8 @@ ram.runtime = "50M"
# This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with : # This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with :
# ynh_setup_source --dest_dir="$install_dir" # ynh_setup_source --dest_dir="$install_dir"
# You can also define other assets than "main" and add --source_id="foobar" in the previous command # You can also define other assets than "main" and add --source_id="foobar" in the previous command
url = "https://github.com/foo/bar/archive/refs/tags/v1.2.3.tar.gz" url = "https://github.com/chibisafe/chibisafe/archive/refs/tags/v6.4.2.tar.gz"
sha256 = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef" sha256 = "72a14cc14b5e42a37e6f4a1748e9536e46b3a3591277431b3743ebbe3dac49d3"
# These infos are used by https://github.com/YunoHost/apps/blob/master/tools/autoupdate_app_sources/autoupdate_app_sources.py # These infos are used by https://github.com/YunoHost/apps/blob/master/tools/autoupdate_app_sources/autoupdate_app_sources.py
# to auto-update the previous asset urls and sha256sum + manifest version # to auto-update the previous asset urls and sha256sum + manifest version
@ -129,8 +111,4 @@ ram.runtime = "50M"
[resources.apt] [resources.apt]
# This will automatically install/uninstall the following apt packages # 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) # and implicitly define the $phpversion setting as 8.0 (if phpX.Y-foobar dependencies are listed)
packages = "mariadb-server, deb1, deb2, php8.0-foo, php8.0-bar" packages = "ffmpeg"
[resources.database]
# This will automatically provision/deprovison a MySQL DB and store the corresponding credentials in settings $db_user, $db_name, $db_pwd
type = "mysql"