You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2017/07/15 04:07:00 UTC

[jira] [Updated] (CB-11144) Make Git fetches faster for plugin, platforms, and templates by using --depth 1

     [ https://issues.apache.org/jira/browse/CB-11144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filip Maj updated CB-11144:
---------------------------
    Labels: backlog  (was: )

> Make Git fetches faster for plugin, platforms, and templates by using --depth 1
> -------------------------------------------------------------------------------
>
>                 Key: CB-11144
>                 URL: https://issues.apache.org/jira/browse/CB-11144
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-fetch
>            Reporter: Carlos Santana
>            Assignee: Carlos Santana
>              Labels: backlog
>
> Some users are complaining that some plugin git repos are too big, and the plugin is not available thru npm
> So people installing the plugin it can take up to 20 minutes to install a plugin because Cordova CLI it's doing a full git clone of the repo.
> I was wondering if the flag --depth 1 would make it faster by fetching just the last copy of the repo on the specified git hash, hash can be branch, or tag, or commit hash
> Going to ask to the mailing list to see of using --depth 1 is a good and safe change?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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