From c76e63ff927a1c5cd731a3e6d1fb9080b604e6ff Mon Sep 17 00:00:00 2001 From: Moul Date: Thu, 28 Apr 2016 18:57:33 +0200 Subject: [PATCH] [enh] packaging: manifest: add 'requirements' key. --- packaging_apps_manifest.md | 5 +++++ packaging_apps_manifest_fr.md | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/packaging_apps_manifest.md b/packaging_apps_manifest.md index a3c852f5..95de6b77 100644 --- a/packaging_apps_manifest.md +++ b/packaging_apps_manifest.md @@ -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`… diff --git a/packaging_apps_manifest_fr.md b/packaging_apps_manifest_fr.md index ab3cba76..6b694989 100644 --- a/packaging_apps_manifest_fr.md +++ b/packaging_apps_manifest_fr.md @@ -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`…