You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 20, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: developer_manual/app/info.rst
+48-1Lines changed: 48 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,19 @@ The :file:`appinfo/info.xml` contains metadata about the app:
43
43
44
44
<default_enable />
45
45
<shipped>true</shipped>
46
+
47
+
<dependencies>
48
+
<phpmin-version="5.4"max-version="5.5"/>
49
+
<database>sqlite</database>
50
+
<database>mysql</database>
51
+
<commandos="linux">grep</command>
52
+
<commandos="windows">notepad.exe</command>
53
+
<libmin-version="1.2">xml</lib>
54
+
<libmax-version="2.0">intl</lib>
55
+
<lib>curl</lib>
56
+
<os>Linux</os>
57
+
<owncloudmin-version="6.0.4"max-version="8"/>
58
+
</dependencies>
46
59
</info>
47
60
48
61
id
@@ -96,7 +109,41 @@ link to 'admin' and 'user' documentation
96
109
97
110
website
98
111
-------
99
-
link to project webpage
112
+
link to project web page
113
+
114
+
Dependencies
115
+
============
116
+
All tags within the dependencies tag define a set of requirements which have to be fulfilled in order to operate
117
+
properly. As soon as one of these requirements is not met the app cannot be installed.
118
+
119
+
php
120
+
---
121
+
Defines the minimum and the maximum version of php which is required to run this app.
122
+
123
+
database
124
+
--------
125
+
Each supported database has to be listed in here. Valid values are sqlite, mysql, pgsql, oci and mssql. In the future
126
+
it will be possible to specify versions here as well.
127
+
In case no database is specified it is assumed that all databases are supported.
128
+
129
+
command
130
+
-------
131
+
Defines a command line tool to be available. With the attribute 'os' the required operating system for this tool can be
132
+
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`_.
133
+
134
+
lib
135
+
---
136
+
Defines a required php extension with required minimum and/or maximum version. The names for the libraries have to match the result as returned by the php function `get_loaded_extensions http://php.net/manual/en/function.get-loaded-extensions.php`_.
137
+
The explicit version of an extension is read from `phpversion http://php.net/manual/de/function.phpversion.php`_ - with some exception as to be read up in the code base `https://github.com/owncloud/core/blob/master/lib/private/app/platformrepository.php#L45`_
138
+
139
+
os
140
+
--
141
+
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`_.
142
+
143
+
owncloud
144
+
--------
145
+
Defines minimum and maximum versions of the ownCloud core. In case undefined the values will be taken from the tag 'requiremin'.
0 commit comments