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

ASF GitHub Bot commented on CB-6469:
------------------------------------

GitHub user gorkem opened a pull request:

    https://github.com/apache/cordova-cli/pull/165

    CB-6469 - Restore plugins from config.xml

    Adds a save command to save the state of the installed plugins. Changes 
prepare so that config.xml is read and any missing plugins are installed. Adds 
some tests for the new features

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gorkem/cordova-cli plugin-reprovision

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-cli/pull/165.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #165
    
----
commit e424693dfb556771e308a2129881fe1cedc1d247
Author: Gorkem Ercan <[email protected]>
Date:   2014-04-17T00:33:22Z

    Initial implementation for automatic plugin installation
    
    Modifies prepare phase so that all features(plugins) that are in the 
config.xml are added as plugins to the project.
    Also adds a new save command to CLI which persists the currently added 
features to config.xml. Also adds a
    new function to ConfigParser for adding features.

commit d8dfaadaa4cdf96692093bc96bfe33a01d39026c
Author: Gorkem Ercan <[email protected]>
Date:   2014-04-17T20:49:14Z

    initial set of tests
    
    add tests for new save command and adds test for the ConfigParser.addFeature

----


> Restore plugins from config.xml
> -------------------------------
>
>                 Key: CB-6469
>                 URL: https://issues.apache.org/jira/browse/CB-6469
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: CLI
>    Affects Versions: 3.4.0
>            Reporter: Gorkem ERCAN
>            Assignee: Gorkem ERCAN
>
> CLI should be able to restore plugins that are listed on the top level 
> config.xml. 
> Essentially an entry like below, should cause the 
> org.apache.cordova.core.console plugin  version 0.2.8 to be installed from 
> registry. If version is omitted is should just use the latest available from 
> registry. 
> <feature name="Console">
>      <param name="id" value="org.apache.cordova.core.console" />
>     <param name="version" value="0.2.8" />
> </feature>
> Moreover we should add a save plugins command to save the currently installed 
> plugins to config.xml



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

Reply via email to