[jira] [Commented] (CB-7033) cordova platform check command not working

2014-10-21 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14178989#comment-14178989
 ] 

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

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

CB-7033 Improve cordova platform check

* Fix spelling of determined


 cordova platform check command not working
 --

 Key: CB-7033
 URL: https://issues.apache.org/jira/browse/CB-7033
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.4.0
Reporter: Victor Adrian Sosa Herrera
Assignee: Josh Soref
Priority: Minor

 I have an app with Android installed and I know it was created with Cordova 
 3.3.1-0.1.2.
 After running this command with a 3.4.1-1.0. CLI I get the following
 {{$ cordova platform check}}
 {{All platforms are up-to-date.}}
 But after running cordova platform ls I get the following
 {{$ cordova platform ls}}
 {{Installed platforms: android broken}}
 {{Available platforms: amazon-fireos, blackberry10, firefoxos, ubuntu}}
 Using _platform check_ arguments I don't get the result I'm looking for (a 
 platform out-of-date), while using _platform ls_ it's not very clear, but I 
 presume the _broken_ platform is like an out-of-date message



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7033) cordova platform check command not working

2014-10-21 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14178991#comment-14178991
 ] 

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

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

CB-7033 Improve cordova platform check

* Report when cordova is out of date


 cordova platform check command not working
 --

 Key: CB-7033
 URL: https://issues.apache.org/jira/browse/CB-7033
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.4.0
Reporter: Victor Adrian Sosa Herrera
Assignee: Josh Soref
Priority: Minor

 I have an app with Android installed and I know it was created with Cordova 
 3.3.1-0.1.2.
 After running this command with a 3.4.1-1.0. CLI I get the following
 {{$ cordova platform check}}
 {{All platforms are up-to-date.}}
 But after running cordova platform ls I get the following
 {{$ cordova platform ls}}
 {{Installed platforms: android broken}}
 {{Available platforms: amazon-fireos, blackberry10, firefoxos, ubuntu}}
 Using _platform check_ arguments I don't get the result I'm looking for (a 
 platform out-of-date), while using _platform ls_ it's not very clear, but I 
 presume the _broken_ platform is like an out-of-date message



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7033) cordova platform check command not working

2014-10-21 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14178990#comment-14178990
 ] 

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

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

CB-7033 Improve cordova platform check

* Make a softer statement about up-to-date status


 cordova platform check command not working
 --

 Key: CB-7033
 URL: https://issues.apache.org/jira/browse/CB-7033
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.4.0
Reporter: Victor Adrian Sosa Herrera
Assignee: Josh Soref
Priority: Minor

 I have an app with Android installed and I know it was created with Cordova 
 3.3.1-0.1.2.
 After running this command with a 3.4.1-1.0. CLI I get the following
 {{$ cordova platform check}}
 {{All platforms are up-to-date.}}
 But after running cordova platform ls I get the following
 {{$ cordova platform ls}}
 {{Installed platforms: android broken}}
 {{Available platforms: amazon-fireos, blackberry10, firefoxos, ubuntu}}
 Using _platform check_ arguments I don't get the result I'm looking for (a 
 platform out-of-date), while using _platform ls_ it's not very clear, but I 
 presume the _broken_ platform is like an out-of-date message



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7033) cordova platform check command not working

2014-10-21 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14178993#comment-14178993
 ] 

ASF GitHub Bot commented on CB-7033:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-lib/pull/108


 cordova platform check command not working
 --

 Key: CB-7033
 URL: https://issues.apache.org/jira/browse/CB-7033
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.4.0
Reporter: Victor Adrian Sosa Herrera
Assignee: Josh Soref
Priority: Minor

 I have an app with Android installed and I know it was created with Cordova 
 3.3.1-0.1.2.
 After running this command with a 3.4.1-1.0. CLI I get the following
 {{$ cordova platform check}}
 {{All platforms are up-to-date.}}
 But after running cordova platform ls I get the following
 {{$ cordova platform ls}}
 {{Installed platforms: android broken}}
 {{Available platforms: amazon-fireos, blackberry10, firefoxos, ubuntu}}
 Using _platform check_ arguments I don't get the result I'm looking for (a 
 platform out-of-date), while using _platform ls_ it's not very clear, but I 
 presume the _broken_ platform is like an out-of-date message



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7033) cordova platform check command not working

2014-10-20 Thread Josh Soref (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14177461#comment-14177461
 ] 

Josh Soref commented on CB-7033:


For reference, broken means that the version script failed.

There are various ways for things like that to happen.

One way is for a script/file which your version script depends on to go 
missing/lose its execute bit.

The current cordova-android version script is pretty self contained, so it 
should either fail because it lost its execute bit, or in this case it's so old 
that it depended on lots of other stuff.

The reason that platform check didn't say anything is that you probably didn't 
have enough of the android system in your path.

