2017-07-05 17:00 GMT+02:00 Thomas Mortagne <[email protected]>:

> Hi everyone,
>
> I just implemented https://jira.xwiki.org/browse/XCOMMONS-1229 which
> allows to indicate that a dependency will be installed by default but
> does not have a string dependency link with the extension, meaning
> that uninstalling it won't impact the backward dependencies (so they
> are not really backward dependencies in that case :)).
>
> Now we need to decide what exactly is optional in Standard flavor.
>
> Here are some ideas:
>
> * application-help-center
> * xwiki-platform-menu-ui
> * xwiki-platform-wiki-ui-mainwiki
> * xwiki-platform-office-ui
> * xwiki-platform-invitation-ui
> * xwiki-platform-appwithinminutes-ui
> * xwiki-platform-linkchecker-ui
> * xwiki-platform-sandbox
> * xwiki-platform-sharepage-ui
> * xwiki-platform-distribution-flavor-tour
> * application-templates-ui
>

These should be optional too:

* xwiki-platform-flamingo-theme-bootswatch - Flamingo Theme Applications
comes with 4 theme by default, all others are not mandatory
* xwiki-platform-help-ui - XWiki could work without help section
* xwiki-platform-user-directory-ui - XWiki could be used without the User
Directory
* xwiki-platform-annotation-ui - XWiki could work without annotation
* xwiki-platform-tag-ui - XWiki could work without annotation
* xwiki-platform-watchlist-ui - We could live without watchlist
* xwiki-platform-scheduler-ui - Same
* xwiki-platform-notifications-ui - Same

Maybe:
* xwiki-platform-panels-ui - but I wonder how the administration app handle
its absence

Note that xwiki-platform-appwithinminutes-ui is a dependency for a lot of
apps, but I agree it could be seen as optional from the flavor point of
view.


> I did not actually tried to uninstall those so it's possible it's not
> a good idea to uninstall some of them right now (hardcoded use
> somewhere maybe).
>
> WDYT ?
>
> --
> Thomas Mortagne
>

For the rest, either we should permit or not to force the uninstall/install
of dependencies is an other topic (either with EM or Extension Tweaker -
I'm in favor of this for reasons explained by Edy, but it's an advanced
case). I think we could rely on what the app's developer has marked as
mandatory/optional in most of the case and that system is the safest.

Thanks,


-- 
Guillaume Delhumeau ([email protected])
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project

Reply via email to