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 BCD69103F5 for ; Thu, 22 Aug 2013 17:49:33 +0000 (UTC) Received: (qmail 68369 invoked by uid 500); 22 Aug 2013 17:49:33 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 68343 invoked by uid 500); 22 Aug 2013 17:49:33 -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 68335 invoked by uid 99); 22 Aug 2013 17:49:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Aug 2013 17:49:33 +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.219.48 as permitted sender) Received: from [209.85.219.48] (HELO mail-oa0-f48.google.com) (209.85.219.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Aug 2013 17:49:27 +0000 Received: by mail-oa0-f48.google.com with SMTP id o17so3971430oag.7 for ; Thu, 22 Aug 2013 10:49:05 -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:content-type; bh=pzqtmiOO89lk8hkbm6M5HfD9wQj3otkz+uPMT84NGYI=; b=Z4daGA+kWJqEfZgcBHalpg9SzAfcIX3Z7/VgRrij2UREsV22WTsxHDpP5OTJcO+H9G xkCGwdX4pouTRF1/5k7qaMS2dxElhEVy8xhWdMgYb4bQAuMwIKpkw2PRPMswZwS49lNO soSj6ZduEzEgwmM1rCvIbY5h2FE9HJ55He8mWEWl0P1uAiWvrukBI25cVW9vxFlMePj5 uSMrvCKZQFizoNSNiPDNYc3kgz7Q7Sg7JW0NkhQ/JfGxD3itBdyiu2elSGMow/GI1oDr FbvmUxM8pzJHbAp2rPAF3FLnLYVQrhnI1ahXcwlEw6zLasVmk/cUEWO61prakRwIGg8c sy+g== 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:content-type; bh=pzqtmiOO89lk8hkbm6M5HfD9wQj3otkz+uPMT84NGYI=; b=nhdLgezpyFRZJUPfvIvgEzm9fJi5RsvAKOj9QJKfExaaX32YVRUIaigUfO1rfv2m3D GNb+aluCQYeMoDHAMYklTmdfYcu0tYTIq5K0aYiMKVOpoxxiFBEW+5jIHw6D3Pa8MF34 ZaE3Ens5EHAqzoc4cPS6q+Vyq5Ult9GzTOY5g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-type; bh=pzqtmiOO89lk8hkbm6M5HfD9wQj3otkz+uPMT84NGYI=; b=UEe1hMA0x4Lhkxug5xDYPf+p/TzC0h6d/+BCRq6sOL9/xs6mYr1ZRXgSGRnhdlsVE/ evP/RRxHalnimS1zQcrj1bwNHjzyH8WzZNPY1UkcPX5Fig3poUqRYWvLOEeBq1rCxzCa KpJsRH7pyH9Mhp0tO/FHe9v40tTvHYjNL5MGrIDQ1SNIdMqa8L71pOp/pF4mX6xkat6M DyXc4HBV9H72vjoQjIrZJFZTjt+vdc+FXvyfo3wSYTH/gafnIEwFV+kk3RedvXwEutdr bLeoSpi1jq+pBMfc6PdokRN3TZDTYzTwn17C0JqQbTx9ibK1qQQsqeIPVs3LRFmNPYAc msug== X-Gm-Message-State: ALoCoQkMKmAbd/1GkgKFV2UWTpw2ngWuA6IHVF9b29Pn3UncendA/jUCJ28scgoM7GJO7jDMauMRhFXOQAic1bIlXe2rBgfexFZj4uXDGOTwoCHzoyOku8mOHP9/eQQPgcwNKg+n6S69GUGbnjFmtBsmoxP+51ueuTmeeIgYobyWlcdpPCi2nlvLkJNuJ5AmyYbx0sZmZG3T2/FfRBxJSqwp6UeQPfgS6w== X-Received: by 10.182.230.135 with SMTP id sy7mr15449236obc.24.1377193745551; Thu, 22 Aug 2013 10:49:05 -0700 (PDT) MIME-Version: 1.0 Sender: mmocny@google.com Received: by 10.182.113.230 with HTTP; Thu, 22 Aug 2013 10:48:45 -0700 (PDT) In-Reply-To: References: From: Michal Mocny Date: Thu, 22 Aug 2013 13:48:45 -0400 X-Google-Sender-Auth: 4GcUmd8-kTaRwYPwR5r2XLNL6bQ Message-ID: Subject: Re: Post 3.0.0 Releases - Plugins To: dev Content-Type: multipart/alternative; boundary=001a11c33676fdb1b504e48ce74c X-Virus-Checked: Checked by ClamAV on apache.org --001a11c33676fdb1b504e48ce74c Content-Type: text/plain; charset=ISO-8859-1 I'm concerned about who decides when to bump semver version numbers for plugins? How do you define a feature, vs a bugfix? non-backwards-compatible changes are easier to spot, but is a non-user facing improvement a feature or bugfix, say, an api-compatible perf improvement? Plugging a stub implementation? Adding error handling? Do we bump the version as part of each patch, or do we bump the version once a week based on the changelog for the week prior? -Michal On Mon, Aug 19, 2013 at 2:51 PM, Andrew Grieve wrote: > Made an issue for this: https://issues.apache.org/jira/browse/CB-4622 > > > On Mon, Aug 19, 2013 at 9:55 AM, Ian Clelland >wrote: > > > On Mon, Aug 19, 2013 at 9:46 AM, Andrew Grieve > > wrote: > > > > > Yes, sorry for not being clear - this is all entirely about our own > > > plugins. > > > > > > I liked everything you said Jesse. Only reason I'm suggesting dev vs > > master > > > is because right now that's how plugman works (pulls from master). If > we > > > change plugman to look for a tag (like npm > > > installdoes), then we can > > > change our branch structure. > > > > > > > I think this is worth doing -- Jesse's point is valid, that *always* > > requiring master to be stable imposes a lot on third-party developers. > > > > If we can't pull anything but master, then we can't properly depend on > > specific plugin revisions anyway, so it's going to be useful all around > to > > be able to name branches/tags. > > > > And then we can decide for core plugins whether it makes sense to have > the > > master/dev split, or to do something different. > > > > Ian > > > > > > > > > > On Mon, Aug 19, 2013 at 9:23 AM, Ian Clelland > > >wrote: > > > > > > > On Mon, Aug 19, 2013 at 4:29 AM, Jesse > > wrote: > > > > > > > > > Okay, took me awhile to get this out, I should know better than to > > > > promise > > > > > to start a new threads on Friday afternoon. XD > > > > > > > > > > Split from 'Releases in a 3.0 World' > > > > > > > > > > RE: Pasted => > > > > > > > > > > > cordova-plugins: > > > > > > - Commit only to the `dev` branch > > > > > > - Use semver for them. > > > > > ... > > > > > > > > I don't think that we should dictate what we expect the community to > do > > > > > with their own plugins. Here's some alternative thoughts: > > > > > > > > > > > > > All good ideas, I think. To be fair, though, I think that Andrew's > > > original > > > > proposal was specifically about core plugins, and how we version / > > > release > > > > those. > > > > > > > > > > > > > > a) versioning is done however the developer of the plugin wants to > do > > > it, > > > > > for core plugins, because they are within our control and we ARE > 'the > > > > > developer' we will use semver. > > > > > > > > > > > > > Agreed. See above. > > > > > > > > > > > > > b) plugman needs to gain the ability to install any particular > > version > > > > of a > > > > > plugin, just like a plugin can depend on a specific version of > > another > > > > > plugin, we need to be able do this directly. > > > > > > > > > > > > > Probably some kind of standard git url that names both the repo and > the > > > > branch / tag. > > > > > > > > > > > > > c) do not enforce the use of a dev branch, master should be > > considered > > > a > > > > > work in progress, we have already had issues where 1 broken push to > > > > master > > > > > [1] broke the plugin for all platforms. > > > > > > > > > > > > > This will probably depend on (b), although we could also get the same > > > > effect by developing on master, and having plugman pull from a named > > > > "stable" branch (or some other named branch). Of course, if we want > to > > > > support third-party plugins as well, without dictating to them, then > we > > > > should probably be able to just tell plugman which branch to pull > from > > > for > > > > any given plugin. > > > > > > > > > > > > > - My personal expectation of a 'master' branch is that tests are > > > > passing, > > > > > but it is still the bleeding edge, and I should use it at my own > > risk. > > > > > - If we want to suggest a tested latest version, in production, I > > > think > > > > we > > > > > should use a tag or branch of 'latest-stable' or something similar. > > > > > - also, plugman should be aware of version via tags or branches, > and > > > not > > > > > blindly pull from master, this would likely be handled at plugin > > > > > registration time. ( as in b above ) Then we can test a plugin's > > > > > integration with other plugins before pushing it live. > > > > > > > > > > The rest of the initial proposal is about process, which I don't > > think > > > we > > > > > govern for plugin developers. We can certainly adopt something > like > > > this > > > > > for the core plugins, but I think we should let the process evolve, > > and > > > > not > > > > > pretend we know what will happen next. > > > > > > > > > > I am not completely sold on the above, some of this is just me > > thinking > > > > out > > > > > loud, the main thing I worry is just that we may not have enough > info > > > to > > > > > fully define this ( at least the process stuff), and I think it > > > > definitely > > > > > needs more discussion, and even maybe some experimentation. > > > > > > > > > > > > > Ian > > > > > > > > > > --001a11c33676fdb1b504e48ce74c--