Re: [DISCUSS] CLI Templates

2016-06-09 Thread Steven Gill
> >>>> > >> > 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 > >>>>>>>>> > >>

Re: [DISCUSS] CLI Templates

2016-05-31 Thread Tommy Williams
gt;>>>>> I thought I follow the our community practices as best I >> understood. >>>>>>>>> Wrote a proposal, communicated in the mailing list, got feedback to >>>>>> change >>>>>>>>> the original proposal to not exc

Re: [DISCUSS] CLI Templates

2016-05-31 Thread Steven Gill
k and everything > >> that > >>>> was > >>>>>>> discuss was implemented. > >>>>>>> > >>>>>>> I saw Dmitry'ss comments just after we merge, but I try to give > >> enough > >>>>&

Re: [DISCUSS] CLI Templates

2016-05-31 Thread Tommy Williams
And will like to understand better what are his concerns. >>>>>>> >>>>>>> >>>>>>> On Thu, Dec 10, 2015 at 6:53 PM Simon MacDonald < >>>> simon.macdon...@gmail.com >>>>>>>> >>>>>>> wrote: >

Re: [DISCUSS] CLI Templates

2016-05-31 Thread Steven Gill
> >>>>>> http://hi.im/simonmacdonald > >>>>>> > >>>>>> On Thu, Dec 10, 2015 at 4:55 PM, Raymond Camden < > >> raymondcam...@gmail.com > >>>>>> > >>>>>> wrote: > >>>>>> > >>>>>

Re: [DISCUSS] CLI Templates

2016-05-31 Thread Carlos Santana
>>>>> 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 >>

Re: [DISCUSS] CLI Templates

