From b5a4e8790aa1650791b75cfdf0fd6ea99e03b96b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Fri, 12 Dec 2014 13:57:19 +0100 Subject: [PATCH] document new dependency tags in info.xml --- developer_manual/app/info.rst | 48 ++++++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/developer_manual/app/info.rst b/developer_manual/app/info.rst index 5165ec42b..0e22aae4c 100644 --- a/developer_manual/app/info.rst +++ b/developer_manual/app/info.rst @@ -43,6 +43,19 @@ The :file:`appinfo/info.xml` contains metadata about the app: true + + + + sqlite + mysql + grep + notepad.exe + xml + intl + curl + Linux + + id @@ -96,7 +109,40 @@ link to 'admin' and 'user' documentation website ------- -link to project webpage +link to project web page + +Dependencies +============ +All tags within the dependencies tag define a set of requirements which have to be fulfilled in order to operate +properly. As soon as one of these requirements is not met the app cannot be installed. + +php +--- +Defines the minimum and the maximum version of php which is required to run this app. + +database +-------- +Each supported database has to be listed in here. Valid values are sqlite, mysql, pgsql, oci and mssql. In the future +it will be possible to specify versions here as well. +In case no database is specified it is assumed that all databases are supported. + +command +------- +Defines a command line tool to be available. With the attribute 'os' the required operating system for this tool can be +specified. Valid values for the 'os' attribute are as returned by the php function `php_uname http://php.net/manual/en/function.php-uname.php`_. + +lib +--- +Defines a required php extension with required minimum and/or maximum version. + +os +-- +Defines the required target operating system the app can run on. Valid values are as returned by the php function `php_uname http://php.net/manual/en/function.php-uname.php`_. + +owncloud +-------- +Defines minimum and maximum versions of the ownCloud core. In case undefined the values will be taken from the tag 'requiremin'. + Deprecated ==========