Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11062

Cloning git repo when installing a plugin doesn't fetch submodules

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 6.1.1
    • None

    Description

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

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

      The plugman helper gitclone.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)

      Relevant PR: https://github.com/apache/cordova-lib/pull/424

      Attachments

        Activity

          People

            Unassigned Unassigned
            jfrumar Julian Frumar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: