Re: [cordova-cli] vendoring the platforms instead of lazy download

2013-03-25 Thread Braden Shepherdson
I don't think there's a better place for that transition than moving to 3.0, though. It's already a huge change with the CLI and plugins and the rest. Also one of the key advantages to splitting up the core into plugins is that we wanted to separate the permissions so that Cordova apps don't ask

Re: [cordova-cli] vendoring the platforms instead of lazy download

2013-03-25 Thread Brian LeRoux
To be clear, I am certain we all agree, but this is the future. We're working towards that future. We simply have too many users to not build the transition path into our releases. Maybe 3.0 is that time. Four months to move everything to plugins only. We'll see if we make it. On Mon, Mar 25,

Re: [cordova-cli] vendoring the platforms instead of lazy download

2013-03-25 Thread Braden Shepherdson
Four months? I thought we had agreed that 3.0 doesn't come after 2.9, it comes when we're ready. We can do 2.12 if we need to, or having 2.8 followed by 3.0. Is there some other timeline I don't know about? Braden On Mon, Mar 25, 2013 at 1:39 PM, Brian LeRoux b...@brian.io wrote: To be clear,

Re: [cordova-cli] vendoring the platforms instead of lazy download

2013-03-25 Thread Brian LeRoux
In seriousness I am excited! We get to talk about everything that happened this past year. (Lots.) On Mon, Mar 25, 2013 at 12:42 PM, Andrew Grieve agri...@chromium.org wrote: Couldn't find the thread, but I also thought there we had discussed having the 3.0 release == moving to CLI having

Re: [cordova-cli] vendoring the platforms instead of lazy download

2013-03-25 Thread Andrew Grieve
Couldn't find the thread, but I also thought there we had discussed having the 3.0 release == moving to CLI having plugins separated. I know PhoneGap Day is in July, and I agree 3.0 for PGD is a great goal, but a major version number bump shouldn't indicate that time has elapsed. There should be

[cordova-cli] vendoring the platforms instead of lazy download

2013-03-22 Thread Brian LeRoux
Right now we put the release of Cordova into the npm package for cordova-cli and we version lock the two. (Codova/CLI 2.5.x === Cordova/Platform 2.5.latest). We did this because: - has to work offline - cannot have a Git dep to do development - issue tracking locked to the real version of

Re: [cordova-cli] vendoring the platforms instead of lazy download

2013-03-22 Thread Braden Shepherdson
I'm content to have the vendoring, it has some advantages as you wrote. However, I would also very much like to add a platform that's running from somewhere on my local disk, as I described in my feature request in the doc. So I propose a flag like cordova platform add android

Re: [cordova-cli] vendoring the platforms instead of lazy download

2013-03-22 Thread Gord Tanner
There was some issues over download size for our cli, any idea what the size of all the platforms are? Sent from my iPhone On 2013-03-22, at 1:42 PM, Braden Shepherdson bra...@chromium.org wrote: I'm content to have the vendoring, it has some advantages as you wrote. However, I would also

Re: [cordova-cli] vendoring the platforms instead of lazy download

2013-03-22 Thread Brian LeRoux
It big. Certainly would be more efficient to lazy load, and cache so offline works. On Fri, Mar 22, 2013 at 11:04 AM, Gord Tanner gtan...@gmail.com wrote: There was some issues over download size for our cli, any idea what the size of all the platforms are? Sent from my iPhone On

Re: [cordova-cli] vendoring the platforms instead of lazy download

2013-03-22 Thread Andrew Grieve
Yep, my biggest concern is that we are able to use CLI but still work against master. I think braden's ask covers that though. What good is working offline if you have no plugins? Are you suggesting that we also include some set of plugins inside of cordova-cli? On Fri, Mar 22, 2013 at 2:13

Re: [cordova-cli] vendoring the platforms instead of lazy download

2013-03-22 Thread Michal Mocny
If you previously cloned platforms and plugins into some global location, you should be able to create a new HelloWorld app while offline, by using --link (for both platforms and plugins). Does that work? On Fri, Mar 22, 2013 at 3:51 PM, Andrew Grieve agri...@chromium.org wrote: Yep, my

Re: [cordova-cli] vendoring the platforms instead of lazy download

2013-03-22 Thread Brian LeRoux
Good question. My intuition is saying for as long as 3.x is around we preload w/ core plugins. We'll do as such w/ the PhoneGap distribution to minimize pain. Once ppl are used to the tools they'll be asking for us to default to none. My thoughts where that we'd start that way w/ Cordova but

Re: [cordova-cli] vendoring the platforms instead of lazy download

2013-03-22 Thread Michal Mocny
Hmm, but then the versioning of the core plugins is tied to the version of your cordova-cli tool at install time? I'm not opposed to installing cordova-core plugins by default which can optionally be used as a fallback when or something, but I'm not sure that every app you create should by

Re: [cordova-cli] vendoring the platforms instead of lazy download

2013-03-22 Thread Brian LeRoux
Offline happens! I think by default nobody needs ANY of our APIs but the transition to that thinking will be the trick. On Fri, Mar 22, 2013 at 1:07 PM, Michal Mocny mmo...@chromium.org wrote: Hmm, but then the versioning of the core plugins is tied to the version of your cordova-cli tool at