Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9077217209 for ; Fri, 3 Oct 2014 15:17:16 +0000 (UTC) Received: (qmail 415 invoked by uid 500); 3 Oct 2014 15:17:16 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 377 invoked by uid 500); 3 Oct 2014 15:17:16 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 364 invoked by uid 99); 3 Oct 2014 15:17:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2014 15:17:15 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mmocny@google.com designates 209.85.213.182 as permitted sender) Received: from [209.85.213.182] (HELO mail-ig0-f182.google.com) (209.85.213.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2014 15:16:50 +0000 Received: by mail-ig0-f182.google.com with SMTP id hn18so2678390igb.3 for ; Fri, 03 Oct 2014 08:16:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=rvMKzzflRVyKRVprts0A8KVaGhceUoyR9jD/n914LyM=; b=f+Uxy46kfkBuAlR1CTJiL4yzSGTge/o7+xRI1IRQci2ncdJTeQ8G5s+I8fudSHKN9w sgUHC22YAUSzZkJsA5ii7Xp7REs1GFN5bFlVvHbMpEJkgd7F3A2dtshUsEJEnb7wv7Su 95XuMD60nVStFeGsGc4H/0uv6lCSK+6WHsDn33fxU4N9EDxTYfnihgb5xuUTFwPkHrKF VyXsiJHCRHIWaeLVNV8ptX/hpoZYDMqOg6AE3mJhZhTskMHS/PT2wYLhGre7nKC49G2N /uXjo46QLNcRw8ALcF7aazK+OIG/4pKiYPrhb/7aeJrLo0JWUwCEdAwH3Qrba4sBheA5 dnDw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=rvMKzzflRVyKRVprts0A8KVaGhceUoyR9jD/n914LyM=; b=jVVgn6I8knqHa2YOOAY0UFXQTHJLu03tphW2DY+M7zOzWi0yP55qt6K/tzyMgg97Qo r786zp6P010wo1pQAvhFLFihqbO1DYHCTIcQfapa+n80kzgm7X5QQi2WvdXEwyrrIO7o vthZ+OGUeDQVRt5jPR6ddq5h44rq/+VkyWxns= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=rvMKzzflRVyKRVprts0A8KVaGhceUoyR9jD/n914LyM=; b=YjUqeTXbQxpOom2piSGqe88wgYO7HQxw8TAkXA5pCZJ2OdKbmaQLEbUa6nJCfby0Sd NR0zanSDOxToWHdh/w4G/hO4q/bfEFnSDEDuj6lvWtPDViszISe03BbECmrCT8Kaz4EY UMXwDjx21sh/Bv+QN2jP7yDsj855zxvSBzw6QNnM241GEOK9Qd2WQCQM08/4+GWsgI0P 2AdjKuTNBkPOATDkHMAaLLpiH88f0HUaXtlifp8b46w6ztTCxzpiGcUO3LgHsIPZopZQ sVbflwBKW64MpgI53fRd72SMiV0iIE6Bwez5r247Ra0LEcx2SNtEv81YqZbvz8zMgw12 pkQg== X-Gm-Message-State: ALoCoQkvplQFZndDQrTjVuNs1eZpdgcmcgGR8icWsm4jtYN462d538jaHn39jfjX7tHjXeVPiaK/ X-Received: by 10.50.61.144 with SMTP id p16mr15071039igr.38.1412349408592; Fri, 03 Oct 2014 08:16:48 -0700 (PDT) MIME-Version: 1.0 Sender: mmocny@google.com Received: by 10.64.59.168 with HTTP; Fri, 3 Oct 2014 08:16:28 -0700 (PDT) In-Reply-To: References: From: Michal Mocny Date: Fri, 3 Oct 2014 11:16:28 -0400 X-Google-Sender-Auth: DlwdaDlhOtgxZA39TEQUilWiMV4 Message-ID: Subject: Re: project version info To: Ian Clelland Cc: Michal Mocny , Ray Camden , "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=047d7bd6c11acc61010504863894 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bd6c11acc61010504863894 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Having our cli and platform versions so similar is going to confuse people. Lets skip version 4 and bump cli straight to version 10. On Fri, Oct 3, 2014 at 11:11 AM, Ian Clelland wrote: > > > On Fri, Oct 3, 2014 at 10:58 AM, Michal Mocny wrote= : > >> The reason CLI is reporting that number is because we tried to go semver >> in >> an odd way (CAD-SEM) and CLI version was supposed to be just the SEM par= t >> and the CAD was just informational -- which hasn't worked out so well. >> The >> next CLI release is going to drop the old SEM and turn the existing CAD >> into the new SEM. i.e.: npm install -g cordova@rc you'll notice that it= s >> just 3.7.0. >> > > There's also the issue that the CLI version doesn't necessarily correspon= d > exactly to the platform versions. CLI 3.6.0-0.2.9 by default installs > Android 3.6.0, for instance, but FFOS 3.6.1. And with independent platfor= m > releases, it's about to get a lot weirder. > > I don't know if a better question is which CLI version you used to create > a project, or which platform versions are actually installed (which you c= an > get from `cordova platfom ls`) > > Ian > >> >> >> w.r.t. reporting installed version and not workspace created version: th= e >> version of the CLI that was used to create a project should not be what = is >> important. Its the current versions of the platforms and plugins within >> your workspace that are actually important. >> >> This is because when you upgrade your CLI, we will not use the version >> that >> was used to create the project any more. There have been proposals for >> this, but its not implemented, we just assume you always want the latest >> CLI to manage your workspace. >> >> This could become an issue if the CLI breaks compatibility with director= y >> structure / old platform/plugin structure, but that hasn't come up yet. >> If >> that *does* happen, we can introduce a "created-with" at that point, and >> use the lack of "created-with" as a signal for old version. >> >> For what its worth, for cca we drop a "created-with-cca-version" file >> inside your platforms/ folder, since we currently also pin platforms. >> When >> you upgrade your cca tool, we then know to prompt for a platforms upgrad= e. >> I don't know if this will still be necessary with independent platform >> releases. >> >> -Michal >> >> >> On Fri, Oct 3, 2014 at 6:41 AM, Ray Camden wrote: >> >> > I=C2=B9m posting this here as opposed to the Google Group as it seems = like >> the >> > type of thing that may have been discussed, then turned down, and I >> > figured this list was best to answer why. >> > >> > Unless I=C2=B9m not seeing it, there is no way to tell what version of= the >> CLI >> > was used to build a project. Oddly =C2=B3cordova info=C2=B2 will retur= n Cordova >> > version, but for me, the # makes no sense. Here is one I got with a >> recent >> > project: 0.21.13. >> > >> > Is there a reason why 3.6.3 isn=C2=B9t returned and not saved in confi= g.xml? >> > >> > I=C2=B9m assuming it is because plugin version info is more important,= but I >> > can definitely seeing wanting to know what CLI version was used. >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org >> > For additional commands, e-mail: dev-help@cordova.apache.org >> > >> > >> > > --047d7bd6c11acc61010504863894--