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 8CE04104B9 for ; Wed, 28 Aug 2013 18:16:09 +0000 (UTC) Received: (qmail 88313 invoked by uid 500); 28 Aug 2013 18:16:09 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 88290 invoked by uid 500); 28 Aug 2013 18:16:09 -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 88277 invoked by uid 99); 28 Aug 2013 18:16:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Aug 2013 18:16:08 +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.46 as permitted sender) Received: from [209.85.219.46] (HELO mail-oa0-f46.google.com) (209.85.219.46) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Aug 2013 18:16:02 +0000 Received: by mail-oa0-f46.google.com with SMTP id o20so1263778oag.5 for ; Wed, 28 Aug 2013 11:15:41 -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=qhPJlVSovfLoSr3BxaPRuhCngbmF3nDukNwZxufuDD8=; b=UDXZ061W02XkuX8oPqezDoPnqCNU6GRrsmN5QJ5XNjbrTW2CCqimaHlWaWtn/N56AE qNqIMXmD5PbCOtjzHJCc4EXcoCcSGqAMo3dfuaU+CkR0g/2BAYnLpHoVFGMhmL7vH+2G Eoi26kba9GdDnZyM+Nikq9sUUIB99T+e5bkr8F940Fi0R7Fz1JE+rki+XkbNGvjDsRT1 NN3PhEIJZxTCpbq4b1AXnBuNHj9LuSAKK7T8scHNxoNWX3gWk7yZOtlxjIjhy3NXUXFF yJuZmhAC6QPSj4XY8CZcthXGoTkpDv7rYsttAczHZb1eXSFGVuviUUtWFHyPKaYoo2Tg 0Rtg== 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=qhPJlVSovfLoSr3BxaPRuhCngbmF3nDukNwZxufuDD8=; b=ZCj/X3K8U7+e5b6qCZx6ytlsb8U2DL73ozjfvwacA5vuK2WESi1FnRzHeh00VgDY9g 7P9Hw7g2y7wYRo+nLKBeooBWCKAsuiKKEevwwrAU8MSc019376lEGRDijPofn2sKcuQb SjryEPbffwUcI8gIyEzykgNUYAZjK0jAYFz/k= 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=qhPJlVSovfLoSr3BxaPRuhCngbmF3nDukNwZxufuDD8=; b=Xzem3BribRYwldKdx515GgcucweIKwsmMlHT0DUuShuH1M8A3JYDMmtjikl1kcBoaM qLcpGtEK4E6Gui3EtxPD+JSPzCbCKKpbZ4gABJgsr/LmnLUbzp81o7lKghG466GKYV1s Vt/77l3iz3wr6CR1l7RuLMaltPP6in1TS8BSnZykaFhAmQqG3Es7k+yqrKa2KBrqmRCj NYXt0ytZ3qfTvTFkK5nfXM9jH4dIaJPrD3QFw8yZAlHuYh2N78EWJlYaEPwH+kvQWsKN zSl4BcDxp5GWWmtlpksiVZeVOGUPkcVLG/VyYtDSwzim5pQMY07A1P/6meLm3ieHcgZt rFcw== X-Gm-Message-State: ALoCoQlfyByQFGnrt6pF5Y0foBeST9a5JPTsk4h6VAHrnxl55l3L5vF8H+HBMQpVtKC4IZUz3cM1BopU3ggJ3l8XD8DE8PqpyUdY02W5RdIR6uvzf6DYvtZilbSEYN3aoU4tQOgDucRnpRLKdfL8KetrrAp1WZq0CRanhYqyfmUcx941TG6BshfW6B6tVcRmWQeZPx501jGNnYE+Qn3SulXDIPBJeFWniw== X-Received: by 10.182.71.82 with SMTP id s18mr7547538obu.9.1377713741618; Wed, 28 Aug 2013 11:15:41 -0700 (PDT) MIME-Version: 1.0 Sender: mmocny@google.com Received: by 10.182.113.230 with HTTP; Wed, 28 Aug 2013 11:15:21 -0700 (PDT) In-Reply-To: References: From: Michal Mocny Date: Wed, 28 Aug 2013 14:15:21 -0400 X-Google-Sender-Auth: rOPmyt9tSXh2uhxE8YEEBNJOruM Message-ID: Subject: Re: config.xml refactoring To: dev Content-Type: multipart/alternative; boundary=e89a8fb1fde62c026d04e505faf3 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8fb1fde62c026d04e505faf3 Content-Type: text/plain; charset=ISO-8859-1 FYI: This was a quick whiteboard discussion this morning that started with "why do I need to modify the platform config just to update my application's name", and sorta spiraled into an interesting idea to potentially solve this problem once and for all. Trying to make sure we haven't missed anything before putting the effort into formulating it into an email. On Wed, Aug 28, 2013 at 1:49 PM, 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 > --e89a8fb1fde62c026d04e505faf3--