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 8BD9310B93 for ; Mon, 22 Jul 2013 19:33:55 +0000 (UTC) Received: (qmail 91023 invoked by uid 500); 22 Jul 2013 19:33:55 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 90998 invoked by uid 500); 22 Jul 2013 19:33:55 -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 90990 invoked by uid 99); 22 Jul 2013 19:33:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jul 2013 19:33:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of agrieve@google.com designates 209.85.192.169 as permitted sender) Received: from [209.85.192.169] (HELO mail-pd0-f169.google.com) (209.85.192.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jul 2013 19:33:50 +0000 Received: by mail-pd0-f169.google.com with SMTP id y10so7263217pdj.28 for ; Mon, 22 Jul 2013 12:33:30 -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 :x-google-sender-auth:message-id:subject:to:content-type; bh=I6wwyt930xwFk/9iUoDgf1RdcNVToVncVzOYIUSpZ88=; b=girZgjXluebPkMmlNJy2uwSr6ELmdWidOxO68rtmES7KZ3uMwUH/+EWEfF2GxdkTYG FBjirV6FqqnaH4vNDxhJz8uS+91zkS3m9NfF+rIFM2aOc8BftiUGusGg3EA9ipEQzslc 4urLtQKm+KRrc4CRKmWQBFfC27s/mGXaPzNmgwZObowleP6KFdvhrUSS9BGT/hEpDkJN g8yDFHpTWnLqzk3G2agp36H5yvGFmdLOEkQ/eUeJW/snDAaQnsrEzbknLcNA10sNCdys mT4u6jl70epcj+XBMa+TJYUVoYfV76vyBsvoumMjHlQFkC1wBrw4T609wm30C9c7Whpm RUDQ== 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 :x-google-sender-auth:message-id:subject:to:content-type; bh=I6wwyt930xwFk/9iUoDgf1RdcNVToVncVzOYIUSpZ88=; b=OaptNoMeF1owV3r2m9JQWX25qDpxLJ8a7utvRJ5O/L3G8n9D1lfufpvkH5FQg2AYBN 4pU0yoEErMbIY4OuHUIokrDR39wAGu5Fsgh4Ljoqy2kutg384AN1UWj1Uwf/KJvE4GHg 57bXlgTSHTQwoXJDgxv/5ND1qglSOEYV71s7Q= X-Google-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 :x-google-sender-auth:message-id:subject:to:content-type :x-gm-message-state; bh=I6wwyt930xwFk/9iUoDgf1RdcNVToVncVzOYIUSpZ88=; b=if2V6B/bnnIK7pzSylTYU++J7AK+eXmuUf9i2cd2dkda0vHK10atwsC4z2ie8Upiv3 1GgQSg42p6qhvhTicu0ukiIPs9GrRC54kVhKQqsYvzjG8VIBSyH/IB+g31I3G1L7xYRI IwbyPa7BiLXtwrPnpzJNruNjxC+YMGvG78T9TcBwb+TSaqa9HATpHCDcwqLefsY2KOtm oIur5P/vbCUZ5UGUN62te53zyoDFG5VbIzjyCP0C8Co8scqw4cZYfR0QCrbSwl7Vf9d1 ruh306BnPg8mCv8++dPuC/1z5RyXnzB9GwJd0PgZzWuFH5/50A7pzLjgKoYtJ1Ys4cm+ fsJg== X-Received: by 10.66.37.43 with SMTP id v11mr33746812paj.108.1374521610600; Mon, 22 Jul 2013 12:33:30 -0700 (PDT) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.68.28.33 with HTTP; Mon, 22 Jul 2013 12:33:10 -0700 (PDT) In-Reply-To: References: From: Andrew Grieve Date: Mon, 22 Jul 2013 15:33:10 -0400 X-Google-Sender-Auth: EeSMO_UJtLM7futVTdpOmP-0RU4 Message-ID: Subject: Re: Plugin / Platform mismatch problems To: dev Content-Type: multipart/alternative; boundary=bcaec5304f455631a504e21ec006 X-Gm-Message-State: ALoCoQkmm645jBnT3ZuY2hk1g/BGlLLvLI3j5bWa8XVFeK7cF3Cr3XQtEtw+A49C8QZd0asTlX8CkoPrb/KlbxaX+mlefSnNt2S5hjdaKTj482RWKB7FqTOW6MOTZIOhCB/I1koDztIdn0Cqpeh1yHPvb5/ueQFS6E+fJASPwYOQW9UmTJTfMp099Rxp6OwuQVJWvF6qSlm4 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec5304f455631a504e21ec006 Content-Type: text/plain; charset=ISO-8859-1 Oh! Oh! Perhaps have multiple definitions based on CDV version. e.g.: refs/head/2.8.x refs/tags/stable Then, when someone plugman installs the git URL, it can fetch it and checkout a version that best matches your cordova version. Then, when you update your cordova version, it can go through your plugins and update them to different branches (unless you glue them to a ref as a part of your install URL) On Mon, Jul 22, 2013 at 2:44 PM, Braden Shepherdson wrote: > The model I had always imagined was that we would do something similar to > npm: Plugin authors decide what the default ref is for their plugin. Could > be master, some other branch, a tag, a hash. That's what the discovery tool > will return when a user asks to add that plugin without explicitly > specifying a version. I think this is a good idea we should implement too. > > Braden > > > On Fri, Jul 19, 2013 at 10:16 AM, Andrew Grieve >wrote: > > > I think it's true that: > > > > 1. CLI downloads tagged versions of platforms > > 2. Plugman downloads plugins from "master" branch > > > > This means that we can't check any code into plugin master branches > without > > them going live immediately. > > > > Best solution would be to change plugman to download from a tag by > default, > > but a bit late for that now... > > > > Instead, I think we should change all development on plugins: > > - Commit only to "dev" branch. > > - When we want to push an update, we should file a release bug for the > > plugin, test on all platforms > > Case 1: The changes work with 3.0 cordova: then merge into master (only > if > > it works of course) > > Case 2: The changes require a platform API that hasn't been release yet: > > Wait and release after the next cordova core release. > > > > > > Any other ideas? > > > --bcaec5304f455631a504e21ec006--