[jira] [Commented] (CB-6125) plugman doesn't remove 2 dependencies it installed

2015-07-22 Thread Tim Windsor (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14637652#comment-14637652
 ] 

Tim Windsor commented on CB-6125:
-

I believe this is resolved in 5.0 and above

 plugman doesn't remove 2 dependencies it installed
 --

 Key: CB-6125
 URL: https://issues.apache.org/jira/browse/CB-6125
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.4.0
Reporter: Josh Soref

 This is a fresh system
 $ 
 PATH=$PATH:~/Cordova/cordova-cli/bin:~/adt-bundle-mac-x86_64-20130917/sdk/tools:~/apache-ant-1.9.2/bin
  sh -c 'cordova create yip; cd yip; cordova platform add android ios 
 blackberry10; cordova plugin add org.cordova.mobile-spec-dependencies 
 --searchpath  ~/Cordova/cordova-mobile-spec; cordova plugin remove 
 org.cordova.mobile-spec-dependencies; cordova plugin'
 Creating a new cordova project with name HelloCordova and id 
 io.cordova.hellocordova at location yip
 Creating android project...
 Creating Cordova project for the Android platform:
   Path: platforms/android
   Package: io.cordova.hellocordova
   Name: HelloCordova
   Android target: android-19
 Copying template files...
 Running: android update project --subprojects --path platforms/android 
 --target android-19 --library CordovaLib
 Resolved location of library project to: yip/platforms/android/CordovaLib
 Updated and renamed default.properties to project.properties
 Updated local.properties
 No project name specified, using Activity name 'HelloCordova'.
 If you wish to change it, edit the first line of build.xml.
 Added file platforms/android/build.xml
 Added file platforms/android/proguard-project.txt
 Updated project.properties
 Updated local.properties
 No project name specified, using project folder name 'CordovaLib'.
 If you wish to change it, edit the first line of build.xml.
 Added file platforms/android/CordovaLib/build.xml
 Added file platforms/android/CordovaLib/proguard-project.txt
 Project successfully created.
 Downloading cordova library for ios...
 Download complete
 Creating ios project...
 Creating blackberry10 project...
 npm WARN package.json jWorkflow@0.8.0 No repository field.
 npm WARN package.json localize@0.4.2 No repository field.
 Installing org.cordova.mobile-spec-dependencies (android)
 Fetching plugin org.apache.cordova.battery-status via plugin registry
 Installing org.apache.cordova.battery-status (android)
 Fetching plugin org.apache.cordova.camera via plugin registry
 Installing org.apache.cordova.camera (android)
 Fetching plugin org.apache.cordova.console via plugin registry
 Installing org.apache.cordova.console (android)
 Fetching plugin org.apache.cordova.contacts via plugin registry
 Installing org.apache.cordova.contacts (android)
 Fetching plugin org.apache.cordova.device via plugin registry
 Installing org.apache.cordova.device (android)
 Fetching plugin org.apache.cordova.device-motion via plugin registry
 Installing org.apache.cordova.device-motion (android)
 Fetching plugin org.apache.cordova.device-orientation via plugin registry
 Installing org.apache.cordova.device-orientation (android)
 Fetching plugin org.apache.cordova.dialogs via plugin registry
 Installing org.apache.cordova.dialogs (android)
 Fetching plugin org.apache.cordova.file via plugin registry
 Installing org.apache.cordova.file (android)
 Fetching plugin org.apache.cordova.file-transfer via plugin registry
 Installing org.apache.cordova.file-transfer (android)
 Fetching plugin org.apache.cordova.geolocation via plugin registry
 Installing org.apache.cordova.geolocation (android)
 Fetching plugin org.apache.cordova.globalization via plugin registry
 Installing org.apache.cordova.globalization (android)
 Fetching plugin org.apache.cordova.inappbrowser via plugin registry
 Installing org.apache.cordova.inappbrowser (android)
 Fetching plugin org.apache.cordova.media via plugin registry
 Installing org.apache.cordova.media (android)
 Fetching plugin org.apache.cordova.media-capture via plugin registry
 Installing org.apache.cordova.media-capture (android)
 Fetching plugin org.apache.cordova.network-information via plugin registry
 Installing org.apache.cordova.network-information (android)
 Fetching plugin org.apache.cordova.splashscreen via plugin registry
 Installing org.apache.cordova.splashscreen (android)
 Fetching plugin org.apache.cordova.vibration via plugin registry
 Installing org.apache.cordova.vibration (android)
 Installing org.apache.cordova.test.whitelist (android)
 Installing org.apache.cordova.test.echo (android)
 Installing org.cordova.mobile-spec-dependencies (blackberry10)
 Installing org.apache.cordova.battery-status (blackberry10)
 Installing org.apache.cordova.camera (blackberry10)
 Installing org.apache.cordova.console 