Roughly, if you can't do: cordova platform add android (typically because 
android and ant aren't in your path), then it doesn't make sense to say 
cordova android (version unknown - due to broken version script) could be 
updated to cordova android (supposedly version X, but won't actually install).

Instead of cordova platform check giving something really 
complicated/confusing, it currently just stays mum when it can't express 
something helpful.

I think the up-to-date message should be changed to No platforms can be 
updated at this time. which is more accurate.

It should also suggest checking to see if cordova itself is current, since if 
you're running cordova 3.4.1, and the current version is cordova 4.0.0, the 
check system won't be able to tell you about a newer version of cordova-android 
than the one that shipped w/ 3.4.1.

 cordova platform check command not working
 --

 Key: CB-7033
 URL: https://issues.apache.org/jira/browse/CB-7033
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.4.0
Reporter: Victor Adrian Sosa Herrera
Priority: Minor

 I have an app with Android installed and I know it was created with Cordova 
 3.3.1-0.1.2.
 After running this command with a 3.4.1-1.0. CLI I get the following
 {{$ cordova platform check}}
 {{All platforms are up-to-date.}}
 But after running cordova platform ls I get the following
 {{$ cordova platform ls}}
 {{Installed platforms: android broken}}
 {{Available platforms: amazon-fireos, blackberry10, firefoxos, ubuntu}}
 Using _platform check_ arguments I don't get the result I'm looking for (a 
 platform out-of-date), while using _platform ls_ it's not very clear, but I 
 presume the _broken_ platform is like an out-of-date message



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7033) cordova platform check command not working

2014-10-20 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14177758#comment-14177758
 ] 

ASF GitHub Bot commented on CB-7033:


GitHub user jsoref opened a pull request:

https://github.com/apache/cordova-lib/pull/108

CB-7033 Improve cordova platform check …

* Make a softer statement about up-to-date status
* Report when cordova is out of date

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

$ git pull https://github.com/jsoref/cordova-lib cb_7033

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

https://github.com/apache/cordova-lib/pull/108.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 #108


commit 5cdbf7ac059f37f2ccba79049ab1e42338d408b6
Author: Josh Soref jso...@blackberry.com
Date:   2014-10-21T00:58:05Z

CB-7033 Improve cordova platform check

* Make a softer statement about up-to-date status

commit 3e8976835b5cbf4bcce6cfc188673a4d4d2d3941
Author: Josh Soref jso...@blackberry.com
Date:   2014-10-21T00:58:47Z

CB-7033 Improve cordova platform check

* Report when cordova is out of date




 cordova platform check command not working
 --

 Key: CB-7033
 URL: https://issues.apache.org/jira/browse/CB-7033
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.4.0
Reporter: Victor Adrian Sosa Herrera
Priority: Minor

 I have an app with Android installed and I know it was created with Cordova 
 3.3.1-0.1.2.
 After running this command with a 3.4.1-1.0. CLI I get the following
 {{$ cordova platform check}}
 {{All platforms are up-to-date.}}
 But after running cordova platform ls I get the following
 {{$ cordova platform ls}}
 {{Installed platforms: android broken}}
 {{Available platforms: amazon-fireos, blackberry10, firefoxos, ubuntu}}
 Using _platform check_ arguments I don't get the result I'm looking for (a 
 platform out-of-date), while using _platform ls_ it's not very clear, but I 
 presume the _broken_ platform is like an out-of-date message



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7033) cordova platform check command not working

2014-10-20 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14177806#comment-14177806
 ] 

ASF GitHub Bot commented on CB-7033:


Github user jsoref commented on the pull request:

https://github.com/apache/cordova-lib/pull/108#issuecomment-59867354
  
Here's sample output:
```sh
An update of cordova is available: 4.0.0
android @ 3.6.4; current did not install, and thus its version cannot be 
determined
blackberry10 @ broken could be updated to: 3.6.3
firefoxos @ 3.6.1 could be updated to: 3.6.3
```


 cordova platform check command not working
 --

 Key: CB-7033
 URL: https://issues.apache.org/jira/browse/CB-7033
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.4.0
Reporter: Victor Adrian Sosa Herrera
Assignee: Josh Soref
Priority: Minor

 I have an app with Android installed and I know it was created with Cordova 
 3.3.1-0.1.2.
 After running this command with a 3.4.1-1.0. CLI I get the following
 {{$ cordova platform check}}
 {{All platforms are up-to-date.}}
 But after running cordova platform ls I get the following
 {{$ cordova platform ls}}
 {{Installed platforms: android broken}}
 {{Available platforms: amazon-fireos, blackberry10, firefoxos, ubuntu}}
 Using _platform check_ arguments I don't get the result I'm looking for (a 
 platform out-of-date), while using _platform ls_ it's not very clear, but I 
 presume the _broken_ platform is like an out-of-date message



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org