mirror of
https://github.com/YunoHost-Apps/terraforming-mars_ynh.git
synced 2024-09-03 20:36:05 +02:00
first
This commit is contained in:
parent
6312d833a9
commit
abffc89248
1 changed files with 15 additions and 67 deletions
|
@ -2,101 +2,49 @@
|
||||||
|
|
||||||
packaging_format = 2
|
packaging_format = 2
|
||||||
|
|
||||||
id = "example"
|
id = "terraforming_mars"
|
||||||
name = "Example app"
|
name = "Terraforming Mars "
|
||||||
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 = "Open-source online implementation of the great board game Terraforming mars."
|
||||||
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)"
|
description.fr = "Implementation en ligne à code source ouvert de l’excellent jeu de plateau Terraforming Mars"
|
||||||
|
|
||||||
version = "1.0~ynh1"
|
version = "0.01~ynh1"
|
||||||
|
|
||||||
maintainers = ["johndoe"]
|
maintainers = ["Thovi98"]
|
||||||
|
|
||||||
[upstream]
|
[upstream]
|
||||||
# NB: Only the "license" key is mandatory. Remove entries for which there's no relevant data
|
license = "GPL-3.0"
|
||||||
license = "free"
|
demo = "https://terraforming-mars.herokuapp.com/"
|
||||||
website = "https://example.com"
|
code = "https://github.com/terraforming-mars/terraforming-mars"
|
||||||
demo = "https://demo.example.com"
|
|
||||||
admindoc = "https://yunohost.org/packaging_apps"
|
|
||||||
userdoc = "https://yunohost.org/apps"
|
|
||||||
code = "https://some.forge.com/example/example"
|
|
||||||
# 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 = "???"
|
|
||||||
|
|
||||||
# FIXME: optional but recommended (or remove if irrelevant / not applicable).
|
|
||||||
# This is meant to be an URL where people can financially support this app, especially when its development is based
|
|
||||||
# on volunteers and/or financed by its community. YunoHost may later advertise it in the webadmin.
|
|
||||||
fund = "???"
|
|
||||||
|
|
||||||
[integration]
|
[integration]
|
||||||
yunohost = ">= 11.1.21"
|
yunohost = ">= 11.2.4"
|
||||||
# FIXME: can be replaced by a list of supported archs using the dpkg --print-architecture nomenclature (amd64/i386/armhf/arm64), for example: ["amd64", "i386"]
|
|
||||||
architectures = "all"
|
architectures = "all"
|
||||||
multi_instance = true
|
multi_instance = true
|
||||||
|
|
||||||
# FIXME: replace with true, false, or "not_relevant".
|
ldap = false
|
||||||
# Not to confuse with the "sso" key: the "ldap" key corresponds to wether or not a user *can* login on the app using
|
sso = false
|
||||||
# its YunoHost credentials.
|
|
||||||
ldap = "?"
|
|
||||||
|
|
||||||
# FIXME: replace with true, false, or "not_relevant".
|
|
||||||
# Not to confuse with the "ldap" key: the "sso" key corresponds to wether or not a user is *automatically logged-in*
|
|
||||||
# on the app when logged-in on the YunoHost portal.
|
|
||||||
sso = "?"
|
|
||||||
|
|
||||||
# FIXME: replace with an **estimate** minimum disk and RAM requirements. e.g. 20M, 400M, 1G...
|
|
||||||
disk = "50M"
|
disk = "50M"
|
||||||
ram.build = "50M"
|
ram.build = "50M"
|
||||||
ram.runtime = "50M"
|
ram.runtime = "50M"
|
||||||
|
|
||||||
[install]
|
[install]
|
||||||
[install.domain]
|
[install.domain]
|
||||||
# this is a generic question - ask strings are automatically handled by YunoHost's core
|
|
||||||
type = "domain"
|
type = "domain"
|
||||||
|
|
||||||
[install.path]
|
[install.path]
|
||||||
# this is a generic question - ask strings are automatically handled by YunoHost's core
|
|
||||||
type = "path"
|
type = "path"
|
||||||
default = "/example"
|
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 won't be saved as setting and will instead be used to initialize the SSOwat permission
|
|
||||||
type = "group"
|
type = "group"
|
||||||
default = "visitors"
|
default = "visitors"
|
||||||
|
|
||||||
[install.language]
|
|
||||||
ask.en = "Choose the application language"
|
|
||||||
ask.fr = "Choisissez la langue de l'application"
|
|
||||||
type = "select"
|
|
||||||
choices = ["fr", "en"]
|
|
||||||
default = "fr"
|
|
||||||
|
|
||||||
[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
|
|
||||||
# of explanation regarding the behavior and properties for each of those
|
|
||||||
|
|
||||||
[resources.sources]
|
[resources.sources]
|
||||||
|
|
||||||
[resources.sources.main]
|
[resources.sources.main]
|
||||||
# This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with :
|
url = "https://github.com/terraforming-mars/terraforming-mars/archive/686fa15abaa69dccfe4d8a9e91bf077978b7ae20.zip"
|
||||||
# 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/foo/bar/archive/refs/tags/v1.2.3.tar.gz"
|
|
||||||
sha256 = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
|
sha256 = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
|
||||||
|
|
||||||
# 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
|
||||||
|
|
Loading…
Reference in a new issue