cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shazron <shaz...@gmail.com>
Subject Re: Question about versioning
Date Wed, 04 Nov 2015 17:03:23 GMT
I think `platforms` is just an alias to `platform` and shouldn't
affect what is output.
I'm not sure what's going on with this feature -- it does not seem to
have any tests:
https://github.com/apache/cordova-lib/blob/master/cordova-lib/spec-cordova/platform.spec.js

On Wed, Nov 4, 2015 at 8:53 AM, Raymond Camden <raymondcamden@gmail.com> wrote:
> 1) And to make things more confusing. I get different results if I do
>
> cordova platforms check
>
> (ie plural)
>
> With that I get:
>
> android @ 4.1.1; current did not install, and thus its version cannot
> be determined
> browser @ 3.5.2; current did not install, and thus its version cannot
> be determined
> ios @ 3.9.1; current did not install, and thus its version cannot be determined
>
> So the errant output goes away,  but the reporting is worse now (for
> browser anyway).
>
>
> On Wed, Nov 4, 2015 at 10:52 AM, Raymond Camden <raymondcamden@gmail.com> wrote:
>> 1) I'm confused then. On another project, I got this:
>>
>> add to body class: platform-browser
>> android @ 4.1.1; current did not install, and thus its version cannot
>> be determined
>> browser @ 3.5.2 could be updated to: 4.0.0
>> ios @ 3.9.1; current did not install, and thus its version cannot be determined
>>
>> The first line is obviously a bug - I'll report it. The 3rd line looks
>> to be working right.
>>
>> Again though for iOS it doesn't see 3.9.2. It should, right?
>>
>>
>> On Wed, Nov 4, 2015 at 10:49 AM, Shazron <shazron@gmail.com> wrote:
>>> 1) I had 3.9.1 ios installed, it gave me this:
>>>
>>> $ cordova platform check
>>>
>>> iOS project created with cordova-ios@3.9.2
>>>
>>> The message could be better though.
>>>
>>> 3) Probably not, since we don't update the docs with each CLI release.
>>> Probably just say its the "latest".
>>>
>>>
>>> On Wed, Nov 4, 2015 at 8:46 AM, Raymond Camden <raymondcamden@gmail.com>
wrote:
>>>> 1) Wow! Cool! But it doesn't seem to work for me. I tried it on a
>>>> somewhat old project with just iOS 3.6.3:
>>>>
>>>> android @ 4.1.1; current did not install, and thus its version cannot
>>>> be determined
>>>> ios @ 3.6.3; current did not install, and thus its version cannot be determined
>>>>
>>>> 3) Will it match the CLI version?
>>>>
>>>> On Wed, Nov 4, 2015 at 10:43 AM, Shazron <shazron@gmail.com> wrote:
>>>>> 1) cordova platform check
>>>>> (should be in the help)
>>>>>
>>>>> 2) don't think there is anything for plugins
>>>>>
>>>>> 3) The version has not been updated. There was talk at the F2F to
>>>>> better update it wrt versions and the dropdown
>>>>>
>>>>> On Wed, Nov 4, 2015 at 8:34 AM, Raymond Camden <raymondcamden@gmail.com>
wrote:
>>>>>> I'm working on a blog post that talks about how to determine what
>>>>>> version of a platform/plugin you have and how to update it. I've
got a
>>>>>> few questions regarding this process:
>>>>>>
>>>>>> 1) Today (or last night :) an updated version of the iOS platform
was
>>>>>> released. How do I determine, via the CLI, what the most recent
>>>>>> version is for the iOS platform? I know the npm package is
>>>>>> cordova-ios, and I can npm info cordova-ios version, but is there
a
>>>>>> more direct way via the cordova cli itself? How does a person get
a
>>>>>> list of all the npm packages for the platforms? I figure they are
all
>>>>>> easy to guess, but I'm just curious what the expectation there is.
>>>>>>
>>>>>> 2) Ditto for plugins. Is there a way outside of npm info?
>>>>>>
>>>>>> 3) The docs show Cordova 5.1.1. What exactly is that? The CLI itself
>>>>>> is version 5.3.3.
>>>>>>
>>>>>> --
>>>>>> ===========================================================================
>>>>>> Raymond Camden, Developer Advocate for MobileFirst at IBM
>>>>>>
>>>>>> Email : raymondcamden@gmail.com
>>>>>> Blog : www.raymondcamden.com
>>>>>> Twitter: raymondcamden
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
>>>>>> For additional commands, e-mail: dev-help@cordova.apache.org
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
>>>>> For additional commands, e-mail: dev-help@cordova.apache.org
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> ===========================================================================
>>>> Raymond Camden, Developer Advocate for MobileFirst at IBM
>>>>
>>>> Email : raymondcamden@gmail.com
>>>> Blog : www.raymondcamden.com
>>>> Twitter: raymondcamden
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
>>>> For additional commands, e-mail: dev-help@cordova.apache.org
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
>>> For additional commands, e-mail: dev-help@cordova.apache.org
>>>
>>
>>
>>
>> --
>> ===========================================================================
>> Raymond Camden, Developer Advocate for MobileFirst at IBM
>>
>> Email : raymondcamden@gmail.com
>> Blog : www.raymondcamden.com
>> Twitter: raymondcamden
>
>
>
> --
> ===========================================================================
> Raymond Camden, Developer Advocate for MobileFirst at IBM
>
> Email : raymondcamden@gmail.com
> Blog : www.raymondcamden.com
> Twitter: raymondcamden
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> For additional commands, e-mail: dev-help@cordova.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message