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

Gorkem ERCAN commented on CB-7569:
----------------------------------

plugman already caches the plugins that are loaded from the plugin registry. 
Unless explicitly configured they should be under $HOME/.plugman/cache. It 
actually uses npm to load plugins from registry.  

At least for me it installs the cached copy, it does a few http calls and waits 
for them to timeout so it takes a bit longer. If this request is specifically 
for installing plugins from registry, I do not think there is anything else to 
do here.

> Offline Plugin Add for CLI
> --------------------------
>
>                 Key: CB-7569
>                 URL: https://issues.apache.org/jira/browse/CB-7569
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: CLI
>            Reporter: Lisa Seacat DeLuca
>            Priority: Minor
>
> Seems like whenever I'm demoing Cordova at a conference I am competing with 
> the attendees for an internet connection.  Which means that I get an error 
> trying to do cordova plugin add ____ because it can't fetch it from the 
> internet.  What would be cool is if the CLI didn't fail on internet 
> connection IF the user already has a separate project that has that same 
> plugin installed.  For example, suppose I'm demoing camera and the internet 
> is down.  But I happen to have already installed the camera plugin for 
> another project.  Rather than fail, the system will copy the camera plugin 
> from the other project and use that.  Of course a nice message to the user 
> "we're borrowing from project X because the internet was down" would be nice.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to