GitHub user bso-intel opened a pull request:

    https://github.com/apache/cordova-lib/pull/396

    CB-10314 avoid fetching plugins when oldId is already fetched

    implement the fix to the issue in CB-10314.
    Before start fetching the plugin, first check if the plugin with alias id 
is already fetched in the project.
    Otherwise, it is a waste of time fetching the plugin with newId and then 
decide not to install.
    This pull request also includes a fix to the issue of reporting the bogus 
mismatched id error which is caused by fetching the new-Id when old-Id is 
renamed to fetch. (checkID function in fetch.js)
    After the fix, the plugin add is changed as follows:
    {code} 
    [CB-10314] cordova plugin
    cordova-plugin-whitelist 1.2.1 "Whitelist"
    org.apache.cordova.device 0.3.0 "Device"
    [CB-10314] cordova plugin add org.apache.cordova.device
    Plugin "org.apache.cordova.device" already installed on ios.
    {code}

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bso-intel/cordova-lib CB-10314

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-lib/pull/396.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 #396
    
----
commit e88e2a1050a770e594a8ac8e6b179836ca819323
Author: Byoungro So <byoungro...@intel.com>
Date:   2016-02-21T05:48:13Z

    CB-10314 avoid fetching plugins when oldId is already fetched

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to