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
iterate. >>>>>>>>> >>>>>>>>> I thought I follow the our community practices as best I >> understood. >>>>>>>>> Wrote a proposal, communicated in the mailing list, got feedback to >>>>>>

Re: [DISCUSS] CLI Templates

2016-05-31 Thread Steven Gill
on > >>>> PR, > >>>>>>> gave a heads up on that there was no more feedback and everything > >> that > >>>> was > >>>>>>> discuss was implemented. > >>>>>>> > >>>>>>> I saw Dmit

Re: [DISCUSS] CLI Templates

2016-05-31 Thread Tommy Williams
;>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> We already have support for the --template flag in Cordova. >>>>>>>>>>> >>>>>

Re: [DISCUSS] CLI Templates

2016-05-31 Thread Steven Gill
have a way of specifying default templates: throught the > >>>>> json > >>>>>>>> file: cordova_project/.cordova/config.json. > >>>>>>>>> > >>>>>>>>> I think we should:

Re: [DISCUSS] CLI Templates

2016-05-31 Thread Carlos Santana
added to the CLI help. Will file a bug. >>>>>>> >>>>>>> On Wed, Dec 9, 2015 at 12:06 AM, Steven Gill >> >>>>>>> wrote: >>>>>>>> The thread was proposed Nov 10th and PR was merged Dec 3rd. I think >>>>>> t

Re: [DISCUSS] CLI Templates

2016-05-31 Thread Jesse
ature 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 > >>&g

Re: [DISCUSS] CLI Templates

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

Re: [DISCUSS] CLI Templates

2016-05-31 Thread Tommy Williams
t; I’m definitely not a fan of adding flags just for the purpose of very >>>>>> specific convenience, but if I’m alone in that opinion then let’s do >>>>>> whatever the majority decides. >>>>>> >>>>>> Kindly, >>>>>

Re: [DISCUSS] CLI Templates

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

Re: [DISCUSS] CLI Templates

2016-05-31 Thread Steven Gill
copied) and --link-to. > > > >> > > > >> We also have a way of specifying default templates: throught the > json > > > > file: cordova_project/.cordova/config.json. > > > >> > > > >> I think we should: > > > >> - deprecate --copy-from

Re: [DISCUSS] CLI Templates

2015-12-11 Thread Carlos Santana
rom > > >> - update the current --template logic to support local folders in > > > addition to NPM and GIT URLs > > >> - fallback to using the 'cordova-hello-world' template when a > > critical > > > option/file/folder isn’t p

Re: [DISCUSS] CLI Templates

2015-12-10 Thread Simon MacDonald
nfig.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:

Re: [DISCUSS] CLI Templates

2015-12-10 Thread Raymond Camden
> >> >> 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 >&

Re: [DISCUSS] CLI Templates

2015-12-08 Thread Steven Gill
s, > 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 li

Re: [DISCUSS] CLI Templates

2015-12-08 Thread Dmitry Blotsky
g 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: [DISCUSS] CLI Templates > > Hi

RE: [DISCUSS] CLI Templates

2015-12-08 Thread Mefire O .
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: [DISCUSS] CLI Templates Hi Dmitry 1. It was discuss in the mailing list, that use case #1 was not need it,

Re: [DISCUSS] CLI Templates

2015-12-08 Thread Dmitry Blotsky
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`

Re: [DISCUSS] CLI Templates

2015-12-08 Thread Carlos Santana
ec 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- > &g

Re: [DISCUSS] CLI Templates

2015-12-07 Thread Dmitry Blotsky
> 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 >

Re: [DISCUSS] CLI Templates

2015-12-05 Thread Carlos Santana
rty, 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 >

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
>> >> > >>> >>> >> > >>> >>> On 11/12/15, 10:10 AM, "Gorkem Ercan" >> > >>> wrote: >> > >>> >>> >> > >>> >>> > >> > >

Re: [DISCUSS] CLI Templates

2015-12-04 Thread Carlos Santana
we add yeoman as an option something like $cordova create > > myApp > > >>> >>> >--template=yo:m > > >>> >>> >to invoke the generator m ? > > >>> >>> >-- > > >>> >>> >Gorkem > > >&

Re: [DISCUSS] CLI Templates

2015-12-04 Thread Michael Brooks
's behavior for backwards compatibility. I > think > >>> it > >>> >>> >> will > >>> >>> >> be good to mark it deprecated for a certain period of time, > >>> >>> >> > >>> >>> > > >

Re: [DISCUSS] CLI Templates

2015-12-03 Thread Carlos Santana
ating the copy-from. >>> >>> > >>> >>> >> >>> >>> >> On Tue, Nov 10, 2015 at 5:19 PM Parashuram N < >>> panar...@microsoft.com> >>> >>> >> wrote: >>> >>> >> >>>

Re: [DISCUSS] CLI Templates

2015-11-13 Thread Carlos Santana
gins" it's not >> >>> >> consider a >> >>> >> template, its consider a cordova project ready to be use no need to >> >>> >> run >> >>> >> create on it. >> >>> >> >> >>> &

Re: [DISCUSS] CLI Templates

2015-11-13 Thread Carlos Santana
e, and copy over everything. The > >>> >>> templates can then decide what they want to do, and most of them > will > >>> >>> not > >>> >>> bundle plugins or platforms. > >>> >>> > >>> >>> -Or

Re: [DISCUSS] CLI Templates

2015-11-13 Thread Shazron
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. >>> > >>> >> &g

Re: [DISCUSS] CLI Templates

2015-11-13 Thread Carlos Santana
the copy-from. >> > >> >> >> >> On Tue, Nov 10, 2015 at 5:19 PM Parashuram N >> >> wrote: >> >> >> >>> Yes, they would. However, there could be cases where folks would like >> >>> to >> >>> have temp

Re: [DISCUSS] CLI Templates

2015-11-13 Thread Carlos Santana
lks 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 c

Re: [DISCUSS] CLI Templates

2015-11-13 Thread Shazron
gt;>>> 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 copy over everything. The >>>&

Re: [DISCUSS] CLI Templates

2015-11-12 Thread Parashuram N
vent 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 Message- >>> From:

Re: [DISCUSS] CLI Templates

2015-11-12 Thread Gorkem Ercan
ven 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-10 Thread Raymond Camden
plates 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 copy over everything. The >>> templates can then decide what they want to do, and most of the

Re: [DISCUSS] CLI Templates

2015-11-10 Thread Carlos Santana
lugins 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 platfor

Re: [DISCUSS] CLI Templates

2015-11-10 Thread Carlos Santana
r 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 th

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 and

Re: [DISCUSS] CLI Templates

2015-11-10 Thread Steven Gill
arlos 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 > is already a template

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'

Re: [DISCUSS] CLI Templates

2015-11-10 Thread Carlos Santana
tforms 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: [DISCUSS] CLI Templates >

RE: [DISCUSS] CLI Templates

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

Re: [DISCUSS] CLI Templates

2015-11-10 Thread Raymond Camden
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 use my own particular template. On Tue, Nov 10, 2015 at 1:52 PM, Ryan J. Salva wrote: >

RE: [DISCUSS] CLI Templates

2015-11-10 Thread Ryan J. Salva
I love it! rjs Ryan J. Salva  |  Principal Program Manager Lead Visual Studio Tools for Apache Cordova rsa...@microsoft.com 206 612 5079 mobile -Original Message- From: Carlos Santana [mailto:csantan...@gmail.com] Sent: Tuesday, November 10, 2015 7:49 PM To: dev@cordova.apache.org Su