You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Julian Frumar (JIRA)" <ji...@apache.org> on 2016/04/11 08:29:25 UTC

[jira] [Updated] (CB-11062) Cloning git repo when installing a plugin doesn't fetch submodules

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

Julian Frumar updated CB-11062:
-------------------------------
    Description: 
When installing a plugin using a git repo as the id, e.g:

{code}cordova plugin install https://github.com/path_to_git_repo{code}

The plugman helper [gitclone.js|https://github.com/apache/cordova-lib/blob/master/cordova-lib%2Fsrc%2Fgitclone.js] doesn't retrieve using the *--recursive* option, so submodules are not fetched.

This is breaking our plugin as cordova is failing to find all the necessary files as specified in the plugin.xml (some of them are from a nested git submodule repo)

  was:
When installing a plugin using a git repo as the id, e.g:

```cordova plugin install https://github.com/path_to_git_repo```

The plugman helper [gitclone.js|https://github.com/apache/cordova-lib/blob/master/cordova-lib%2Fsrc%2Fgitclone.js] doesn't retrieve using the *--recursive* option, so submodules are not fetched.

This is breaking our plugin as cordova is failing to find all the necessary files as specified in the plugin.xml (some of them are from a nested git submodule repo)


> Cloning git repo when installing a plugin doesn't fetch submodules
> ------------------------------------------------------------------
>
>                 Key: CB-11062
>                 URL: https://issues.apache.org/jira/browse/CB-11062
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib, Plugman
>    Affects Versions: 6.1.1
>            Reporter: Julian Frumar
>
> When installing a plugin using a git repo as the id, e.g:
> {code}cordova plugin install https://github.com/path_to_git_repo{code}
> The plugman helper [gitclone.js|https://github.com/apache/cordova-lib/blob/master/cordova-lib%2Fsrc%2Fgitclone.js] doesn't retrieve using the *--recursive* option, so submodules are not fetched.
> This is breaking our plugin as cordova is failing to find all the necessary files as specified in the plugin.xml (some of them are from a nested git submodule repo)



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