You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2013/08/19 21:27:47 UTC

[jira] [Created] (CB-4624) Allow apps to specify plugin dependencies within their config.xml

Andrew Grieve created CB-4624:
---------------------------------

             Summary: Allow apps to specify plugin dependencies within their config.xml
                 Key: CB-4624
                 URL: https://issues.apache.org/jira/browse/CB-4624
             Project: Apache Cordova
          Issue Type: New Feature
          Components: CLI
            Reporter: Andrew Grieve


Use-case: Be able to have plugins/ and platforms/ in your .gitignore

Be able to specify what plugins an app depends on within config.xml. The list should be updated whenever you perform a "cordova plugin add", just like "npm install --save" does for node. If no commit is specified, then the latest is downloaded and the hash is extracted & saved into the config.xml.

The syntax should match that of <dependency> tags within the plugin spec:
http://cordova.apache.org/docs/en/3.0.0/plugin_ref_spec.md.html#Plugin%20Specification. Note that there's an open issue to fold the commit/subdir into the URI (CB-4622).

We'll need a new command for installing dependencies. Maybe:
  "cordova install"?
  "cordova plugin install"?
  "cordova project init"?



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira