cordova-issues mailing list archives

[jira] [Commented] (CB-6357) platform check should install each platform to determine if they're functional and their version number

Date

Thu, 03 Jul 2014 01:42:25 GMT

[ https://issues.apache.org/jira/browse/CB-6357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14050976#comment-14050976
]
ASF subversion and git services commented on CB-6357:
-----------------------------------------------------
Commit a18029fe893a14416be78eaf2d2a3ac8c20c3016 in cordova-lib's branch refs/heads/master
from [~jsoref]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=a18029f ]
CB-6357 (fix latent bug)
> platform check should install each platform to determine if they're functional and their
version number
> -------------------------------------------------------------------------------------------------------
>
> Key: CB-6357
> URL: https://issues.apache.org/jira/browse/CB-6357
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.5.0
> Reporter: Josh Soref
> Assignee: Josh Soref
>
> Currently `cordova platform check` has a few behaviors which are not necessarily ideal:
> 1. It relies on the platforms.js file to have valid versions which match what is actually
in the cached ~/.cordova/lib space.
> 2. If a platform is installed for which there's a newer version which won't install (e.g.
you're on Windows and you have iOS installed), it could tell you that there's an upgrade available,
however, you won't be able to install it.
> We'd like to fix these limitations by having platform check actually run the version
script against a live project. This should mean that there will not be any false positives:
what you see is what you really could get.
--
This message was sent by Atlassian JIRA
(v6.2#6252)