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 subversion and git services (JIRA)" <ji...@apache.org> on 2014/05/05 22:19:17 UTC

[jira] [Commented] (CB-5259) CLI plugin list should show the version of the installed plugin

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

ASF subversion and git services commented on CB-5259:
-----------------------------------------------------

Commit c8910b972fafae524c9e29ac5263c7822f018020 in cordova-lib's branch refs/heads/master from [~kamrik]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=c8910b9 ]

CB-5259: Print plugin versions and check deps

On `plugin ls` print out plugin versions and check whether versions specified
in dependencies are satisfied.


> CLI plugin list should show the version of the installed plugin
> ---------------------------------------------------------------
>
>                 Key: CB-5259
>                 URL: https://issues.apache.org/jira/browse/CB-5259
>             Project: Apache Cordova
>          Issue Type: Wish
>          Components: CLI
>    Affects Versions: 3.1.0
>            Reporter: Peter
>            Assignee: Mark Koudritsky
>            Priority: Minor
>
> The *cordova plugin* list operation would be more useful if it also displayed the _version_ of the currently installed plugin - to help user decide if they needed to upgrade said plugin or not. Currently seems only way to discover plugin versions is to manually look in the plugin.xml file of each plugin...
> Currently cordova plugin just shows the plugin id but a simple directory listing of plugins would acheive pretty much the same thing in my CLI project. For example,
> *cordova plugin*
> {code}
> D:\IMAPS\work\trunk\SRC\IMAPSAgent3x>cordova plugin
> [ 'org.apache.cordova.battery-status',
>   'org.apache.cordova.camera',
>   'org.apache.cordova.console',
>   'org.apache.cordova.contacts',
>   'org.apache.cordova.device',
>   'org.apache.cordova.device-motion',
>   'org.apache.cordova.device-orientation',
>   'org.apache.cordova.dialogs',
>   'org.apache.cordova.file',
>   'org.apache.cordova.file-transfer',
>   'org.apache.cordova.geolocation',
>   'org.apache.cordova.globalization',
>   'org.apache.cordova.inappbrowser',
>   'org.apache.cordova.media',
>   'org.apache.cordova.media-capture',
>   'org.apache.cordova.network-information',
>   'org.apache.cordova.splashscreen',
>   'org.apache.cordova.vibration' ]
> {code}
> *dir /AD plugins*
> {code}
> D:\IMAPS\work\trunk\SRC\IMAPSAgent3x>dir /AD plugins
>  Volume in drive D has no label.
>  Volume Serial Number is AAB8-3216
>  Directory of D:\IMAPS\work\trunk\SRC\IMAPSAgent3x\plugins
> 16/10/2013  04:57 PM    <DIR>          .
> 16/10/2013  04:57 PM    <DIR>          ..
> 16/10/2013  04:57 PM    <DIR>          org.apache.cordova.battery-status
> 16/10/2013  04:57 PM    <DIR>          org.apache.cordova.camera
> 16/10/2013  04:57 PM    <DIR>          org.apache.cordova.console
> 16/10/2013  04:57 PM    <DIR>          org.apache.cordova.contacts
> 16/10/2013  04:57 PM    <DIR>          org.apache.cordova.device
> 16/10/2013  04:57 PM    <DIR>          org.apache.cordova.device-motion
> 16/10/2013  04:57 PM    <DIR>          org.apache.cordova.device-orientation
> 16/10/2013  04:57 PM    <DIR>          org.apache.cordova.dialogs
> 16/10/2013  04:57 PM    <DIR>          org.apache.cordova.file
> 16/10/2013  04:57 PM    <DIR>          org.apache.cordova.file-transfer
> 16/10/2013  04:57 PM    <DIR>          org.apache.cordova.geolocation
> 16/10/2013  04:57 PM    <DIR>          org.apache.cordova.globalization
> 16/10/2013  04:57 PM    <DIR>          org.apache.cordova.inappbrowser
> 16/10/2013  04:57 PM    <DIR>          org.apache.cordova.media
> 16/10/2013  04:57 PM    <DIR>          org.apache.cordova.media-capture
> 16/10/2013  04:57 PM    <DIR>          org.apache.cordova.network-information
> 16/10/2013  04:57 PM    <DIR>          org.apache.cordova.splashscreen
> 16/10/2013  04:57 PM    <DIR>          org.apache.cordova.vibration
>                0 File(s)              0 bytes
>               20 Dir(s)  36,917,051,392 bytes free
> {code}



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