[jira] [Commented] (CB-6125) plugman doesn't remove 2 dependencies it installed

2015-05-12 Thread Steve Gill (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14540830#comment-14540830
 ] 

Steve Gill commented on CB-6125:


I will look into this a bit tomorrow

 plugman doesn't remove 2 dependencies it installed
 --

 Key: CB-6125
 URL: https://issues.apache.org/jira/browse/CB-6125
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.4.0
Reporter: Josh Soref

 This is a fresh system
 $ 
 PATH=$PATH:~/Cordova/cordova-cli/bin:~/adt-bundle-mac-x86_64-20130917/sdk/tools:~/apache-ant-1.9.2/bin
  sh -c 'cordova create yip; cd yip; cordova platform add android ios 
 blackberry10; cordova plugin add org.cordova.mobile-spec-dependencies 
 --searchpath  ~/Cordova/cordova-mobile-spec; cordova plugin remove 
 org.cordova.mobile-spec-dependencies; cordova plugin'
 Creating a new cordova project with name HelloCordova and id 
 io.cordova.hellocordova at location yip
 Creating android project...
 Creating Cordova project for the Android platform:
   Path: platforms/android
   Package: io.cordova.hellocordova
   Name: HelloCordova
   Android target: android-19
 Copying template files...
 Running: android update project --subprojects --path platforms/android 
 --target android-19 --library CordovaLib
 Resolved location of library project to: yip/platforms/android/CordovaLib
 Updated and renamed default.properties to project.properties
 Updated local.properties
 No project name specified, using Activity name 'HelloCordova'.
 If you wish to change it, edit the first line of build.xml.
 Added file platforms/android/build.xml
 Added file platforms/android/proguard-project.txt
 Updated project.properties
 Updated local.properties
 No project name specified, using project folder name 'CordovaLib'.
 If you wish to change it, edit the first line of build.xml.
 Added file platforms/android/CordovaLib/build.xml
 Added file platforms/android/CordovaLib/proguard-project.txt
 Project successfully created.
 Downloading cordova library for ios...
 Download complete
 Creating ios project...
 Creating blackberry10 project...
 npm WARN package.json jWorkflow@0.8.0 No repository field.
 npm WARN package.json localize@0.4.2 No repository field.
 Installing org.cordova.mobile-spec-dependencies (android)
 Fetching plugin org.apache.cordova.battery-status via plugin registry
 Installing org.apache.cordova.battery-status (android)
 Fetching plugin org.apache.cordova.camera via plugin registry
 Installing org.apache.cordova.camera (android)
 Fetching plugin org.apache.cordova.console via plugin registry
 Installing org.apache.cordova.console (android)
 Fetching plugin org.apache.cordova.contacts via plugin registry
 Installing org.apache.cordova.contacts (android)
 Fetching plugin org.apache.cordova.device via plugin registry
 Installing org.apache.cordova.device (android)
 Fetching plugin org.apache.cordova.device-motion via plugin registry
 Installing org.apache.cordova.device-motion (android)
 Fetching plugin org.apache.cordova.device-orientation via plugin registry
 Installing org.apache.cordova.device-orientation (android)
 Fetching plugin org.apache.cordova.dialogs via plugin registry
 Installing org.apache.cordova.dialogs (android)
 Fetching plugin org.apache.cordova.file via plugin registry
 Installing org.apache.cordova.file (android)
 Fetching plugin org.apache.cordova.file-transfer via plugin registry
 Installing org.apache.cordova.file-transfer (android)
 Fetching plugin org.apache.cordova.geolocation via plugin registry
 Installing org.apache.cordova.geolocation (android)
 Fetching plugin org.apache.cordova.globalization via plugin registry
 Installing org.apache.cordova.globalization (android)
 Fetching plugin org.apache.cordova.inappbrowser via plugin registry
 Installing org.apache.cordova.inappbrowser (android)
 Fetching plugin org.apache.cordova.media via plugin registry
 Installing org.apache.cordova.media (android)
 Fetching plugin org.apache.cordova.media-capture via plugin registry
 Installing org.apache.cordova.media-capture (android)
 Fetching plugin org.apache.cordova.network-information via plugin registry
 Installing org.apache.cordova.network-information (android)
 Fetching plugin org.apache.cordova.splashscreen via plugin registry
 Installing org.apache.cordova.splashscreen (android)
 Fetching plugin org.apache.cordova.vibration via plugin registry
 Installing org.apache.cordova.vibration (android)
 Installing org.apache.cordova.test.whitelist (android)
 Installing org.apache.cordova.test.echo (android)
 Installing org.cordova.mobile-spec-dependencies (blackberry10)
 Installing org.apache.cordova.battery-status (blackberry10)
 Installing org.apache.cordova.camera (blackberry10)
 Installing org.apache.cordova.console (blackberry10)
 

