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 1D6B010AB8 for ; Thu, 5 Mar 2015 21:12:48 +0000 (UTC) Received: (qmail 93326 invoked by uid 500); 5 Mar 2015 21:12:47 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 93287 invoked by uid 500); 5 Mar 2015 21:12:47 -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 93274 invoked by uid 99); 5 Mar 2015 21:12:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 21:12:47 +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.220.171 as permitted sender) Received: from [209.85.220.171] (HELO mail-vc0-f171.google.com) (209.85.220.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 21:12:22 +0000 Received: by mail-vc0-f171.google.com with SMTP id hy10so9726475vcb.2 for ; Thu, 05 Mar 2015 13:12:21 -0800 (PST) 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=teHPjmsVAgjguxyU0AvYVXc6swhNVvhS0juSUwrpCdM=; b=FbGiKJANXXVp37pdKhG0f0mhS+CIjv5IThz/47RKbRBCyIsekgJ17r9OyZuUzfhjgi zeN9YDR6Yp7rfvJ8ldwIAedDKP2QERH3r2Gd2Agfvhuwt0zo+g4j+DWWRePtuJSVUXnF CSOb4myC7983jZaiIFlN8YQ032pUzvjcoKy8GHBjg1tnb5lJBtCUZDRBVMu4KL5sT2gO suLW0vRD94JZtrI+Wi9nbGAGhmBdFNlirVoecsQPaBwzi7/TWPYLVl6W9u5QJ/fLoqej 2kRECIxJn/SvCj/hgXURgr+nV2T3KEoT32lok0kFRixqykIGo2CwI1LMXFQ3fO/5CI9h Wk/Q== 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=teHPjmsVAgjguxyU0AvYVXc6swhNVvhS0juSUwrpCdM=; b=YnRA7cnXmLVUe/XN1K53p1f/fmGgKMKpEx8B3+vTUtpCHyhKfRRhFP7CDtHkw46Xt7 UN8vkE+Qie5SifME96ahWQVP1yX6MtSBZ4j/IviWAf5Vl7d/LVqBBIXCZU+RTWBHCusy N9ApuH5vyI/DwkTLRzr7xEDSsYnzD2tf76vVI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-type; bh=teHPjmsVAgjguxyU0AvYVXc6swhNVvhS0juSUwrpCdM=; b=mNBvoFv3fQwbNT0PBIS4357wHn4V9tHsLxiJ0psoOiTDJJsemdfP4BTrmM3M0EPDDd rfIMvON1ilfGqJjcyysBXDvTckdIrTPW01zrZatiuHoTGItV1HWXJOzYkSdLufacMxQf T+onXmeyNNZbSr3E1YP9qHpY6gw9Umj3pgASNiylkfCVK9zp6vzriEhjSkPd93q1mU2X 2f8183KMXg69SuiDfDBJXoFD4wqUmfSnq3WqTX/Y5vcMa8esw66PjRO+5LJZqN6Zjdyl rISiL6bJTrc4cAVUvmej5WXZgAUrURC6UNKX8UpDiD7ez3f4Q3sxUJ8jkIog9bfH+YgP z/uA== X-Gm-Message-State: ALoCoQmBgX983Mjzou5hkMeb+SlN8S57zfrN2D09Mr8TcwP1jsRsSJjd2lKu33MCgkbcuGMBI7eX X-Received: by 10.52.236.195 with SMTP id uw3mr14406483vdc.19.1425589940911; Thu, 05 Mar 2015 13:12:20 -0800 (PST) MIME-Version: 1.0 Sender: mmocny@google.com Received: by 10.52.1.229 with HTTP; Thu, 5 Mar 2015 13:11:58 -0800 (PST) In-Reply-To: References: From: Michal Mocny Date: Thu, 5 Mar 2015 16:11:58 -0500 X-Google-Sender-Auth: --OfXj9nphV49KgE1A7C_qyb6zk Message-ID: Subject: Re: [DISCUSS] publishing cordova-app-hello-world to npm and adding as dependency of cordova-lib To: dev Content-Type: multipart/alternative; boundary=089e0115eadc06183005109106b5 X-Virus-Checked: Checked by ClamAV on apache.org --089e0115eadc06183005109106b5 Content-Type: text/plain; charset=UTF-8 Alight, remote branches (named copy-from-app-hello-world) are created for cordova-lib, cordova-cli, and cordova-app-hello-world. There are still 2 failing cordova-lib tests, but I'm working to resolve that. My actual end-to-end tests appear to be working with all use cases. Please, please: if you develop a downstream distribution that uses cordova-lib directly (PhoneGap, BlackBerry, Ionic, etc), please try this out and see if it works for you. I will do so for cca. Please forward this to anyone on your team responsible for this work! -Michal On Wed, Mar 4, 2015 at 2:21 PM, Nikhil Khandelwal wrote: > I like moving this to npm because Apache Git as a distribution mechanism > for the hello world app has been less reliable than desirable in the past. > > Thanks, > Nikhil > > > -----Original Message----- > From: mmocny@google.com [mailto:mmocny@google.com] On Behalf Of Michal > Mocny > Sent: Tuesday, March 3, 2015 12:08 PM > To: Michal Mocny > Cc: dev > Subject: Re: [DISCUSS] publishing cordova-app-hello-world to npm and > adding as dependency of cordova-lib > > Pushed first attempt to remote branches: > - https://github.com/Apache/cordova-cli/tree/copy-from-app-hello-world > - > > https://github.com/Apache/cordova-app-hello-world/tree/copy-from-app-hello-world > > Cleaning up cordova-lib is strictly required, though I think we should > still take the opportunity to do so. > > On Tue, Mar 3, 2015 at 2:46 PM, Michal Mocny wrote: > > > Jesse, I think not. The platform scripts just copy the bundled www/ > > (its already included with the platform). > > > > This is only for the top-level project www/ of a cordova-cli project. > > > > I guess, though, that we could consider changing the platform create > > scripts to import config.xml's, since they currently do not. This may > > be difficult given that the format is different even though the name > > is the same (platform vs project config). > > > > -Michal > > > > On Tue, Mar 3, 2015 at 2:40 PM, Jesse wrote: > > > >> +1 > >> Does this affect the ability to use an individual platform? > >> ie. cordova-ios/bin/create ... > >> Will platform create scripts need to change? > >> > >> > >> > >> @purplecabbage > >> risingj.com > >> > >> On Tue, Mar 3, 2015 at 11:32 AM, Michal Mocny > wrote: > >> > >> > This came up in the context of whitelist discussion, but wanted to > >> bring it > >> > to everyones attention. > >> > > >> > JIRA: https://issues.apache.org/jira/browse/CB-8597 > >> > > >> > We would like the default app to support installing the whitelist > >> > plugin automatically using the new plugin auto-restore feature (If > >> > you > >> disagree, > >> > discuss on the whitelist thread, that is not the topic of this post). > >> > > >> > However, the cordova-lib create script cannot support this feature > >> > right now anyway (that is the topic of this post). I've outlined > >> > in the JIRA > >> how > >> > we could fix that (open to feedback). > >> > > >> > TLDR; --copy-from already supports this, so lets just vastly > >> > simplify cordova-lib create.js to just always do a --copy-from (or > >> > --link-to), > >> and > >> > change cordova-cli to provide the default > >> > --copy-from=./node_modules/cordova-app-hello-world. > >> > > >> > This also implies we can remove our last use of lazy_load from > >> cordova-lib > >> > (minus explicit git clones or platforms/plugins), and npm all the > >> things! > >> > > >> > It also means a semver MAJOR change to cordova-lib that downstreams > >> > directly using cordova-lib's create will need to adjust to. > >> > > >> > Thoughts? > >> > > >> > -Michal > >> > > >> > > > > > --089e0115eadc06183005109106b5--