On Wed, Jul 5, 2017 at 5:41 PM, Vincent Massol <[email protected]> wrote:
> Hi Thomas,
>
>> On 5 Jul 2017, at 17:00, Thomas Mortagne <[email protected]> wrote:
>>
>> 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 :)).
>
> This is very nice. What if I want to uninstall an extension which is NOT 
> marked as optional (ie force uninstall at your own risks)?

If it's not optional then... it's not optional and require to
uninstall backward dependency.

>
>> 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
>
> I think it needs some refactoring first since the pages it generates still 
> need some pages from AWM.

Actually I tough about that and IMO if an extension has AWM pages it
should have a non optional dependency on AWM (i.e. it would be
optional from flavor point of view but non optional from other
extension point of view).

>
>> * xwiki-platform-linkchecker-ui
>> * xwiki-platform-sandbox
>
>> * xwiki-platform-sharepage-ui
>> * xwiki-platform-distribution-flavor-tour
>> * application-templates-ui
>
>>
>> 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 ?
>
> The list sounds good to start with (we need to test remove them first ofc).
>
> Thanks
> -Vincent
>
>> --
>> Thomas Mortagne
>



-- 
Thomas Mortagne

Reply via email to