Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 08B2A200ACA for ; Thu, 9 Jun 2016 23:04:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 07493160A58; Thu, 9 Jun 2016 21:04:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5B315160A29 for ; Thu, 9 Jun 2016 23:04:44 +0200 (CEST) Received: (qmail 16934 invoked by uid 500); 9 Jun 2016 21:04:43 -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 16922 invoked by uid 99); 9 Jun 2016 21:04:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2016 21:04:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 93A5AC081C for ; Thu, 9 Jun 2016 21:04:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.679 X-Spam-Level: * X-Spam-Status: No, score=1.679 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, KAM_LOTSOFHASH=0.25, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id FdZUWmiVRuLv for ; Thu, 9 Jun 2016 21:04:36 +0000 (UTC) Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 983605F23F for ; Thu, 9 Jun 2016 21:04:35 +0000 (UTC) Received: by mail-oi0-f50.google.com with SMTP id w5so4314877oib.2 for ; Thu, 09 Jun 2016 14:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=W0Glqg2Myac0e9xmuCuzJpQC2ibieED1PxSZDX1Bakk=; b=qZOaw5FR5iNX2J0pOYyWVVQzkC3wZo3iswHoFgJZyapS2pT4w2doZXOwlcafxeWZah BinJhl/MfF5P9aUZSM6picQLLqVR1/cyZG6zGVNhwMIDH9f/Fx1os99jlD+KYwPOr+NV 7yApaEAG8izh0ZAEHyQ2WJOxpwu+7yaH6hruANsL6mDT5SNzT7Pg3bBv1VBgb9m+FSXc mVk55JqnE2g92IC7GnrcQFUlEIddWLeRpuE3NqY/VsQqivNCKLN68WYXIF9Sm8KPRZcI ztzpUDfC3H5ibH0OKK2DO+nTQ29ykqRFKvK6wLcCL9JQYd9CEQ3PrjdEGb5zn9vb2jbw 1Fyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=W0Glqg2Myac0e9xmuCuzJpQC2ibieED1PxSZDX1Bakk=; b=nLLxfvytqjcqTTSnCgMzKPNhAtckxAllnfD8ROQf2AeaqwRi636I9liY3mLqwd3Hyt JDYDbFMoPiX9vGdaN/eDfIK9ECQqjXHIHANXoI+3Zunf2G4Z1FmuQ+YUrWu71IYxn2We kjyKtE1PDMwzM3vBkhoJ8zIe761SJXee+jlw7sLZVa7Tyo9GNzYCTcuz3S4x9LWg+Nnm KfXnW/ateNGdIbNlpDiJZNpjBb1+Dj85xnDq3zaCVxFxztFT1VcNc4rZChGr5pVvR7Sv YUgR6xXoN8o9bsNRb4hYylcL3JbKmYbh7tXKmNNuR4q7TbJLsUcLTCrzbWuysbkTdvza QeTA== X-Gm-Message-State: ALyK8tIDzYQKOXuzigz3Zjqdy0M076LMT1z7SKbXil1R2xtbQEfUcDpR4ECXOH/7N6kAezP1NFW9SUOniP6LzA== X-Received: by 10.157.44.42 with SMTP id f39mr7461877otb.71.1465506274159; Thu, 09 Jun 2016 14:04:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.57.196 with HTTP; Thu, 9 Jun 2016 14:04:14 -0700 (PDT) In-Reply-To: <45DA06E2-DFED-4E3B-B3BA-2EA27022885B@devgeeks.org> References: <35538573-9482-4874-9EB4-8D7EC07A5655@gmail.com> <2E8D94FD-66B1-498B-9F9A-712C13048FE9@microsoft.com> <9BFF7BE1-48E3-4CF3-B1A0-1D0900EF43D2@microsoft.com> <0B54C678-4616-441F-9638-172CD4FEC42F@devgeeks.org> <34C712EC-C206-439B-B083-CB3E85B79190@gmail.com> <3CD9F63D-5462-4BF1-8355-724EB9853D79@devgeeks.org> <45DA06E2-DFED-4E3B-B3BA-2EA27022885B@devgeeks.org> From: Steven Gill Date: Thu, 9 Jun 2016 14:04:14 -0700 Message-ID: Subject: Re: [DISCUSS] CLI Templates To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=94eb2c032052e334080534dec4e6 archived-at: Thu, 09 Jun 2016 21:04:46 -0000 --94eb2c032052e334080534dec4e6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I created a new proposal for enhancing templates. Please give feedback to proposal in the PR! https://github.com/cordova/cordova-discuss/pull/49 On Tue, May 31, 2016 at 6:44 PM, Tommy Williams wrote: > Yeah, I don=E2=80=99t really mean any more than what templates + create a= lready do > with config.xml. > > Use case: > > `cordova create mycoolapp =E2=80=94template=3Dsome-react-template` > cd mycoolapp > npm install > npm start > > etc > > The `some-react-template` by necessity will have a package.json with stuf= f > in it (deps, npm scripts, etc) that the resulting created app will need i= n > _its_ package.json. > > However, with the new move to fetch and having all Cordova apps have a > package.json (with cordoba-specific stuff in it), the resulting app will > need the stuff that a newly created app gets + whatever the template need= s > to work/build/etc. > > Does that make sense? > > > Stuff is a great word, just saying. > > > > > On 1 Jun 2016, at 11:38 AM, Steven Gill wrote: > > > > By merge the package.json, do you mean update the package.name to the > name > > of the app? > > On May 31, 2016 6:01 PM, "Tommy Williams" wrote: > > > >> Yeah, a subduer is fine as long as we can merge the package.json from > the > >> template somehow=E2=80=A6 > >> > >> Dibs not writing that :/ > >> > >> > >>> On 1 Jun 2016, at 10:47 AM, Steven Gill > wrote: > >>> > >>> I definitely see the usecase tommy describes. > >>> > >>> I think subdir makes the most sense. package.json has a `dirname` fie= ld > >>> which would fetch everything in that subdirectory. This functionality > >>> already exists for `--template`. > >>> > >>> TLDR We should be a bit more picky for top level files we copy over b= ut > >>> blindly copy over sub directory files > >>> > >>> On Tue, May 31, 2016 at 4:46 PM, Carlos Santana > >>> wrote: > >>> > >>>> Using a subdir makes a clear separation between final template files > vs. > >>>> files associated with tooling, tests, packaging > >>>> > >>>> - Carlos Santana > >>>> @csantanapr > >>>> > >>>>> On May 31, 2016, at 7:37 PM, Jesse wrote: > >>>>> > >>>>> `cordova create` is destructive by nature. > >>>>> Anything and everything required by the templated app should be par= t > of > >>>>> what is copied. Our current blind folder copy needs to be more > >>>> intelligent. > >>>>> I would prefer that template files be in a sub-dir, much like they > are > >> in > >>>>> each platform. > >>>>> > >>>>> Simon and I faced a similar situation with making a plugin > template[1] > >>>>> While only half baked at this point, the file structure is relevant= I > >>>> think. > >>>>> > >>>>> [1] https://github.com/phonegap/phonegap-plugin-template > >>>>> > >>>>> > >>>>> > >>>>> @purplecabbage > >>>>> risingj.com > >>>>> > >>>>>> On Tue, May 31, 2016 at 4:18 PM, Tommy Williams > > >>>> wrote: > >>>>>> > >>>>>> .npmignore can help with some of those unwanted files, but not all= =E2=80=A6 > >>>>>> > >>>>>> However, what happens in the circumstance when the template _does_ > >> need > >>>> a > >>>>>> package.json file, such as the react-hot-loader template Jed and I > >>>> made? It > >>>>>> has npm dips and npm scripts that are vital to how it works in its > >>>>>> package,json. We can=E2=80=99t just omit files, Similarly, a templ= ate might > >>>> include > >>>>>> hooks and merges as well. > >>>>>> > >>>>>> - tommy > >>>>>> > >>>>>> > >>>>>>> On 1 Jun 2016, at 8:22 AM, Carlos Santana > >>>> wrote: > >>>>>>> > >>>>>>> I opened a JIRA for ignoring .git > >>>>>>> Don't have it handy on mobile now > >>>>>>> > >>>>>>> Best practice: > >>>>>>> 1. To use subdir feature to specify dir to use via main module > >>>>>>> 2. To follow npm best practices when publishing to npm (i.e. do > not > >>>>>> include everything, only the minimum required) > >>>>>>> > >>>>>>> > >>>>>>> - Carlos Santana > >>>>>>> @csantanapr > >>>>>>> > >>>>>>>> On May 31, 2016, at 6:10 PM, Steven Gill > >>>>>> wrote: > >>>>>>>> > >>>>>>>> Sorry to bring up a old thread instead of starting a new one but= I > >>>>>> thought > >>>>>>>> the context might be relevant. > >>>>>>>> > >>>>>>>> Currently, template pretty much copies over all of the files. I > see > >>>>>> this as > >>>>>>>> a problem. > >>>>>>>> > >>>>>>>> Example [1]. When you add a template, its package.json gets copi= ed > >>>> into > >>>>>>>> your app. I don't think we want that to happen right? > >>>>>>>> > >>>>>>>> Other files that are getting copied but shouldn't: > >>>>>>>> - RELEASENOTES.md > >>>>>>>> - README.md > >>>>>>>> - .git (if you do it locally or f > >>>>>>>> - NOTICE > >>>>>>>> - LICENSE > >>>>>>>> - COPYWRIGHT > >>>>>>>> > >>>>>>>> Files we want: > >>>>>>>> - config.xml > >>>>>>>> - .gitignore > >>>>>>>> - .npmignore ? > >>>>>>>> - node_modules? > >>>>>>>> - platforms/plugins (if present) > >>>>>>>> - hooks > >>>>>>>> - merges > >>>>>>>> > >>>>>>>> templates can provide additional info by setting a subdirectory = in > >>>> their > >>>>>>>> package.json for where the template files live. > >>>>>>>> > >>>>>>>> [1] https://issues.apache.org/jira/browse/CB-11344. > >>>>>>>> > >>>>>>>> Thoughts? > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> On Fri, Dec 11, 2015 at 7:09 AM, Carlos Santana < > >> csantana23@gmail.com > >>>>> > >>>>>>>> wrote: > >>>>>>>> > >>>>>>>>> Oh I'm late on this thread. > >>>>>>>>> > >>>>>>>>> Latest code is in master cordova-cli and cordova-lib > >>>>>>>>> you have to link lib to cli to get it to show up. > >>>>>>>>> > >>>>>>>>> if you are lazy like me you can do "npm install -g > >>>>>>>>> csantanapr/cordova-cli-dev" > >>>>>>>>> To see the help "cordova help create" > >>>>>>>>> --template=3D ... use a custom templa= te > >>>> located > >>>>>>>>> locally, in NPM, or GitHub. > >>>>>>>>> Options: > >>>>>>>>> --template=3D ... use a custom > template > >>>>>>>>> located locally, in NPM, or GitHub. > >>>>>>>>> --copy-from|src=3D .................. deprecated, use > >>>>>>>>> --template instead. > >>>>>>>>> --link-to=3D ........................ symlink to custo= m > www > >>>>>>>>> assets without creating a copy. > >>>>>>>>> > >>>>>>>>> The goal is to help people getting started by using a package > from > >>>> npm > >>>>>> as > >>>>>>>>> starting point, I see the samples that Raymond produces being > used > >>>>>> with the > >>>>>>>>> --template flag for novice users to get a sample running faster= . > >> also > >>>>>>>>> opening the door for web frameworks to have their cordova > template > >> in > >>>>>> npm, > >>>>>>>>> or plugin creators to share templates that uses their plugin, a= nd > >>>>>> declare > >>>>>>>>> the plugin in config.xml > >>>>>>>>> > >>>>>>>>> 1. Omar > >>>>>>>>> what you describe in your list what was implemented > >>>>>>>>> The only thing, that was not implemented because was not in the > >>>>>> proposal > >>>>>>>>> and not discuss was ~/.cordova/config.json > >>>>>>>>> > >>>>>>>>> I didn't added because I think there should be a better > >> architecture > >>>>>> for > >>>>>>>>> config. That's another proposal I'm thinking on doing but it > looks > >>>>>> like how > >>>>>>>>> npm does config > >>>>>>>>> For example have "cordova config" cli > >>>>>>>>> cordova config set template=3Dmy-app-hello > >>>>>>>>> cordova config ls > >>>>>>>>> and so... > >>>>>>>>> so default configs can be override using the CLI > >>>>>>>>> > >>>>>>>>> 2. Dmitry > >>>>>>>>> Let's have a hangout and let's, talk because I don't understand > >> what > >>>>>> is the > >>>>>>>>> problem that --template is causing, > >>>>>>>>> I don't understand if you don't want the flag present, or the > >>>>>>>>> implementation, or you want to keep --copy-from as it is today. > >>>>>>>>> Email is not helping to communicate what is what you think that > is > >>>>>> broken > >>>>>>>>> > >>>>>>>>> 3. Simon > >>>>>>>>> There is no much documentation other than the help, and mention= ed > >> in > >>>>>> the > >>>>>>>>> docs. > >>>>>>>>> Will love some help feedback and help on docs for this . > >>>>>>>>> > >>>>>>>>> > >>>>>> > >>>> > >> > https://github.com/apache/cordova-docs/blob/master/www/docs/en/dev/guide/= cli/index.md > >>>>>>>>> > >> https://github.com/apache/cordova-cli/blob/master/doc/create.txt#L14 > >>>>>>>>> > >>>>>>>>> Finally nothing is writing in stone, we can change, remove, add > to > >>>>>> this as > >>>>>>>>> we iterate. > >>>>>>>>> > >>>>>>>>> I thought I follow the our community practices as best I > >> understood. > >>>>>>>>> Wrote a proposal, communicated in the mailing list, got feedbac= k > to > >>>>>> change > >>>>>>>>> the original proposal to not exclude platforms/plugins and othe= r > >>>>>> changes. > >>>>>>>>> had pointers to PR, JIRA, proposal, discussion, waited for > feedback > >>>> on > >>>>>> PR, > >>>>>>>>> gave a heads up on that there was no more feedback and everythi= ng > >>>> that > >>>>>> was > >>>>>>>>> discuss was implemented. > >>>>>>>>> > >>>>>>>>> I saw Dmitry'ss comments just after we merge, but I try to give > >>>> enough > >>>>>>>>> heads up. And will like to understand better what are his > concerns. > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> On Thu, Dec 10, 2015 at 6:53 PM Simon MacDonald < > >>>>>> simon.macdonald@gmail.com > >>>>>>>>>> > >>>>>>>>> wrote: > >>>>>>>>> > >>>>>>>>>> Are there docs checked in anywhere that describe how to use th= e > >>>>>>>>> --template > >>>>>>>>>> flag? > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> Simon Mac Donald > >>>>>>>>>> http://hi.im/simonmacdonald > >>>>>>>>>> > >>>>>>>>>> On Thu, Dec 10, 2015 at 4:55 PM, Raymond Camden < > >>>>>> raymondcamden@gmail.com > >>>>>>>>>> > >>>>>>>>>> wrote: > >>>>>>>>>> > >>>>>>>>>>> Looks like --template wasn't added to the CLI help. Will file= a > >>>> bug. > >>>>>>>>>>> > >>>>>>>>>>> On Wed, Dec 9, 2015 at 12:06 AM, Steven Gill < > >>>> stevengill97@gmail.com > >>>>>>> > >>>>>>>>>>> wrote: > >>>>>>>>>>>> The thread was proposed Nov 10th and PR was merged Dec 3rd. = I > >>>> think > >>>>>>>>>> that > >>>>>>>>>>> is > >>>>>>>>>>>> ample time to give feedback. If people don't give feedback, > >> apache > >>>>>>>>> way > >>>>>>>>>> is > >>>>>>>>>>>> consider it as lazy consensus. > >>>>>>>>>>>> > >>>>>>>>>>>> We do not vote on feature requests and I hope we never do as > it > >>>> is a > >>>>>>>>>>>> terrible practice. Good luck trying to get anything done. > >>>>>>>>>>>> The `--template` flag currently there is the one that was > added > >> as > >>>>>>>>> per > >>>>>>>>>>> this > >>>>>>>>>>>> discussion. I think in the future we should refrain from > adding > >>>> code > >>>>>>>>>>> before > >>>>>>>>>>>> a discussion completes, especially if there is contention. A= t > >> the > >>>>>>>>> very > >>>>>>>>>>>> least, we should probably hold a vote. > >>>>>>>>>>>> > >>>>>>>>>>>> I=E2=80=99m definitely not a fan of adding flags just for th= e purpose > of > >>>>>> very > >>>>>>>>>>>> specific convenience, but if I=E2=80=99m alone in that opini= on then > >> let=E2=80=99s > >>>> do > >>>>>>>>>>>> whatever the majority decides. > >>>>>>>>>>>> > >>>>>>>>>>>> Kindly, > >>>>>>>>>>>> Dmitry > >>>>>>>>>>>> > >>>>>>>>>>>>> On Dec 8, 2015, at 2:34 PM, Mefire O. < > ommenjik@microsoft.com> > >>>>>>>>> wrote: > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> We already have support for the --template flag in Cordova. > >>>>>>>>>>>>> > >>>>>>>>>>>>> However, it currently only supports NPM packages and GIT > URLs, > >> no > >>>>>>>>>> local > >>>>>>>>>>>> folder. > >>>>>>>>>>>>> The local folder scenario is currently being handled by > >>>> --copy-from > >>>>>>>>>>> (only > >>>>>>>>>>>> www and config.xml are copied) and --link-to. > >>>>>>>>>>>>> > >>>>>>>>>>>>> We also have a way of specifying default templates: through= t > >> the > >>>>>>>>> json > >>>>>>>>>>>> file: cordova_project/.cordova/config.json. > >>>>>>>>>>>>> > >>>>>>>>>>>>> I think we should: > >>>>>>>>>>>>> - deprecate --copy-from > >>>>>>>>>>>>> - update the current --template logic to support local > folders > >> in > >>>>>>>>>>>> addition to NPM and GIT URLs > >>>>>>>>>>>>> - fallback to using the 'cordova-hello-world' template whe= n > a > >>>>>>>>>>> critical > >>>>>>>>>>>> option/file/folder isn=E2=80=99t present in the supplied tem= plate > (e.g: > >>>> user > >>>>>>>>>> did > >>>>>>>>>>>> not specify app_id, app_name or supplied template has no www > >>>> folder) > >>>>>>>>>>>>> - document .cordova/config.json (how it can be used to set > >>>> default > >>>>>>>>>>>> templates) > >>>>>>>>>>>>> - copy platforms/plugins folders when creating from a > template > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> Thanks, > >>>>>>>>>>>>> Omar Mefire > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> -----Original Message----- > >>>>>>>>>>>>> From: Carlos Santana [mailto:csantana23@gmail.com] > >>>>>>>>>>>>> Sent: Tuesday, December 8, 2015 10:48 AM > >>>>>>>>>>>>> To: dev@cordova.apache.org > >>>>>>>>>>>>> Subject: Re: [DISCUSS] CLI Templates > >>>>>>>>>>>>> > >>>>>>>>>>>>> Hi Dmitry > >>>>>>>>>>>>> 1. It was discuss in the mailing list, that use case #1 wa= s > >> not > >>>>>>>>> need > >>>>>>>>>>> it, > >>>>>>>>>>>> and to be replace by --template, user don't have to have > >>>> config.xml > >>>>>>>>> and > >>>>>>>>>>>> other cordova specific files they will be created. So the > reason > >>>> to > >>>>>>>>>>>> deprecate --copy-from 2. yes it's similar to a cp or git > clone, > >>>> but > >>>>>>>>>>> also a > >>>>>>>>>>>> download of npm, it will replace app name and id if they are > >>>> passed > >>>>>>>>> in > >>>>>>>>>> to > >>>>>>>>>>>> create command if template contains config.xml they will get > >>>>>> replace, > >>>>>>>>>> no > >>>>>>>>>>>> night mare not that many files to add if template purposely > >>>> missing > >>>>>>>>>> just > >>>>>>>>>>>> config.xml and empty folders for hooks, plugins, platform. > >>>> template > >>>>>>>>>>> should > >>>>>>>>>>>> have a www and any other files outside www they want in thei= r > >>>>>>>>> template > >>>>>>>>>>> like > >>>>>>>>>>>> res/resource/ (cordova uses res, ionic uses resources, etc.= .) > >>>>>>>>>>> .gitignore, > >>>>>>>>>>>> .editorconfig, pacakge.json, etc.. any other files they whic= h > >>>> their > >>>>>>>>> app > >>>>>>>>>>> to > >>>>>>>>>>>> have that template will get them started with. > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> On Mon, Dec 7, 2015 at 11:10 PM Dmitry Blotsky < > >>>>>>>>>> dblotsky@microsoft.com> > >>>>>>>>>>>>> wrote: > >>>>>>>>>>>>> > >>>>>>>>>>>>>> Thanks for the summary, Carlos! Sorry, I hadn=E2=80=99t re= ad the > whole > >>>>>>>>> thread > >>>>>>>>>>>>>> when I sent my question. I read up after your email, and I > >> have > >>>> a > >>>>>>>>>>>>>> better grasp on it now. My new questions are below. > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> 1. What is the `cordova create` command then doing if it= =E2=80=99s > >>>> copying > >>>>>>>>>>>>>> (potentially) the whole app it=E2=80=99s trying to create?= The > >>>>>>>>> `--copy-from` > >>>>>>>>>>>>>> flag creates fresh copies of Cordova-specific files and on= ly > >>>>>> copies > >>>>>>>>>>>>>> the `www` folder, which is app-agnostic anyway. > >>>>>>>>>>>>>> 2. Isn=E2=80=99t the new flag basically the same as an inv= ocation of > >>>> `cp` > >>>>>>>>> or > >>>>>>>>>>>>>> `git clone`? And if we=E2=80=99re going into the realm of = examining > >> the > >>>>>>>>>>>>>> template and =E2=80=9Cfilling in=E2=80=9D potentially miss= ing files, isn=E2=80=99t > >> that > >>>> a > >>>>>>>>>>>>>> logical nightmare since there are so many possible things > that > >>>>>>>>> could > >>>>>>>>>> be > >>>>>>>>>>>> missing in an app? > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> Kindly, > >>>>>>>>>>>>>> Dmitry > >>>>>>>>>>>>>> > >>>>>>>>>>>>>>> On Dec 5, 2015, at 7:00 AM, Carlos Santana < > >>>> csantana23@gmail.com > >>>>>>> > >>>>>>>>>>> wrote: > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> The email thread has the details but in summary: > >>>>>>>>>>>>>>> It doesn't handle npm and git as source It doesn't copy > >>>>>> everything > >>>>>>>>>>>>>>> By adding npm and git having the flag copy-from it's > >> confusing. > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> On Fri, Dec 4, 2015 at 9:04 PM Dmitry Blotsky > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> Hey folks. Sorry I'm late to the party, but why is > >>>> `--copy-from` > >>>>>>>>>>>>>>>> not sufficient? > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> Kindly, > >>>>>>>>>>>>>>>> Dmitry > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> -----Original Message----- > >>>>>>>>>>>>>>>> From: Carlos Santana [mailto:csantana23@gmail.com] > >>>>>>>>>>>>>>>> Sent: Friday, December 4, 2015 10:09 AM > >>>>>>>>>>>>>>>> To: dev@cordova.apache.org > >>>>>>>>>>>>>>>> Subject: Re: [DISCUSS] CLI Templates > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> Michael we will love to hear your feedback, and we can > >> improve > >>>>>> on > >>>>>>>>>>>>>>>> top of what's initially there. > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> On Fri, Dec 4, 2015 at 1:04 PM Carlos Santana > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> Michael > >>>>>>>>>>>>>>>>> Links to PRs where available for a while on the proposa= l. > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> https://github.com/apache/cordova-lib/pull/339 > >>>>>>>>>>>>>>>>> https://github.com/apache/cordova-cli/pull/226 > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> On Fri, Dec 4, 2015 at 11:33 AM Michael Brooks > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> I'd love to see a pull request rather than a straight = up > >>>>>> merge, > >>>>>>>>>>>>>>>>>> since the template discussion was more involved. Also, > I'm > >>>>>>>>> really > >>>>>>>>>>>>>>>>>> looking forward to seeing your work on this! > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> On Thu, Dec 3, 2015 at 9:47 AM, Carlos Santana > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> I will be working later today with James from my team > on > >>>>>>>>> merging > >>>>>>>>>>>>>>>>>>> initial implementation of --template. it will update = a > >> few > >>>>>>>>> repos > >>>>>>>>>>>>>>>>>>> (cli, lib, doc) > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> Anyone oppose? > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> On Fri, Nov 13, 2015 at 1:50 PM Carlos Santana > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> alias, deprecate and later remove > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> On Fri, Nov 13, 2015 at 1:49 PM Carlos Santana > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> I agree, --template is the new --copy-from :-) > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> On Fri, Nov 13, 2015 at 1:48 PM Shazron < > >>>> shazron@gmail.com > >>>>>>> > >>>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>> Well, we could deprecate --copy-from, and alias > >>>> --template > >>>>>>>>> to > >>>>>>>>>>> it. > >>>>>>>>>>>>>>>>>> But > >>>>>>>>>>>>>>>>>>>>>> we shouldn't have both, it should just be one > >>>>>>>>> implementation. > >>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>> On Fri, Nov 13, 2015 at 10:45 AM, Carlos Santana < > >>>>>>>>>>>>>>>>>> csantana23@gmail.com > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>>>>>>>> In some way we we are enhancing --copy-from > >>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>> I'm OK to the copy blindly even plugins and > >> platforms, > >>>> I > >>>>>>>>> was > >>>>>>>>>>>>>>>>>> trying > >>>>>>>>>>>>>>>>>>> to > >>>>>>>>>>>>>>>>>>>>>>> avoid people creating templates when is not need = it > >> if > >>>>>>>>> they > >>>>>>>>>>>>>>>>>> already > >>>>>>>>>>>>>>>>>>>>>> have > >>>>>>>>>>>>>>>>>>>>>>> platforms and plugins > >>>>>>>>>>>>>>>>>>>>>>> But I'm OK if we want to allow it, but I would no= t > >>>>>>>>>>>>>>>>>>>>>>> documented > >>>>>>>>>>>>>>>>>>>>>>> :-) > >>>>>>>>>>>>>>>>>> it > >>>>>>>>>>>>>>>>>>>>>> just > >>>>>>>>>>>>>>>>>>>>>>> happens to work > >>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>> but I don't like the "--copy-from" name, I want t= o > >> use > >>>>>>>>>>>>>>>>>> "--template" > >>>>>>>>>>>>>>>>>>>>>> that > >>>>>>>>>>>>>>>>>>>>>>> takes path, giturl, and npm name > >>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>> On Fri, Nov 13, 2015 at 1:41 PM Carlos Santana < > >>>>>>>>>>>>>>>>>> csantana23@gmail.com > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>> What dynamic nature you want ? > >>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>> I think using yeoman is bad idea, we tried at wo= rk > >> at > >>>> is > >>>>>>>>> a > >>>>>>>>>>>>>>>>>>>>>>>> huge > >>>>>>>>>>>>>>>>>>>>>> dependency > >>>>>>>>>>>>>>>>>>>>>>>> in terms of foot print and number of dependencie= s. > >>>>>>>>>>>>>>>>>>>>>>>> We then learned that just using the inquirer npm > >>>> package > >>>>>>>>>>>>>>>>>>>>>>>> gave us > >>>>>>>>>>>>>>>>>>> what > >>>>>>>>>>>>>>>>>>>>>> we > >>>>>>>>>>>>>>>>>>>>>>>> wanted to create an interactive experience in th= e > >> CLI > >>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>> At least the first implementation I want to keep > it > >>>>>>>>> simple, > >>>>>>>>>>>>>>>>>>>>>>>> but > >>>>>>>>>>>>>>>>>> you > >>>>>>>>>>>>>>>>>>>>>>>> brought a good point about dynamic. > >>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>> I will update proposal, add that if user passed > any > >> of > >>>>>>>>> the > >>>>>>>>>>>>>>>>>> optional > >>>>>>>>>>>>>>>>>>>>>>>> arguments for create like app-id, app-name, or > >>>>>>>>> app-version > >>>>>>>>>>>>>>>>>>>>>>>> they > >>>>>>>>>>>>>>>>>>>>>> replace the > >>>>>>>>>>>>>>>>>>>>>>>> ones in the template. > >>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>> I will double check with James to see if already > >>>>>>>>>>>>>>>>>>>>>>>> implemented > >>>>>>>>>>>>>>>>>> this in > >>>>>>>>>>>>>>>>>>>>>> his > >>>>>>>>>>>>>>>>>>>>>>>> current PR, if not then will added. > >>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>> It terms of dynamic I think after we get the fir= st > >>>>>>>>>>>>>>>>>>>>>>>> implementation > >>>>>>>>>>>>>>>>>>>>>> out, I > >>>>>>>>>>>>>>>>>>>>>>>> would like to enhance on top of it with allowing > the > >>>>>>>>>>>>>>>>>>>>>>>> template to > >>>>>>>>>>>>>>>>>>> have > >>>>>>>>>>>>>>>>>>>>>>>> scripts that can run > >>>>>>>>>>>>>>>>>>>>>>>> like before_create and after_create, then the > >> template > >>>>>>>>> can > >>>>>>>>>>>>>>>>>> specify > >>>>>>>>>>>>>>>>>>>>>> this in > >>>>>>>>>>>>>>>>>>>>>>>> the scripts object of the package.json and cordo= va > >> cli > >>>>>>>>> just > >>>>>>>>>>>>>>>> runs. > >>>>>>>>>>>>>>>>>>>>>> This way > >>>>>>>>>>>>>>>>>>>>>>>> template owner can run what ever they want even > >>>> inquirer > >>>>>>>>> to > >>>>>>>>>>>>>>>>>>>>>>>> ask > >>>>>>>>>>>>>>>>>>>>>> questions > >>>>>>>>>>>>>>>>>>>>>>>> to user for additional things to setup with the > >>>>>> template. > >>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>> [1]: > >>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>> https://na01.safelinks.protection.outlook.com/?url=3Dhttps%3a > >>>>>>>>>>>>>>>>>>>>>>>> % > >>>>>>>>>>>>>>>>>>>>>>>> 2f%2fwww.npmjs.com > >>>>>>>>>> %2fpackage%2finquirer&data=3D01%7c01%7cdblo > >>>>>>>>>>>>>>>>>>>>>>>> t > >>>>>>>>>>>>>>>>>>>>>>>> sky%40microsoft.com > >>>>>>>>>> %7c9fb3634d35ba45cd7a7508d2fcd60177%7c72 > >>>>>>>>>>>>>>>>>>>>>>>> f > >>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>> 988bf86f141af91ab2d7cd011db47%7c1&sdata=3DcGhgCrxXQToX3DsPn2O > >>>>>>>>>>>>>>>>>>>>>>>> m > >>>>>>>>>>>>>>>>>>>>>>>> UCsTQtcWl11IjuPpgRdFlco%3d > >>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>> On Thu, Nov 12, 2015 at 1:56 PM Parashuram N < > >>>>>>>>>>>>>>>>>>> panarasi@microsoft.com> > >>>>>>>>>>>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>> ReactNative init does use yeoman - that is a go= od > >>>> idea > >>>>>>>>> !! > >>>>>>>>>>>>>>>>>> However, > >>>>>>>>>>>>>>>>>>>>>> does > >>>>>>>>>>>>>>>>>>>>>>>>> that mean that we need to depend on Yeoman also= ? > >>>> Does > >>>>>>>>> it > >>>>>>>>>>>>>>>>>>>>>>>>> make > >>>>>>>>>>>>>>>>>>> sense > >>>>>>>>>>>>>>>>>>>>>> to > >>>>>>>>>>>>>>>>>>>>>>>>> simply have a separate yeoman generator ? > >>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>> On 11/12/15, 10:10 AM, "Gorkem Ercan" > >>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>> How about adding support for some more dynamic > >>>>>>>>>> generation. > >>>>>>>>>>>>>>>>>>>>>>>>>> Can we add yeoman as an option something like > >>>> $cordova > >>>>>>>>>>>>>>>>>>>>>>>>>> create > >>>>>>>>>>>>>>>>>>> myApp > >>>>>>>>>>>>>>>>>>>>>>>>>> --template=3Dyo:m > >>>>>>>>>>>>>>>>>>>>>>>>>> to invoke the generator m ? > >>>>>>>>>>>>>>>>>>>>>>>>>> -- > >>>>>>>>>>>>>>>>>>>>>>>>>> Gorkem > >>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>> On 10 Nov 2015, at 19:52, Carlos Santana wrot= e: > >>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>> Parashuram > >>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>> I would say that if they have "platforms" and > >>>>>>>>> "plugins" > >>>>>>>>>>>>>>>>>>>>>>>>>>> it's > >>>>>>>>>>>>>>>>>> not > >>>>>>>>>>>>>>>>>>>>>>>>>>> consider a > >>>>>>>>>>>>>>>>>>>>>>>>>>> template, its consider a cordova project read= y > to > >>>> be > >>>>>>>>> use > >>>>>>>>>>>>>>>>>>>>>>>>>>> no > >>>>>>>>>>>>>>>>>> need > >>>>>>>>>>>>>>>>>>>>>> to > >>>>>>>>>>>>>>>>>>>>>>>>>>> run > >>>>>>>>>>>>>>>>>>>>>>>>>>> create on it. > >>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>> As far as cp-from, it's doesn't copy much onl= y > >> www > >>>>>> and > >>>>>>>>>>>>>>>>>>>>>> config.xml, I > >>>>>>>>>>>>>>>>>>>>>>>>>>> didn't > >>>>>>>>>>>>>>>>>>>>>>>>>>> want to change it's behavior for backwards > >>>>>>>>>>>>>>>>>>>>>>>>>>> compatibility. I > >>>>>>>>>>>>>>>>>>> think > >>>>>>>>>>>>>>>>>>>>>> it > >>>>>>>>>>>>>>>>>>>>>>>>>>> will > >>>>>>>>>>>>>>>>>>>>>>>>>>> be good to mark it deprecated for a certain > >> period > >>>> of > >>>>>>>>>>>>>>>>>>>>>>>>>>> time, > >>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>> +1 for deprecating the copy-from. > >>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Nov 10, 2015 at 5:19 PM Parashuram N = < > >>>>>>>>>>>>>>>>>>>>>> panarasi@microsoft.com> > >>>>>>>>>>>>>>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>> Yes, they would. However, there could be cas= es > >>>> where > >>>>>>>>>>>>>>>>>>>>>>>>>>>> folks > >>>>>>>>>>>>>>>>>>> would > >>>>>>>>>>>>>>>>>>>>>> like > >>>>>>>>>>>>>>>>>>>>>>>>>>>> to > >>>>>>>>>>>>>>>>>>>>>>>>>>>> have templates that have changes stuff in > >>>> platforms, > >>>>>>>>> or > >>>>>>>>>>>>>>>>>> added > >>>>>>>>>>>>>>>>>>>>>> custom > >>>>>>>>>>>>>>>>>>>>>>>>>>>> plugins or hooks. I think that instead of > adding > >>>>>>>>> extra > >>>>>>>>>>>>>>>>>>>>>>>>>>>> code > >>>>>>>>>>>>>>>>>> to > >>>>>>>>>>>>>>>>>>>>>>>>>>>> prevent all > >>>>>>>>>>>>>>>>>>>>>>>>>>>> these things, we keep things simple, and cop= y > >> over > >>>>>>>>>>>>>>>>>> everything. > >>>>>>>>>>>>>>>>>>>>>> The > >>>>>>>>>>>>>>>>>>>>>>>>>>>> templates can then decide what they want to > do, > >>>> and > >>>>>>>>>>>>>>>>>>>>>>>>>>>> most of > >>>>>>>>>>>>>>>>>>> them > >>>>>>>>>>>>>>>>>>>>>> will > >>>>>>>>>>>>>>>>>>>>>>>>>>>> not > >>>>>>>>>>>>>>>>>>>>>>>>>>>> bundle plugins or platforms. > >>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>> -----Original Message----- > >>>>>>>>>>>>>>>>>>>>>>>>>>>> From: Steven Gill [mailto: > >> stevengill97@gmail.com] > >>>>>>>>>>>>>>>>>>>>>>>>>>>> Sent: Tuesday, November 10, 2015 2:16 PM > >>>>>>>>>>>>>>>>>>>>>>>>>>>> To: dev@cordova.apache.org > >>>>>>>>>>>>>>>>>>>>>>>>>>>> Subject: Re: [DISCUSS] CLI Templates > >>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>> If the plugins and platforms are listed in > >>>>>>>>> config.xml, > >>>>>>>>>>>>>>>>>> wouldn't > >>>>>>>>>>>>>>>>>>>>>> they > >>>>>>>>>>>>>>>>>>>>>>>>>>>> just > >>>>>>>>>>>>>>>>>>>>>>>>>>>> get fetched on prepare? > >>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Nov 10, 2015 at 2:09 PM, Parashuram = N > >>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> I think it should copy platform and plugins > >>>>>> folders, > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> if > >>>>>>>>>>>>>>>>>> those > >>>>>>>>>>>>>>>>>>>>>> are a > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> part of the template. I think the guidance > >> should > >>>>>> be > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> that > >>>>>>>>>>>>>>>>>> most > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> templates should not include a platform or = a > >>>> plugin > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> folder, > >>>>>>>>>>>>>>>>>>> but > >>>>>>>>>>>>>>>>>>>>>> if > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> they do - for reasons like custom plugins, > etc, > >>>>>> then > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> we > >>>>>>>>>>>>>>>>>> should > >>>>>>>>>>>>>>>>>>>>>> let > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> that happen. The only enhancement from > >>>> --copy-from > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> would be > >>>>>>>>>>>>>>>>>>>>>> that we > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> also > >>>>>>>>>>>>>>>>>>>>>>>>>>>> support npm and git URLs. > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> -----Original Message----- > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> From: Carlos Santana [mailto: > >>>> csantana23@gmail.com] > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sent: Tuesday, November 10, 2015 1:26 PM > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> To: dev@cordova.apache.org > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Subject: Re: [DISCUSS] CLI Templates > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Parashuram > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> The template doesn't any special structure, > the > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> current > >>>>>>>>>>>>>>>>>> hello > >>>>>>>>>>>>>>>>>>>>>> app in > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> npm is already a template > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Will add comment in PR about having fixture= s > in > >>>>>>>>> tests > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> for > >>>>>>>>>>>>>>>>>>>>>> different > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> uses cases with different type of templates > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> The code copies everything except plugins a= nd > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> platforms > >>>>>>>>>>>>>>>>>>>>>> directories, > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> maybe it needs some comments to make it mor= e > >>>> clear > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> It should copy dot files like .gitignore, > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> .editorconfig, > >>>>>>>>>>>>>>>>>>>>>> .bowerrc > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Very > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> important at least for me .gitignore, it > helps > >>>> when > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> folks > >>>>>>>>>>>>>>>>>> ask > >>>>>>>>>>>>>>>>>>> if > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> they > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> should ignore platforms and plugins from > source > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> control and > >>>>>>>>>>>>>>>>>>> the > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> answer > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> is always YES. If they are asking then it > means > >>>>>> they > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> need > >>>>>>>>>>>>>>>>>> the > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> advise. > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Nov 10, 2015 at 3:27 PM Parashuram = N > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +1 to the proposal. > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Is there a structure of a sample template = ? > >>>> Also, > >>>>>>>>> the > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> code > >>>>>>>>>>>>>>>>>>>>>> seems to > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> copy everything from npm or the gitURL, > though > >>>> in > >>>>>>>>> the > >>>>>>>>>>>>>>>>>>> proposal > >>>>>>>>>>>>>>>>>>>>>> you > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> say that dot file and hooks/platforms shou= ld > >> not > >>>>>> be > >>>>>>>>>>>>>>>>>> copies. > >>>>>>>>>>>>>>>>>>>>>> Should > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> we talk about that in the proposal too ? > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -----Original Message----- > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> From: Raymond Camden [mailto: > >>>>>>>>> raymondcamden@gmail.com > >>>>>>>>>> ] > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sent: Tuesday, November 10, 2015 12:01 PM > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> To: dev@cordova.apache.org > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Subject: Re: [DISCUSS] CLI Templates > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Yeah, nothing to add here but +1. > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Oh, the only thing I'd add is that I wish > >> there > >>>>>>>>> was a > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> way > >>>>>>>>>>>>>>>>>> to > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *permanently* set a template. I hate the > >> default > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Cordova > >>>>>>>>>>>>>>>>>>>>>> template > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> (sorry > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ;) and would love to make the CLI always u= se > >> my > >>>>>> own > >>>>>>>>>>>>>>>>>>> particular > >>>>>>>>>>>>>>>>>>>>>>>>>>>> template. > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Nov 10, 2015 at 1:52 PM, Ryan J. > Salva > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I love it! > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> rjs > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Ryan J. Salva | Principal Program Manag= er > >>>> Lead > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Visual > >>>>>>>>>>>>>>>>>>> Studio > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tools for Apache Cordova > >> rsalva@microsoft.com > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 206 612 5079 mobile > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -----Original Message----- > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> From: Carlos Santana [mailto: > >>>>>> csantana23@gmail.com > >>>>>>>>> ] > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sent: Tuesday, November 10, 2015 7:49 PM > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> To: dev@cordova.apache.org > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Subject: [DISCUSS] CLI Templates > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> From the Face2Face meeting updating the > >> cordova > >>>>>>>>> cli > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to > >>>>>>>>>>>>>>>>>> work > >>>>>>>>>>>>>>>>>>>>>> with > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> templates sounded like a good feature to > add > >> to > >>>>>>>>> the > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CLI > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I finally got around to this and created > the > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> proposal and > >>>>>>>>>>>>>>>>>>> got > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> James > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Dubee from our team to take a stab at > >>>>>>>>> implementation. > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CLI-Template proposal [1] > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]: > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>> https://github.com/cordova/cordova-discuss/blob/master/propos > >>>>>>>>>>>>>>>>>>>>>> al > >>>>>>>>>>>>>>>>>>>>>> s/C > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> LI > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -T > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>> https://na01.safelinks.protection.outlook.com/?url=3Demplates.= m > >>>>>>>>>>>>>>>>>>>>>> d& > >>>>>>>>>>>>>>>>>>>>>> dat > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> a=3D > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 01%7c01%7cpanarasi%40microsoft.com > >>>>>>>>>>>>>>>>>>>>>> %7ce586e8f64dae4418c1b708d2ea158 > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 9e > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>> d%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=3DkctEUezjtECUIv > >>>>>>>>>>>>>>>>>>>>>> ZQ > >>>>>>>>>>>>>>>>>>>>>> cih > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bu > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> uydWn7HfTJO8c7W0LTz98U%3d > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --Carlos > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -- > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >>>>>>>>>>>>>>>>>>>>>> =3D=3D > >>>>>>>>>>>>>>>>>>>>>> =3D=3D=3D=3D=3D > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> =3D=3D =3D=3D=3D=3D=3D Raymond Camden, Dev= eloper Advocate > >> for > >>>>>>>>>>>>>>>>>> MobileFirst > >>>>>>>>>>>>>>>>>>> at > >>>>>>>>>>>>>>>>>>>>>> IBM > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Email : raymondcamden@gmail.com Blog : > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>> > https://na01.safelinks.protection.outlook.com/?url=3Dwww.raymondca > >>>>>>>>>>>>>>>>>>> mde > >>>>>>>>>>>>>>>>>>> n > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> .c > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> om&data=3D01%7c01%7cpanarasi%40microsoft.c= om > >>>>>>>>>>>>>>>>>>>>>>>>> %7c92e5feab0e524d2dbc8008d > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2e > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>> a09af88%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=3DxMtq2oC% > >>>>>>>>>>>>>>>>>>>>>> 2b > >>>>>>>>>>>>>>>>>>>>>> %2b%2 > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> fB > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bNlOcIKlStSkgUUuiGDKbq7KuNMHLiVU%3d > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Twitter: raymondcamden > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>> ------------------------------------------------------------- > >>>>>>>>>>>>>>>>>>>>>> -- > >>>>>>>>>>>>>>>>>>>>>> ----- > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> - 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 > >>>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> > >>>>>>>>> ---------------------------------------------------------------= -- > >>>>>>>>>>>>>>>>>> ---- > >>>>>>>>>>>>>>>>>>>>>> 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 > >>>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>> > >>>>>> > >>>> > >> > =D0=A2=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF= =BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF= =BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD= =EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF= =BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF= =BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD= =EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF= =BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF= =BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=D0=A5F=EF=BF=BD > >>>>>>>>>>>> V=EF=BF=BD7V'67&=EF=BF=BD&R=EF=BF=BD R=EF=BF=BD=EF=BF=BD =EF= =BF=BD=C3=A2 FWb=EF=BF=BDV=EF=BF=BD7V'67&=EF=BF=BD&T 6=EF=BF=BD&F=EF=BF=BDf= =EF=BF=BD 6=EF=BF=BDR=EF=BF=BD=EF=BF=BD&p=D0=A4f=EF=BF=BD" > >>>> FF=EF=BF=BDF=EF=BF=BD=EF=BF=BD=EF=BF=BD > >>>>>> =EF=BF=BD > >>>>>>>>>>> 6=EF=BF=BD=EF=BF=BD=EF=BF=BD > >>>>>>>>>>>> =EF=BF=BDG2=EF=BF=BD R=EF=BF=BD=EF=BF=BD =EF=BF=BD=C3=A2 FWb= =D6=86V=EF=BF=BD 6=EF=BF=BD&F=EF=BF=BDf =EF=BF=BD 6=EF=BF=BDR=EF=BF=BD= =EF=BF=BD&p > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> -- > >>>>>>>>>>> > >>>>>>>>>> > >>>>>>>>> > >>>>>> > >>>> > >> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > >>>>>>>>>>> Raymond Camden, Developer Advocate for MobileFirst at IBM > >>>>>>>>>>> > >>>>>>>>>>> Email : raymondcamden@gmail.com > >>>>>>>>>>> Blog : www.raymondcamden.com > >>>>>>>>>>> Twitter: raymondcamden > >>>>>>>>>>> > >>>>>>>>>>> > >>>> --------------------------------------------------------------------= - > >>>>>>>>>>> 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 > >>>> > >>>> > >> > >> > > --94eb2c032052e334080534dec4e6--