You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/03/26 19:51:15 UTC

[jira] [Commented] (CB-6329) [cordova-cli] improve 'cordova info' command to work asynchronous

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

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

GitHub user martincgg opened a pull request:

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

    CB-6329 improve 'cordova info' command

    info.js file has been modified to work mainly asynchronous.
    Added info-utils, which contains several useful functions required by
    info.js
    -It doesn't require a template to set an output.
    -getNode, getCordova, doPlatforms works asynchronous, works with
    callbacks and deals with errors.
    -it writes a report (info.txt) in rootProject.
    
    This changes are required for futures improvements.

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

    $ git pull https://github.com/martincgg/cordova-cli CB-6329

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

    https://github.com/apache/cordova-cli/pull/151.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 #151
    
----
commit aaf54666f4c9a99d910620d42baf5599d85dd7df
Author: Martin Gonzalez <ma...@gmail.com>
Date:   2014-03-26T18:48:08Z

    CB-6329 improve 'cordova info' command
    
    info.js file has been modified to work mainly asynchronous.
    Added info-utils, which contains several useful functions required by
    info.js
    -It doesn't require a template to set an output.
    -getNode, getCordova, doPlatforms works asynchronous, works with
    callbacks and deals with errors.
    -it writes a report (info.txt) in rootProject.
    
    This changes are required for futures improvements.

----


> [cordova-cli] improve 'cordova info' command to work asynchronous
> -----------------------------------------------------------------
>
>                 Key: CB-6329
>                 URL: https://issues.apache.org/jira/browse/CB-6329
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CLI
>    Affects Versions: 3.4.0
>            Reporter: Martin Gonzalez
>            Assignee: Martin Gonzalez
>              Labels: blackberry, cordova-cli, environment, info, wp8
>             Fix For: 3.5.0
>
>
> The 'cordova info' command it works in total sync, it takes some time to pull and push all data from the environment, so in order to use callbacks more friendly, I'd like to modify the flow structure of the file and improve it to use get callback outputs, write summary or log file without templates.
> I also, I'd like to add a secondary file that holds all specific functions related with 'get information about the dev environment'.



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