[Owncloud] App Requirements

Tom Needham tom at owncloud.com
Wed Apr 18 21:17:54 UTC 2012


Hi All,

Had an idea of how to implement requirements when installing apps. For example, when the gallery is installed, it need to check if gd is installed, rather than just giving an error. So I though about adding a <requirements> section to the apps info.xml. In there we can list <functions> <classes> and <extensions> that we can check exists when enabling the app.

We can also do a check when we do the overall owncloud install to check that the default enabled apps have all their requirements met.

What do you think, is this flexible enough for apps?

Thanks,
Tom

Tom Needham
tom at owncloud.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20120418/6a910686/attachment.html>


More information about the Owncloud mailing list