You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Graham Mueller (JIRA)" <ji...@apache.org> on 2014/09/17 17:40:34 UTC

[jira] [Commented] (CB-7569) Offline Plugin Add for CLI

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

Graham Mueller commented on CB-7569:
------------------------------------

This could work similar in nature to the way that NPM caches version of modules locally in your ~/.npm folder. I don't think this would be trivial to implement, but it also wouldn't be super easy. The versioning system for plugins doesn't really seem fully baked currently, so it probably wouldn't be able to support versions the same as the NPM tool does. Interesting idea though, I would also like to see this.

> 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)