2016-05-31 Thread Jesse
he `--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,

Re: [DISCUSS] CLI Templates

2016-05-31 Thread Carlos Santana
s 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. At

Re: [DISCUSS] CLI Templates

2016-05-31 Thread Tommy Williams
one in that opinion then let’s do >>>>>> whatever the majority decides. >>>>>> >>>>>> Kindly, >>>>>> Dmitry >>>>>> >>>>>>> On Dec 8, 2015, at 2:34 PM, Mefire O. <ommen...@microsoft.co

Re: [DISCUSS] CLI Templates

2016-05-31 Thread Carlos Santana
O. <ommen...@microsoft.com> >> wrote: >>>>>> >>>>>> >>>>>> We already have support for the --template flag in Cordova. >>>>>> >>>>>> However, it currently only supports NPM packages and GIT URLs

Re: [DISCUSS] CLI Templates

2016-05-31 Thread Steven Gill
ova_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

Re: [DISCUSS] CLI Templates

2015-12-11 Thread Carlos Santana
ng the 'cordova-hello-world' template when a > > critical > > > option/file/folder isn’t present in the supplied template (e.g: user > did > > > not specify app_id, app_name or supplied template has no www folder) > > >> - document .cordova/config.json (how

Re: [DISCUSS] CLI Templates

2015-12-10 Thread Raymond Camden
rs when creating from a template >> >> >> Thanks, >> Omar Mefire >> >> >> -Original Message- >> From: Carlos Santana [mailto:csantan...@gmail.com] >> Sent: Tuesday, December 8, 2015 10:48 AM >> To: dev@cordova.apach

Re: [DISCUSS] CLI Templates

2015-12-10 Thread Simon MacDonald
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 > >> &

Re: [DISCUSS] CLI Templates

2015-12-08 Thread Carlos Santana
y > >> > >> -----Original Message- > >> From: Carlos Santana [mailto:csantan...@gmail.com] > >> Sent: Friday, December 4, 2015 10:09 AM > >> To: dev@cordova.apache.org > >> Subject: Re: [DISCUSS] CLI Templates > >> > >> Michael

Re: [DISCUSS] CLI Templates

2015-12-08 Thread Dmitry Blotsky
gt;>> >>>> Hey folks. Sorry I'm late to the party, but why is `--copy-from` not >>>> sufficient? >>>> >>>> Kindly, >>>> Dmitry >>>> >>>> -Original Message- >>>> From: Carlos Santana [mailto:cs

RE: [DISCUSS] CLI Templates

2015-12-08 Thread Mefire O .
Thanks, Omar Mefire -Original Message- From: Carlos Santana [mailto:csantan...@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 was not need

Re: [DISCUSS] CLI Templates

2015-12-08 Thread Steven Gill
gt; > > Thanks, > Omar Mefire > > > -Original Message- > From: Carlos Santana [mailto:csantan...@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

Re: [DISCUSS] CLI Templates

2015-12-08 Thread Dmitry Blotsky
plugins folders when creating from a template > > > Thanks, > Omar Mefire > > > -Original Message- > From: Carlos Santana [mailto:csantan...@gmail.com] > Sent: Tuesday, December 8, 2015 10:48 AM > To: dev@cordova.apache.org > Subject: Re: [D

Re: [DISCUSS] CLI Templates

2015-12-07 Thread Dmitry Blotsky
arty, but why is `--copy-from` not >> sufficient? >> >> Kindly, >> Dmitry >> >> -Original Message- >> From: Carlos Santana [mailto:csantan...@gmail.com] >> Sent: Friday, December 4, 2015 10:09 AM >> To: dev@cordova.apache.org >>

Re: [DISCUSS] CLI Templates

2015-12-05 Thread Carlos Santana
I'm late to the party, but why is `--copy-from` not > sufficient? > > Kindly, > Dmitry > > -Original Message- > From: Carlos Santana [mailto:csantan...@gmail.com] > Sent: Friday, December 4, 2015 10:09 AM > To: dev@cordova.apache.org > Subject: Re: [DISCUSS] CLI Template

Re: [DISCUSS] CLI Templates

2015-12-04 Thread Michael Brooks
t;>> >to invoke the generator m ? > >>> >>> >-- > >>> >>> >Gorkem > >>> >>> > > >>> >>> >On 10 Nov 2015, at 19:52, Carlos Santana wrote: > >>> >>> > > >>> >&

RE: [DISCUSS] CLI Templates

2015-12-04 Thread Dmitry Blotsky
Hey folks. Sorry I'm late to the party, but why is `--copy-from` not sufficient? Kindly, Dmitry -Original Message- From: Carlos Santana [mailto:csantan...@gmail.com] Sent: Friday, December 4, 2015 10:09 AM To: dev@cordova.apache.org Subject: Re: [DISCUSS] CLI Templates Michael we

Re: [DISCUSS] CLI Templates

2015-12-04 Thread Carlos Santana
>>> >How about adding support for some more dynamic generation. > > >>> >>> >Can we add yeoman as an option something like $cordova create > > myApp > > >>> >>> >--template=yo:m > > >>> >>> >to invoke

Re: [DISCUSS] CLI Templates

2015-12-03 Thread Carlos Santana
Santana wrote: >>> >>> > >>> >>> >> Parashuram >>> >>> >> >>> >>> >> I would say that if they have "platforms" and "plugins" it's not >>> >>> >> consider a >>

Re: [DISCUSS] CLI Templates

2015-11-13 Thread Carlos Santana
se no need to >> >>> >> run >> >>> >> create on it. >> >>> >> >> >>> >> As far as cp-from, it's doesn't copy much only www and config.xml, >> I >> >>> >> didn't >> >>> >&

Re: [DISCUSS] CLI Templates

2015-11-13 Thread Carlos Santana
idn'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 d

Re: [DISCUSS] CLI Templates

2015-11-13 Thread Carlos Santana
cases 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,

Re: [DISCUSS] CLI Templates

2015-11-13 Thread Shazron
eprecating the copy-from. >>> > >>> >> >>> >> On Tue, Nov 10, 2015 at 5:19 PM Parashuram N <panar...@microsoft.com> >>> >> wrote: >>> >> >>> >>> Yes, they would. However, there could be cases where folks wou

Re: [DISCUSS] CLI Templates

2015-11-13 Thread Carlos Santana
nt all > >>> these things, we keep things simple, and copy over everything. The > >>> templates can then decide what they want to do, and most of them will > >>> not > >>> bundle plugins or platforms. > >>> > >>> -Original Mess

Re: [DISCUSS] CLI Templates

2015-11-13 Thread Shazron
ould be cases 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 th

Re: [DISCUSS] CLI Templates

2015-11-12 Thread Gorkem Ercan
age- From: Steven Gill [mailto:stevengil...@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

Re: [DISCUSS] CLI Templates

2015-11-12 Thread Parashuram N
f adding extra code to >>> prevent all >>> these things, we keep things simple, and copy over everything. The >>> templates can then decide what they want to do, and most of them will >>> not >>> bundle plugins or platforms. >>> >>>

[DISCUSS] CLI Templates

2015-11-10 Thread Carlos Santana
>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]:

RE: [DISCUSS] CLI Templates

2015-11-10 Thread Ryan J. Salva
for Apache Cordova rsa...@microsoft.com 206 612 5079 mobile -Original Message- From: Parashuram N [mailto:panar...@microsoft.com] Sent: Tuesday, November 10, 2015 8:27 PM To: dev@cordova.apache.org Subject: RE: [DISCUSS] CLI Templates +1 to the proposal. Is there a structure of a sample

Re: [DISCUSS] CLI Templates

2015-11-10 Thread Raymond Camden
antan...@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

RE: [DISCUSS] CLI Templates

2015-11-10 Thread Ryan J. Salva
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

RE: [DISCUSS] CLI Templates

2015-11-10 Thread Parashuram N
- From: Raymond Camden [mailto:raymondcam...@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

Re: [DISCUSS] CLI Templates

2015-11-10 Thread Carlos Santana
t > file and hooks/platforms should not be copies. Should we talk about that in > the proposal too ? > > -Original Message- > From: Raymond Camden [mailto:raymondcam...@gmail.com] > Sent: Tuesday, November 10, 2015 12:01 PM > To: dev@cordova.apache.org > Subject: Re:

RE: [DISCUSS] CLI Templates

2015-11-10 Thread Parashuram N
can then decide what they want to do, and most of them will not bundle plugins or platforms. -Original Message- From: Steven Gill [mailto:stevengil...@gmail.com] Sent: Tuesday, November 10, 2015 2:16 PM To: dev@cordova.apache.org Subject: Re: [DISCUSS] CLI Templates If the plugins

RE: [DISCUSS] CLI Templates

2015-11-10 Thread Parashuram N
enhancement from --copy-from would be that we also support npm and git URLs. -Original Message- From: Carlos Santana [mailto:csantan...@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

Re: [DISCUSS] CLI Templates

2015-11-10 Thread Carlos Santana
t of them will not >> bundle plugins or platforms. >> >> -Original Message- >> From: Steven Gill [mailto:stevengil...@gmail.com] >> Sent: Tuesday, November 10, 2015 2:16 PM >> To: dev@cordova.apache.org >> Subject: Re: [DISCUSS] CLI Templates >> >> I

Re: [DISCUSS] CLI Templates

2015-11-10 Thread Raymond Camden
decide what they want to do, and most of them will not >>> bundle plugins or platforms. >>> >>> -Original Message- >>> From: Steven Gill [mailto:stevengil...@gmail.com] >>> Sent: Tuesday, November 10, 2015 2:16 PM >>> To: dev@cordova.apache

Re: [DISCUSS] CLI Templates

2015-11-10 Thread Carlos Santana
gins or platforms. > > -Original Message- > From: Steven Gill [mailto:stevengil...@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 the

Re: [DISCUSS] CLI Templates

2015-11-10 Thread Steven Gill
Message- > From: Carlos Santana [mailto:csantan...@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 >