mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
[enh] packaging: manifest: add 'requirements' key.
This commit is contained in:
parent
65ccefad23
commit
c76e63ff92
2 changed files with 10 additions and 0 deletions
|
@ -17,6 +17,9 @@ The `manifest.json` file defines the app's constants, a bunch of values that Yun
|
|||
"name": "kload",
|
||||
"email": "kload@kload.fr"
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">> 2.3.12"
|
||||
},
|
||||
"multi_instance": "true",
|
||||
"services": [
|
||||
"nginx",
|
||||
|
@ -63,6 +66,8 @@ The `manifest.json` file defines the app's constants, a bunch of values that Yun
|
|||
|
||||
* **maintainer**: informations about the app maintainer for contact.
|
||||
|
||||
- **requirements**: dependency of the application package to a Debian YunoHost package version. For instance, "yunohost": ">> 2.3.12", `yunohost` package version must be up to `2.3.12`.
|
||||
|
||||
* [**multi_instance**](packaging_apps_multiinstance_en): it defines app's ability to be installed multiple times.
|
||||
|
||||
* **services**: services needed by the application among `nginx`, `php5-fpm`, `mysql`, `uwsgi`, `metronome`, `postfix`, `dovecot`…
|
||||
|
|
|
@ -17,6 +17,9 @@ Le fichier `manifest.json` définit les constantes de l’application, un ensemb
|
|||
"name": "kload",
|
||||
"email": "kload@kload.fr"
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">> 2.3.12"
|
||||
},
|
||||
"multi_instance": "true",
|
||||
"services": [
|
||||
"nginx",
|
||||
|
@ -63,6 +66,8 @@ Le fichier `manifest.json` définit les constantes de l’application, un ensemb
|
|||
|
||||
* **maintainer** : informations à propos du mainteneur du paquet de l’application pour pouvoir le contacter.
|
||||
|
||||
- **requirements** : dépendance du paquet de l’application à la version d’un paquet Debian de YunoHost. Par exemple : "yunohost": ">> 2.3.12", le paquet `yunohost` doit être de version supérieur à `2.3.12`.
|
||||
|
||||
* [**multi_instance**](packaging_apps_multiinstance_fr) : capacité d’une application d’être installée plusieurs fois.
|
||||
|
||||
* **services** : liste des services nécessaires au fonctionnement de l’application. `nginx`, `php5-fpm`, `mysql`, `uwsgi`, `metronome`, `postfix`, `dovecot`…
|
||||
|
|
Loading…
Add table
Reference in a new issue