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 7954A10224 for ; Thu, 13 Mar 2014 20:01:18 +0000 (UTC) Received: (qmail 18580 invoked by uid 500); 13 Mar 2014 20:01:17 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 18547 invoked by uid 500); 13 Mar 2014 20:01:17 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 18537 invoked by uid 99); 13 Mar 2014 20:01:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Mar 2014 20:01:17 +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 (athena.apache.org: domain of brian.leroux@gmail.com designates 209.85.223.173 as permitted sender) Received: from [209.85.223.173] (HELO mail-ie0-f173.google.com) (209.85.223.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Mar 2014 20:01:12 +0000 Received: by mail-ie0-f173.google.com with SMTP id rl12so1572386iec.18 for ; Thu, 13 Mar 2014 13:00:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=1nm6yTahdrFDDodVLw4e4p1LMW/9flPWQkiMZ6b44nU=; b=J2HtRtD0aC2qwSgGlGM4a97BWrVJyyxDvxY0b4P2DShoxeBoKryQFE9wgcCXKjIj/b rJtMtdSs0JPSYAyVlITB6HdokVq8rpoz3QptrPqkiXRi5ih9YGiUXXKs8S6Xf9A9kvcP fn8atbDlUPoOfvw+jI86/zynl3B5u+Pxrr5ai0V1LRTyFONLrdtj2dZERjIPe6W5Xmqd T833APpr14itPUh9Iwp/FvvX18CEHCF6O5RKqUA7qkGLrgZa7c/I8ib2hIAIvHNXtohp rh9SEA9Yj5LbV4ISVY91VkxU8v+uKF6XgAWqi4sTOUIRtYGVqq4SdYa+PTLoRXkPd5E5 Hlrg== MIME-Version: 1.0 X-Received: by 10.43.51.65 with SMTP id vh1mr3333673icb.24.1394740852052; Thu, 13 Mar 2014 13:00:52 -0700 (PDT) Sender: brian.leroux@gmail.com Received: by 10.50.213.35 with HTTP; Thu, 13 Mar 2014 13:00:51 -0700 (PDT) In-Reply-To: References: Date: Thu, 13 Mar 2014 13:00:51 -0700 X-Google-Sender-Auth: uA8E6in4mwm0ZvV3sm1qWa2GR_U Message-ID: Subject: Re: Releasing Platforms Independently From: Brian LeRoux To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=bcaec5299ad70a59d104f4826986 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec5299ad70a59d104f4826986 Content-Type: text/plain; charset=ISO-8859-1 I definitely love the idea of making this part of the machine move faster, and treating platforms as a dependency of the CLI in theory should not have any cross cutting impacts *unless* we decide to change the plugin interface. Our CLI version effectively becomes the 'Cordova' version. Docs needs an overhaul regardless so I see no issue there. How do you guys think we go about tackling this? Should we consider starting w/ the Docs since that seems to be the squeakiest wheel? On Thu, Mar 13, 2014 at 9:55 AM, Michal Mocny wrote: > On Thu, Mar 13, 2014 at 11:38 AM, Andrew Grieve >wrote: > > > I think it would be beneficial if we could release updates to platforms > > independent from others. Why? > > - Far easier to do one-off platform releases (e.g. quick turn-around on a > > security update, quick turn around on iOS is broken on the latest Xcode) > > - Platforms can release on their own schedule (big new features will get > > released sooner) > > > > > > This doesn't come without bumps though. I'd like to use this thread to > > explore the idea and to enumerate what would have to change to get there. > > > > Here are some things I can think of: > > > > Cordova-docs: > > - We have a version drop-down in the top-right corner. > > - I think this would mean getting rid of the version drop down (or > rather, > > not adding new entries to it). > > - Always have people pointed at "edge" > > - For things that refer to specific versions, put them inline > > - E.g. like we do for upgrade guides > > - When a new API is introduced & is documented, we'll have to be better > at > > annotating what version it showed up in. > > > > Huge +1. This is a bit of an effort, sure, but every single damn time I > search for a cordova question I end up on docs for cordova 2.3 or > something, the version switcher takes me to home, and manually editing for > "edge" doesn't always match urls. > > > > > > > > Blog posts: > > - We currently do one release announcement for all the platforms. > > - I think it'll actually be a good thing to have shorter & more focused > > release announcements (one post per platform) > > > > I'm fine with this, but I do still think we want some special outlet to be > "louder" about larger changes much like we have been with monthly cadence > releases. > > > > > > > > Mobile-spec: > > - This is on the way out anyway I think, with moving tests into plugins. > > - Even so, not a big deal to not have this strictly versioned. > > > > > > cordova-js: > > - Platforms will have cordova-js cut at different times. > > - I don't think this is a good or a bad thing. > > - JS versioning stamped at the top of the file: > > - Change to have both platform version as well as JS version available > > at runtime. > > - JS version will just be a "git describe" > > > > CLI versioning: > > - It won't make sense to version it as CadVer-SemVer anymore > > - This essentially kills off the idea of CadVer. > > - That scheme wasn't working well anyways since you can't actually > depend > > on the SemVer part of it in a SemVer way (you can't say > > dependency=">x.x.x-0.2") > > - CadVer-SemVer, I think, is causing people to not update their tools > if > > they aren't ready to update their platforms. > > - With this change, we should just have CLI be SemVer only. > > - If we move platforms to NPM, we wouldn't even need to push CLI > updates > > with platforms. > > > > This is another huge benefit, I think. > > > > > > > > > > Anything else? Please feel free to add inline here on things I've missed > > out, or on things you'd be concerned about changing. > > > > Thanks for going over this. Sounds to me like this is almost entirely > upside. > --bcaec5299ad70a59d104f4826986--