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 7393710FD2 for ; Tue, 3 Sep 2013 00:37:17 +0000 (UTC) Received: (qmail 16421 invoked by uid 500); 3 Sep 2013 00:37:17 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 16389 invoked by uid 500); 3 Sep 2013 00:37: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 16380 invoked by uid 99); 3 Sep 2013 00:37:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 00:37: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.176 as permitted sender) Received: from [209.85.223.176] (HELO mail-ie0-f176.google.com) (209.85.223.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 00:37:12 +0000 Received: by mail-ie0-f176.google.com with SMTP id s9so8636372iec.7 for ; Mon, 02 Sep 2013 17:36: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=1UnXsGw4WK8c2mPzJxnTcUPSqMi1VbK8wOEntaHQPdk=; b=mb9aazFwjUWpEtYFroYWOgfjgAB/XDSKw4Y96S8CTI+n2xxyTE6HGh8UKDmqFdkFGR ifA+/SI1PP1rnuzL38xYVnR1InTOIAqPO7hdxkFY4s0YAA2LGCY+nN5Q1wDRuYF0FJQJ PRtX6PFoDgRaxc8VyGvBe7u71gYR17ELUFjjxJjeYQ255nlBFSn0+g0HJBpjl8KH25Ca W4LleW6hTC/kcarPm/caxtURhOppmKG4kmACX1CoyOR65EinTBCrYVx+esG/CnghVb8A gucHCbcKlp3v50kSWQ/vqo3pkH8eyh1y3GJUqONAoVMsFxIJfWa/TRROQuX+HCUroE3P oUzg== MIME-Version: 1.0 X-Received: by 10.50.122.102 with SMTP id lr6mr14085822igb.0.1378168611789; Mon, 02 Sep 2013 17:36:51 -0700 (PDT) Sender: brian.leroux@gmail.com Received: by 10.50.114.132 with HTTP; Mon, 2 Sep 2013 17:36:51 -0700 (PDT) In-Reply-To: References: Date: Mon, 2 Sep 2013 17:36:51 -0700 X-Google-Sender-Auth: LJ_U3dXwTrZkKu4tJ7a9Q6611Ko Message-ID: Subject: Re: config.xml refactoring From: Brian LeRoux To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=089e01538a808c2ea404e56fe2f3 X-Virus-Checked: Checked by ClamAV on apache.org --089e01538a808c2ea404e56fe2f3 Content-Type: text/plain; charset=ISO-8859-1 Another use case is configuration meta data for native projects. Anyhow, look fwd to the proposal. On Wed, Aug 28, 2013 at 10:49 AM, Braden Shepherdson wrote: > So we have several bugs[1][2][3] about fixing the handling of config.xml > and of upgrading CLI projects. Upgrading platforms is hard because the user > might have been modifying files in the platforms/foo directory, and we > don't want to go overwriting them. Most of the time the file that's been > changed is the platform's config.xml. > > So we (the Google team) are working on a proposal for rearranging how we > handle config.xml files in order to make upgrades easier, and solving some > of these other problems (splash screens) easier. Also to make the CLI > tooling simpler, because currently the platform config.xml file is both the > input and output of several processes (mainly adding and removing plugins, > as well as cordova prepare). > > What we want to know, in writing this proposal is: what use-cases for the > config.xml files are there? There seem to be two: > 1. Not using CLI, just bin/create and maybe Plugman. > 2. Using CLI, and needing to upgrade smoothly from the 3.0 world to 3.1 > with these changes to the files. > > Is there anything else we should be thinking about? If not, we'll have the > proposal sent around tomorrow. > > > Braden > > [1] https://issues.apache.org/jira/browse/CB-4624 > [2] https://issues.apache.org/jira/browse/CB-3216 > [3] https://issues.apache.org/jira/browse/CB-3571 > --089e01538a808c2ea404e56fe2f3--