You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Nikhil Khandelwal (JIRA)" <ji...@apache.org> on 2016/01/12 22:45:39 UTC
[jira] [Updated] (CB-10314) avoid fetching newId when oldId is
already fetched
[ https://issues.apache.org/jira/browse/CB-10314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikhil Khandelwal updated CB-10314:
-----------------------------------
Labels: triaged (was: )
> avoid fetching newId when oldId is already fetched
> --------------------------------------------------
>
> Key: CB-10314
> URL: https://issues.apache.org/jira/browse/CB-10314
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaLib
> Reporter: Byoungro So
> Assignee: Byoungro So
> Priority: Minor
> Labels: triaged
>
> As of Cordova 5.4.0, an old plugin id is automatically converted to a new id using the corodva-registry-mapper.
> This causes a new id to be fetched even if an old id is already fetched in the plugins directory (at cordova-lib/src/plugman/install.js)
> However, plugman/fetch.js/copyPlugin() checks if the alias id is already in the plugins directory, and skips installing the fetched newId plugin.
> This causes unnecessary overhead.
> It is better to check if the oldId is already fetched, and skips fetching the newId from the beginning.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org