[jira] [Commented] (CB-6125) plugman doesn't remove 2 dependencies it installed

2015-05-12 Thread Josh Soref (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14540778#comment-14540778
 ] 

Josh Soref commented on CB-6125:


So, I started chasing this a bit.

The action stack / related things try to build clever graphs of what can be 
removed, but unfortunately they don't remove the thing they're planning to 
remove from the anchor list, which means that when plugman/uninstall tries to 
decide if it can remove the dependency, it finds that the thing you're 
uninstalling still requires the dependency, so it leaves the dependency in 
place... which is unfortunate.

 plugman doesn't remove 2 dependencies it installed
 --

 Key: CB-6125
 URL: https://issues.apache.org/jira/browse/CB-6125
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.4.0
Reporter: Josh Soref

 This is a fresh system
 $ 
 PATH=$PATH:~/Cordova/cordova-cli/bin:~/adt-bundle-mac-x86_64-20130917/sdk/tools:~/apache-ant-1.9.2/bin
  sh -c 'cordova create yip; cd yip; cordova platform add android ios 
 blackberry10; cordova plugin add org.cordova.mobile-spec-dependencies 
 --searchpath  ~/Cordova/cordova-mobile-spec; cordova plugin remove 
 org.cordova.mobile-spec-dependencies; cordova plugin'
 Creating a new cordova project with name HelloCordova and id 
 io.cordova.hellocordova at location yip
 Creating android project...
 Creating Cordova project for the Android platform:
   Path: platforms/android
   Package: io.cordova.hellocordova
   Name: HelloCordova
   Android target: android-19
 Copying template files...
 Running: android update project --subprojects --path platforms/android 
 --target android-19 --library CordovaLib
 Resolved location of library project to: yip/platforms/android/CordovaLib
 Updated and renamed default.properties to project.properties
 Updated local.properties
 No project name specified, using Activity name 'HelloCordova'.
 If you wish to change it, edit the first line of build.xml.
 Added file platforms/android/build.xml
 Added file platforms/android/proguard-project.txt
 Updated project.properties
 Updated local.properties
 No project name specified, using project folder name 'CordovaLib'.
 If you wish to change it, edit the first line of build.xml.
 Added file platforms/android/CordovaLib/build.xml
 Added file platforms/android/CordovaLib/proguard-project.txt
 Project successfully created.
 Downloading cordova library for ios...
 Download complete
 Creating ios project...
 Creating blackberry10 project...
 npm WARN package.json jWorkflow@0.8.0 No repository field.
 npm WARN package.json localize@0.4.2 No repository field.
 Installing org.cordova.mobile-spec-dependencies (android)
 Fetching plugin org.apache.cordova.battery-status via plugin registry
 Installing org.apache.cordova.battery-status (android)
 Fetching plugin org.apache.cordova.camera via plugin registry
 Installing org.apache.cordova.camera (android)
 Fetching plugin org.apache.cordova.console via plugin registry
 Installing org.apache.cordova.console (android)
 Fetching plugin org.apache.cordova.contacts via plugin registry
 Installing org.apache.cordova.contacts (android)
 Fetching plugin org.apache.cordova.device via plugin registry
 Installing org.apache.cordova.device (android)
 Fetching plugin org.apache.cordova.device-motion via plugin registry
 Installing org.apache.cordova.device-motion (android)
 Fetching plugin org.apache.cordova.device-orientation via plugin registry
 Installing org.apache.cordova.device-orientation (android)
 Fetching plugin org.apache.cordova.dialogs via plugin registry
 Installing org.apache.cordova.dialogs (android)
 Fetching plugin org.apache.cordova.file via plugin registry
 Installing org.apache.cordova.file (android)
 Fetching plugin org.apache.cordova.file-transfer via plugin registry
 Installing org.apache.cordova.file-transfer (android)
 Fetching plugin org.apache.cordova.geolocation via plugin registry
 Installing org.apache.cordova.geolocation (android)
 Fetching plugin org.apache.cordova.globalization via plugin registry
 Installing org.apache.cordova.globalization (android)
 Fetching plugin org.apache.cordova.inappbrowser via plugin registry
 Installing org.apache.cordova.inappbrowser (android)
 Fetching plugin org.apache.cordova.media via plugin registry
 Installing org.apache.cordova.media (android)
 Fetching plugin org.apache.cordova.media-capture via plugin registry
 Installing org.apache.cordova.media-capture (android)
 Fetching plugin org.apache.cordova.network-information via plugin registry
 Installing org.apache.cordova.network-information (android)
 Fetching plugin org.apache.cordova.splashscreen via plugin registry
 Installing org.apache.cordova.splashscreen (android)
 Fetching plugin org.apache.cordova.vibration via