[ 
https://issues.apache.org/jira/browse/KARAF-2809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13922133#comment-13922133
 ] 

Guillaume Nodet commented on KARAF-2809:
----------------------------------------

Yeah, I agree, though I think we need to track which features have been 
installed so that we don't uinstall a dependency which is used by another 
feature.  Especially as, in theory, all features should be transitively closed.

On the mailing list, I briefly outlined a solution which would solve the 
problem, though in a slightly different way: i.e. keep track of which features 
have been installed and do a "global" resolution.  This may also need 
cooperation from various agents (bundle service, file install deployer and 
features service) so that we don't remove something that has been installed 
manually through bundle:install.



> Add an option to uninstall transitive features
> ----------------------------------------------
>
>                 Key: KARAF-2809
>                 URL: https://issues.apache.org/jira/browse/KARAF-2809
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-feature
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.4.0, 3.0.1, 3.1.0, 2.3.5
>
>
> Using feature:uninstall uninstalls only the provided features: the transitive 
> features are not uninstall.
> If it makes sense in most of the case, it would be great to provide an option 
> to uninstall transitive features (for instance, using EnumSet<Option>).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to