You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/07/09 01:12:05 UTC

[jira] [Commented] (CB-7100) Use npm for downloading plugins and platform files

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

ASF subversion and git services commented on CB-7100:
-----------------------------------------------------

Commit 71c380a53faa9130bd1c47a17b91789a04eb2654 in cordova-lib's branch refs/heads/master from [~kamrik]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=71c380a ]

CB-7100: Use npm based lazy-load by default

Older git based download is still available under a --usegit flag e.g:
`cordova platform add ios --usegit`
`cordova prepare ios`

The cached files are stored in different locations depending on where they
were downloaded from because we don't want dirs that are not npm packages in
an npm managed cache dir.
~/.cordova/lib
~/.cordova/lib/npm_cache

If a copy downloaded via git already exists in the cache, lazy_load should
not attempt to download another copy from npm.


> Use npm for downloading plugins and platform files
> --------------------------------------------------
>
>                 Key: CB-7100
>                 URL: https://issues.apache.org/jira/browse/CB-7100
>             Project: Apache Cordova
>          Issue Type: Improvement
>            Reporter: Mark Koudritsky
>            Assignee: Mark Koudritsky
>
> We currently download the files cordova needs in several different ways.
> Switch to using "npm cache add" for most or all of the downloads.
> Previous commits related to this:
> https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=6b2ad7f2eb
> https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=55810360fe



--
This message was sent by Atlassian JIRA
(v6.2#6252)