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 256C510C79 for ; Fri, 9 Jan 2015 19:57:59 +0000 (UTC) Received: (qmail 70219 invoked by uid 500); 9 Jan 2015 19:57:55 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 70184 invoked by uid 500); 9 Jan 2015 19:57: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 70171 invoked by uid 99); 9 Jan 2015 19:57:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2015 19:57:54 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gorkem.ercan@gmail.com designates 209.85.223.174 as permitted sender) Received: from [209.85.223.174] (HELO mail-ie0-f174.google.com) (209.85.223.174) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2015 19:57:49 +0000 Received: by mail-ie0-f174.google.com with SMTP id at20so16900747iec.5 for ; Fri, 09 Jan 2015 11:55:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=un77qVBeNEXG6CkaW1+H+aaxWHqaJS3ksQh+jV2eTk8=; b=wIkcnCopBh4eTKRDG/oKPX1r232CcqF9uUXyH0MOBWziuM5b95i6uT3aMfq1Mo/cHN vx2keFEBOUzHHuDf+wt6vsNeDmxzFd26uzyZIaNFZJiTz9GnuH6WEpRc9T6aqHtqZhcw t1xqhPVvmU2VGYiqGv6pB5IAa9ehXxlxljQrKoj6jEEEsd7f2uAkAvTxidyJwfpiutPu UMcxK7O7HQJwWQD4LYrVO5BBrIGMUW2nZFTnjOvmUlUgYPw5RIUdGYj3Kj/SkATUlcM2 GdUZ6GgeskGQKoggco5OO8x5tseTBw3UlxWWOX2iclFgC39I9TGvQLLLxroqYZqRV2bh brEA== X-Received: by 10.50.79.228 with SMTP id m4mr4262248igx.43.1420833359240; Fri, 09 Jan 2015 11:55:59 -0800 (PST) Received: from [10.10.55.10] (bas1-oakville54-3096610260.dsl.bell.ca. [184.146.133.212]) by mx.google.com with ESMTPSA id d3sm10013593igl.7.2015.01.09.11.55.58 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 09 Jan 2015 11:55:58 -0800 (PST) From: "Gorkem Ercan" To: "dev@cordova.apache.org" Subject: Re: platforms/plugins save and restore from config.xml Date: Fri, 09 Jan 2015 14:55:57 -0500 Message-ID: <1B0F504C-6C20-4673-984A-6A1A31BBD55C@gmail.com> In-Reply-To: <85A3E123BABF314D9D3656D0B418125643F056B6@FMSMSX103.amr.corp.intel.com> References: <20150109044831.32391250.99529.4050@blackberry.com> <85A3E123BABF314D9D3656D0B418125643F056B6@FMSMSX103.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailer: MailMate Trial (1.8r4576) X-Virus-Checked: Checked by ClamAV on apache.org On 9 Jan 2015, at 14:13, Treggiari, Leo wrote: > I had asked some questions about save and restore a while back, but > have not been following the progress in detail - so ignore me if you > feel it is appropriate. > > One of my biggest questions was why would these commands be an option? Ironically, the very first implementation did not introduce commands but rather hooked itself for plugin/platform add/rm and prepare, sort of like what [1] introduces with config.json preferences. However during the review it was suggested that these needs to be commands at least for a while. [1] https://github.com/apache/cordova-lib/pull/143 > What I'm looking for, as soon as possible, is that Cordova 'project' > metadata is stored logically and consistently so that the CLI and > multiple IDEs could simultaneously work on the same project and know > about what each other have done wrt. adding/removing > plugins/platforms/etc. > That is one of my motivations, right now too much depends on plugins and platforms folders being present. > Does removing experimental advance that goal or does it, as Michal > says, put obstacles in the path of getting there by requiring long > term support of an incomplete and possibly confusing (more options?) > solution? > Removing experimental matters only if we want to keep save and restore as separate commands. Otherwise, it is a matter of agreeing on a goal. > Leo > > -----Original Message----- > From: mmocny@google.com [mailto:mmocny@google.com] On Behalf Of Michal > Mocny > Sent: Friday, January 09, 2015 10:35 AM > To: dev > Subject: Re: platforms/plugins save and restore from config.xml > > -1 on removing experimental. > > I love the concept behind this feature, and I applaud Gorkem for > actually > working on pushing it forward, but I'm still concerned the current > design > is not perfect. Just today we were discussing storing the list of > plugins > into a package.json if plugins move to npm. The current > implementation > still saves all installed plugins including dependencies and not just > what > was explicitly added. > > If we add this outside experimental, and document & broadcast it, we > will > have to support it going forward. That will certainly influence > future cli > designs. > > -Michal > > On Fri, Jan 9, 2015 at 12:08 PM, Gorkem Ercan > wrote: > >> >> >> On 9 Jan 2015, at 10:41, Andrew Grieve wrote: >> >> Questions: Would ever not want to use --save? Why not just always >> update >>> config.xml with what plugins you have? >>> >>> Eclipse Thym always updates the plugin & platform information to >> config.xml, and no one complained about it so far. >> >> Likewise, would you ever not want to have --shrinkwrap? I think you'd >>> always want the plugin/platform version listed in there. >>> >>> >> I do not set the shrinkwrap for plugins usually, because without >> shrinkwrap, the latest version is restored. I usually prefer the >> latest >> with the stable plugins, such as the core plugins. >> As a reference, Eclipse Thym does not shrinkwrap by default but has a >> preference you can turn on. >> >> With platforms shrinkwrap as default makes sense. >> >> On Fri, Jan 9, 2015 at 1:46 AM, Mefire O. >> wrote: >>> >>> Also, I have Pull Requests that implements the --save flag as >>> mentioned >>>> earlier : >>>> >>>> - https://github.com/apache/cordova-cli/pull/203 >>>> - https://github.com/apache/cordova-lib/pull/144 >>>> >>>> >>>> Thanks, >>>> Mefire >>>> >>>> -----Original Message----- >>>> From: Mefire O. [mailto:ommenjik@microsoft.com] >>>> Sent: Thursday, January 8, 2015 10:27 PM >>>> To: Cordova Dev >>>> Subject: RE: platforms/plugins save and restore from config.xml >>>> >>>> +1 on removing the --experimental flag after fixing the 'variables >>>> not >>>> being saved' bug. >>>> >>>> Thanks, >>>> Mefire >>>> >>>> -----Original Message----- >>>> From: Josh Soref [mailto:jsoref@blackberry.com] >>>> Sent: Thursday, January 8, 2015 8:49 PM >>>> To: Cordova Dev >>>> Subject: Re: platforms/plugins save and restore from config.xml >>>> >>>> Until adding plugins saves the variables provided, we really >>>> shouldn't / >>>> can't make this non experimental. >>>> >>>> Sent from my BlackBerry 10 smartphone. >>>> ‎ >>>> >>>> >> --------------------------------------------------------------------- >> 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 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org