[enh] packaging: manifest: add 'packaging_format' key.

This commit is contained in:
Moul 2016-04-28 18:23:31 +02:00
parent 6d92aea439
commit 65ccefad23
2 changed files with 8 additions and 2 deletions

View file

@ -6,6 +6,7 @@ The `manifest.json` file defines the app's constants, a bunch of values that Yun
{ {
"name": "Roundcube", "name": "Roundcube",
"id": "roundcube", "id": "roundcube",
"packaging_format": 1,
"description": { "description": {
"en": "Open Source Webmail software", "en": "Open Source Webmail software",
"fr": "Webmail Open Source" "fr": "Webmail Open Source"
@ -52,6 +53,8 @@ The `manifest.json` file defines the app's constants, a bunch of values that Yun
* **id**: ID of the app. You have to ensure that this ID is unique before submit an app integration request. * **id**: ID of the app. You have to ensure that this ID is unique before submit an app integration request.
- **packaging_format**: package version. Actual version is **1**. This key has been set up to make independant packaging evolution versions from YunoHost versions evolution.
* **description**: complete app description. You can make it as detailed as you feel it should be. Only `en` is required right now, but you can translate the description by prepending the locale prefix. * **description**: complete app description. You can make it as detailed as you feel it should be. Only `en` is required right now, but you can translate the description by prepending the locale prefix.
* **url**: software website. * **url**: software website.

View file

@ -6,6 +6,7 @@ Le fichier `manifest.json` définit les constantes de lapplication, un ensemb
{ {
"name": "Roundcube", "name": "Roundcube",
"id": "roundcube", "id": "roundcube",
"packaging_format": 1,
"description": { "description": {
"en": "Open Source Webmail software", "en": "Open Source Webmail software",
"fr": "Webmail Open Source" "fr": "Webmail Open Source"
@ -52,6 +53,8 @@ Le fichier `manifest.json` définit les constantes de lapplication, un ensemb
* **id** : identifiant de lapplication. Vous devez vous assurer de son unicité. * **id** : identifiant de lapplication. Vous devez vous assurer de son unicité.
- **packaging_format** : version de packaging du paquet. La version **1** est la version actuelle. Cette clé a été mise en place afin de faire évoluer les versions de packaging de manière décorrélée des versions de YunoHost.
* **description** : description complète de lapplication. Vous pouvez la détailler comme bon vous semble. Uniquement le champs `en` (english) est requis, vous pouvez également ajouter la traduction en français :) * **description** : description complète de lapplication. Vous pouvez la détailler comme bon vous semble. Uniquement le champs `en` (english) est requis, vous pouvez également ajouter la traduction en français :)
* **url**: site de lapplication. * **url**: site de lapplication.