[
https://issues.apache.org/jira/browse/CB-5390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14151967#comment-14151967
]
ASF GitHub Bot commented on CB-5390:
------------------------------------
GitHub user bryanhiggins opened a pull request:
https://github.com/apache/cordova-lib/pull/94
CB-5390 Uninstall - recursively remove dependencies of dependencies
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/blackberry-webworks/cordova-lib
uninstallRecursive
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-lib/pull/94.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #94
----
commit 784ba806724772c4af4b7ee5c4aad2ebbe08f023
Author: Bryan Higgins <[email protected]>
Date: 2014-09-29T18:03:51Z
CB-5390 Uninstall - recursively remove dependencies of dependencies
----
> Removing a plugin with multi-level dependencies does not removal all plugins
> ----------------------------------------------------------------------------
>
> Key: CB-5390
> URL: https://issues.apache.org/jira/browse/CB-5390
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI, Plugman
> Affects Versions: 3.2.0
> Reporter: Marcus Pridham
> Priority: Minor
>
> I have 3 plugins that depend on each other. a depends on b that depends on c.
> a -> b -> c
> The problem is that if I install plugin a and remove it later it leaves
> plugin c for some reason.
> {code}
> $ cordova plugin rm a
> Uninstalling 2 dangling dependent plugins.
> Uninstalling c from ios
> Uninstalling b from ios
> Preparing ios project
> Preparing ios project
> Uninstalling a from ios
> Preparing ios project
> Deleting plugin a
> Found 2 removable plugins. Deleting them.
> $ cordova plugins
> [ 'c' ]
> {code}
> The sample plugins can be found here:
> https://github.com/marcuspridham/plugman-issue
> I'm using Cordova CLI 3.2.0-rc.1.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)