cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5259) CLI plugin list should show the version of the installed plugin
Date Mon, 04 Nov 2013 22:53:18 GMT

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

Peter commented on CB-5259:
---------------------------

Thanks for the reply Brad. Your tuit is in the mail - you should receive it by Thursday.

Another missing part of the plugin version puzzle is this: How is a user expected to know
when their installed plugin are out of date? Apart some stumbling on some mention in a blog,
or checking with the registry every day for updates it is unclear to me what is the assumed
mechanism.

Is this also something that the planned new CLI reporting feature will address?

For example, imagine something like this:

D:\IMAPS\work\trunk\SRC\IMAPSAgent3x>*cordova plugin info*
|org.apache.cordova.battery-status      |0.2.4| latest|
|org.apache.cordova.camera              |0.2.4| latest|
|org.apache.cordova.console             |0.2.4| latest|
|org.apache.cordova.contacts            |0.2.4 |0.2.5 available at http://registry.cordova.io/org.apache.cordova.contacts/-/org.apache.cordova.contacts-0.2.5.tgz|
|org.apache.cordova.device              |0.2.4| latest|
|org.apache.cordova.device-motion       |0.2.3| latest|
|org.apache.cordova.device-orientation  |0.3.2| latest|
|org.apache.cordova.dialogs             |0.2.3| latest|
|org.apache.cordova.file                |0.2.4 |0.2.5 available at http://registry.cordova.io/org.apache.cordova.file/-/org.apache.cordova.file-0.2.5.tgz|
|org.apache.cordova.file-transfer       |0.3.3 |0.3.4 available at http://registry.cordova.io/org.apache.cordova.file-transfer/-/org.apache.cordova.file-transfer-0.3.4.tgz|
|org.apache.cordova.geolocation         |0.3.3| latest|
|org.apache.cordova.globalization       |0.2.3| latest|
|org.apache.cordova.inappbrowser        |0.2.3 |0.2.4 available at http://registry.cordova.io/org.apache.cordova.inappbrowser/-/org.apache.cordova.inappbrowser-0.2.4.tgz|
|org.apache.cordova.media               |0.2.4 |0.2.5 available at http://registry.cordova.io/org.apache.cordova.media/-/org.apache.cordova.media-0.2.5.tgz|
|org.apache.cordova.media-capture       |0.2.3 |0.2.4 available at http://registry.cordova.io/org.apache.cordova.media-capture/-/org.apache.cordova.media-capture-0.2.4.tgz|
|org.apache.cordova.network-information |0.2.4| latest|
|org.apache.cordova.splashscreen        |0.2.4| latest|
|org.apache.cordova.vibration           |0.3.3 |0.3.4 available at http://registry.cordova.io/org.apache.cordova.vibration/-/org.apache.cordova.vibration-0.3.4.tgz|


> 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
>            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.1#6144)

Mime
View raw message