RE: cordova serve broken

2013-11-13 Thread Dick Van den Brink
Thanks for looking in to it! Hope I have some to check it today! Thanks!

Sent from my Windows Phone

From: Josh Soref<mailto:jso...@blackberry.com>
Sent: ‎11/‎13/‎2013 23:35
To: Cordova Dev<mailto:dev@cordova.apache.org>
Cc: Andrew Grieve<mailto:agri...@chromium.org>
Subject: Re: cordova serve broken

Dick wrote:
> https://issues.apache.org/jira/browse/CB-5368
> I tested on master and 3.2.0rc,
> not working in IE11,
> working in other browsers.
> Landing page is working in all browsers.

Thanks. This is Andrew's bug. Specifically, the deflate path.

Offhand, stackoverflow.com 1077869‎
-
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.


Re: cordova serve broken

2013-11-13 Thread Josh Soref
Dick wrote:
> https://issues.apache.org/jira/browse/CB-5368
> I tested on master and 3.2.0rc,
> not working in IE11,
> working in other browsers.
> Landing page is working in all browsers.

Thanks. This is Andrew's bug. Specifically, the deflate path. 

Offhand, stackoverflow.com 1077869‎
-
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.


Re: cordova serve broken

2013-11-13 Thread Josh Soref
Bryan wrote:
> To be fair to Josh, the semantic change was made long before he started
> working on this project. He simply noticed serve was broken and sent a
> patch to the list for review.

‎I'd like for underscore this point, unlike most of my patches which were pull 
requests for merging, I was asking for opinions and was rather surprised that 
it landed.
-
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.


Re: cordova serve broken

2013-11-13 Thread Brian LeRoux
Cool. So that would not constitute discussion IMO. Point being: making that
change without discussion has lead to bugs and a poorer experience.
On Nov 13, 2013 11:26 AM, "Andrew Grieve"  wrote:

> I changed it in September, and announced the change in a blog post:
> http://cordova.apache.org/news/2013/09/13/last-week.html
>
>
>
>
> On Wed, Nov 13, 2013 at 11:59 AM, Bryan Higgins  >wrote:
>
> > To be fair to Josh, the semantic change was made long before he started
> > working on this project. He simply noticed serve was broken and sent a
> > patch to the list for review.
> >
> >
> > On Wed, Nov 13, 2013 at 11:19 AM, Brian LeRoux  wrote:
> >
> > > Thx Dick.
> > >
> > > So, Braden/Josh: did we discuss these semantics changes on list at all
> or
> > > was this just colloquially decided out off list and implemented? The
> > latter
> > > is not cool. If I missed the former I apologize.
> > >
> > > I don't have a problem with this new feature per se but I don't think
> it
> > > has been thoroughly discussed (regardless), and obviously it has not
> been
> > > well tested (if at all).
> > >
> > > And I do have trouble with adding stuff to an already very large
> project.
> > > Do we need the new url scheme for app harness? If so, a landing page
> > thing
> > > makes sense, I guess. Feels like we walking into territory that belongs
> > to
> > > tooling like Grunt however. Could we have worked together to use the
> > > designer resources available from other committers to make it look
> better
> > > than an error state? Yes.
> > >
> > > Mild rant time.
> > >
> > > We have to use this list to keep everyone in the loop on the work being
> > > done. We can help each other create solid releases with beautiful
> > > experiences. Quietly introducing new semantics, untested, and a frankly
> > > terrible looking experience is a step backwards and worst of all it
> > wasn't
> > > necessary. I am certain this was not deliberate or malicious but I do
> > think
> > > it sucks.
> > >
> > > I am asking everyone here to think before you rock a large changeset,
> > make
> > > smaller atomic changes that are thoroughly discussed, and give everyone
> > > here the opportunity to contribute to the effort. Each release should
> be
> > an
> > > improvement on the last.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > On Wed, Nov 13, 2013 at 12:21 AM, Dick Van den Brink <
> > > d_vandenbr...@outlook.com> wrote:
> > >
> > > > Issue created: https://issues.apache.org/jira/browse/CB-5368
> > > > I tested on master and 3.2.0rc, not working in IE11, working in other
> > > > browsers.
> > > > Landing page is working in all browsers.
> > > >
> > > >
> > > > > From: jso...@blackberry.com
> > > > > To: dev@cordova.apache.org; d_vandenbr...@outlook.com; b...@brian.io;
> > > > timki...@gmail.com
> > > > > CC: j...@blackberry.com
> > > > > Subject: Re: cordova serve broken
> > > > > Date: Wed, 13 Nov 2013 05:39:42 +
> > > > >
> > > > > Andrew wrote:
> > > > >> Sounds issue-worthy.
> > > > >
> > > > >> I think Josh added some usage messages to serve
> > > > >
> > > > > Yes, I drove changes by our team here.
> > > > >
> > > > >> (and a landing page for /),
> > > > >
> > > > > Yep, especially this
> > > > >
> > > > >> so the next release will be more user-friendly.
> > > > >
> > > > > Speaking of which, there's a release candidate available now,
> please
> > > try
> > > > the following:
> > > > >
> > > > > npm install -g cordova@3.2.0-rc.1
> > > > >
> > > > >
> > > > > cordova create directory com.example.hello HelloWorld
> > > > > cd directory
> > > > > cordova platform add blackberry10
> > > > >
> > > > > cordova serve
> > > > >
> > > > > And then visit http://localhost:8000 in your browsers.
> > > > >
> > > > > We're doing testing of Cordova 3.2 RC this week and I'm happy to
> work
> > > on
> > > > things that are identified.
> > > > >
> > > > > I have OS X 10.9 and Windows 8 handy along with some VMs from
> > > modern.ie.
> > > > If there are browsers that should be tested, please let us know.
> > > > >
> > > > > The landing page isn't particularly shiny as I don't usually spend
> > time
> > > > on CSS. Patches or suggestions are welcome.
> > > > >
> -
> > > > > This transmission (including any attachments) may contain
> > confidential
> > > > information, privileged material (including material protected by the
> > > > solicitor-client or other applicable privileges), or constitute
> > > non-public
> > > > information. Any use of this information by anyone other than the
> > > intended
> > > > recipient is prohibited. If you have received this transmission in
> > error,
> > > > please immediately reply to the sender and delete this information
> from
> > > > your system. Use, dissemination, distribution, or reproduction of
> this
> > > > transmission by unintended recipients is not authorized and may be
> > > > unlawful.
> > > >
> > >
> >
>


Re: cordova serve broken

2013-11-13 Thread Andrew Grieve
To elaborate - when I made the change, serve was not documented anywhere,
and it was in a broken state (it was serving the root www/ instead of the
platform one), so I figured it wasn't really a "launched" feature, but
rather a work-in-progress.

With the last round of changes, we probably could consider it good enough
to start telling people to use it.


On Wed, Nov 13, 2013 at 2:18 PM, Andrew Grieve  wrote:

> I changed it in September, and announced the change in a blog post:
> http://cordova.apache.org/news/2013/09/13/last-week.html
>
>
>
>
> On Wed, Nov 13, 2013 at 11:59 AM, Bryan Higgins wrote:
>
>> To be fair to Josh, the semantic change was made long before he started
>> working on this project. He simply noticed serve was broken and sent a
>> patch to the list for review.
>>
>>
>> On Wed, Nov 13, 2013 at 11:19 AM, Brian LeRoux  wrote:
>>
>> > Thx Dick.
>> >
>> > So, Braden/Josh: did we discuss these semantics changes on list at all
>> or
>> > was this just colloquially decided out off list and implemented? The
>> latter
>> > is not cool. If I missed the former I apologize.
>> >
>> > I don't have a problem with this new feature per se but I don't think it
>> > has been thoroughly discussed (regardless), and obviously it has not
>> been
>> > well tested (if at all).
>> >
>> > And I do have trouble with adding stuff to an already very large
>> project.
>> > Do we need the new url scheme for app harness? If so, a landing page
>> thing
>> > makes sense, I guess. Feels like we walking into territory that belongs
>> to
>> > tooling like Grunt however. Could we have worked together to use the
>> > designer resources available from other committers to make it look
>> better
>> > than an error state? Yes.
>> >
>> > Mild rant time.
>> >
>> > We have to use this list to keep everyone in the loop on the work being
>> > done. We can help each other create solid releases with beautiful
>> > experiences. Quietly introducing new semantics, untested, and a frankly
>> > terrible looking experience is a step backwards and worst of all it
>> wasn't
>> > necessary. I am certain this was not deliberate or malicious but I do
>> think
>> > it sucks.
>> >
>> > I am asking everyone here to think before you rock a large changeset,
>> make
>> > smaller atomic changes that are thoroughly discussed, and give everyone
>> > here the opportunity to contribute to the effort. Each release should
>> be an
>> > improvement on the last.
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Wed, Nov 13, 2013 at 12:21 AM, Dick Van den Brink <
>> > d_vandenbr...@outlook.com> wrote:
>> >
>> > > Issue created: https://issues.apache.org/jira/browse/CB-5368
>> > > I tested on master and 3.2.0rc, not working in IE11, working in other
>> > > browsers.
>> > > Landing page is working in all browsers.
>> > >
>> > >
>> > > > From: jso...@blackberry.com
>> > > > To: dev@cordova.apache.org; d_vandenbr...@outlook.com; b...@brian.io;
>> > > timki...@gmail.com
>> > > > CC: j...@blackberry.com
>> > > > Subject: Re: cordova serve broken
>> > > > Date: Wed, 13 Nov 2013 05:39:42 +
>> > > >
>> > > > Andrew wrote:
>> > > >> Sounds issue-worthy.
>> > > >
>> > > >> I think Josh added some usage messages to serve
>> > > >
>> > > > Yes, I drove changes by our team here.
>> > > >
>> > > >> (and a landing page for /),
>> > > >
>> > > > Yep, especially this
>> > > >
>> > > >> so the next release will be more user-friendly.
>> > > >
>> > > > Speaking of which, there's a release candidate available now, please
>> > try
>> > > the following:
>> > > >
>> > > > npm install -g cordova@3.2.0-rc.1
>> > > >
>> > > >
>> > > > cordova create directory com.example.hello HelloWorld
>> > > > cd directory
>> > > > cordova platform add blackberry10
>> > > >
>> > > > cordova serve
>> > > >
>> > > > And then visit http://localhost:8000 in your browsers.
>> > > >
>&

Re: cordova serve broken

2013-11-13 Thread Andrew Grieve
I changed it in September, and announced the change in a blog post:
http://cordova.apache.org/news/2013/09/13/last-week.html




On Wed, Nov 13, 2013 at 11:59 AM, Bryan Higgins wrote:

> To be fair to Josh, the semantic change was made long before he started
> working on this project. He simply noticed serve was broken and sent a
> patch to the list for review.
>
>
> On Wed, Nov 13, 2013 at 11:19 AM, Brian LeRoux  wrote:
>
> > Thx Dick.
> >
> > So, Braden/Josh: did we discuss these semantics changes on list at all or
> > was this just colloquially decided out off list and implemented? The
> latter
> > is not cool. If I missed the former I apologize.
> >
> > I don't have a problem with this new feature per se but I don't think it
> > has been thoroughly discussed (regardless), and obviously it has not been
> > well tested (if at all).
> >
> > And I do have trouble with adding stuff to an already very large project.
> > Do we need the new url scheme for app harness? If so, a landing page
> thing
> > makes sense, I guess. Feels like we walking into territory that belongs
> to
> > tooling like Grunt however. Could we have worked together to use the
> > designer resources available from other committers to make it look better
> > than an error state? Yes.
> >
> > Mild rant time.
> >
> > We have to use this list to keep everyone in the loop on the work being
> > done. We can help each other create solid releases with beautiful
> > experiences. Quietly introducing new semantics, untested, and a frankly
> > terrible looking experience is a step backwards and worst of all it
> wasn't
> > necessary. I am certain this was not deliberate or malicious but I do
> think
> > it sucks.
> >
> > I am asking everyone here to think before you rock a large changeset,
> make
> > smaller atomic changes that are thoroughly discussed, and give everyone
> > here the opportunity to contribute to the effort. Each release should be
> an
> > improvement on the last.
> >
> >
> >
> >
> >
> >
> >
> >
> > On Wed, Nov 13, 2013 at 12:21 AM, Dick Van den Brink <
> > d_vandenbr...@outlook.com> wrote:
> >
> > > Issue created: https://issues.apache.org/jira/browse/CB-5368
> > > I tested on master and 3.2.0rc, not working in IE11, working in other
> > > browsers.
> > > Landing page is working in all browsers.
> > >
> > >
> > > > From: jso...@blackberry.com
> > > > To: dev@cordova.apache.org; d_vandenbr...@outlook.com; b...@brian.io;
> > > timki...@gmail.com
> > > > CC: j...@blackberry.com
> > > > Subject: Re: cordova serve broken
> > > > Date: Wed, 13 Nov 2013 05:39:42 +
> > > >
> > > > Andrew wrote:
> > > >> Sounds issue-worthy.
> > > >
> > > >> I think Josh added some usage messages to serve
> > > >
> > > > Yes, I drove changes by our team here.
> > > >
> > > >> (and a landing page for /),
> > > >
> > > > Yep, especially this
> > > >
> > > >> so the next release will be more user-friendly.
> > > >
> > > > Speaking of which, there's a release candidate available now, please
> > try
> > > the following:
> > > >
> > > > npm install -g cordova@3.2.0-rc.1
> > > >
> > > >
> > > > cordova create directory com.example.hello HelloWorld
> > > > cd directory
> > > > cordova platform add blackberry10
> > > >
> > > > cordova serve
> > > >
> > > > And then visit http://localhost:8000 in your browsers.
> > > >
> > > > We're doing testing of Cordova 3.2 RC this week and I'm happy to work
> > on
> > > things that are identified.
> > > >
> > > > I have OS X 10.9 and Windows 8 handy along with some VMs from
> > modern.ie.
> > > If there are browsers that should be tested, please let us know.
> > > >
> > > > The landing page isn't particularly shiny as I don't usually spend
> time
> > > on CSS. Patches or suggestions are welcome.
> > > > -
> > > > This transmission (including any attachments) may contain
> confidential
> > > information, privileged material (including material protected by the
> > > solicitor-client or other applicable privileges), or constitute
> > non-public
> > > information. Any use of this information by anyone other than the
> > intended
> > > recipient is prohibited. If you have received this transmission in
> error,
> > > please immediately reply to the sender and delete this information from
> > > your system. Use, dissemination, distribution, or reproduction of this
> > > transmission by unintended recipients is not authorized and may be
> > > unlawful.
> > >
> >
>


Re: cordova serve broken

2013-11-13 Thread Bryan Higgins
To be fair to Josh, the semantic change was made long before he started
working on this project. He simply noticed serve was broken and sent a
patch to the list for review.


On Wed, Nov 13, 2013 at 11:19 AM, Brian LeRoux  wrote:

> Thx Dick.
>
> So, Braden/Josh: did we discuss these semantics changes on list at all or
> was this just colloquially decided out off list and implemented? The latter
> is not cool. If I missed the former I apologize.
>
> I don't have a problem with this new feature per se but I don't think it
> has been thoroughly discussed (regardless), and obviously it has not been
> well tested (if at all).
>
> And I do have trouble with adding stuff to an already very large project.
> Do we need the new url scheme for app harness? If so, a landing page thing
> makes sense, I guess. Feels like we walking into territory that belongs to
> tooling like Grunt however. Could we have worked together to use the
> designer resources available from other committers to make it look better
> than an error state? Yes.
>
> Mild rant time.
>
> We have to use this list to keep everyone in the loop on the work being
> done. We can help each other create solid releases with beautiful
> experiences. Quietly introducing new semantics, untested, and a frankly
> terrible looking experience is a step backwards and worst of all it wasn't
> necessary. I am certain this was not deliberate or malicious but I do think
> it sucks.
>
> I am asking everyone here to think before you rock a large changeset, make
> smaller atomic changes that are thoroughly discussed, and give everyone
> here the opportunity to contribute to the effort. Each release should be an
> improvement on the last.
>
>
>
>
>
>
>
>
> On Wed, Nov 13, 2013 at 12:21 AM, Dick Van den Brink <
> d_vandenbr...@outlook.com> wrote:
>
> > Issue created: https://issues.apache.org/jira/browse/CB-5368
> > I tested on master and 3.2.0rc, not working in IE11, working in other
> > browsers.
> > Landing page is working in all browsers.
> >
> >
> > > From: jso...@blackberry.com
> > > To: dev@cordova.apache.org; d_vandenbr...@outlook.com; b...@brian.io;
> > timki...@gmail.com
> > > CC: j...@blackberry.com
> > > Subject: Re: cordova serve broken
> > > Date: Wed, 13 Nov 2013 05:39:42 +
> > >
> > > Andrew wrote:
> > >> Sounds issue-worthy.
> > >
> > >> I think Josh added some usage messages to serve
> > >
> > > Yes, I drove changes by our team here.
> > >
> > >> (and a landing page for /),
> > >
> > > Yep, especially this
> > >
> > >> so the next release will be more user-friendly.
> > >
> > > Speaking of which, there's a release candidate available now, please
> try
> > the following:
> > >
> > > npm install -g cordova@3.2.0-rc.1
> > >
> > >
> > > cordova create directory com.example.hello HelloWorld
> > > cd directory
> > > cordova platform add blackberry10
> > >
> > > cordova serve
> > >
> > > And then visit http://localhost:8000 in your browsers.
> > >
> > > We're doing testing of Cordova 3.2 RC this week and I'm happy to work
> on
> > things that are identified.
> > >
> > > I have OS X 10.9 and Windows 8 handy along with some VMs from
> modern.ie.
> > If there are browsers that should be tested, please let us know.
> > >
> > > The landing page isn't particularly shiny as I don't usually spend time
> > on CSS. Patches or suggestions are welcome.
> > > -
> > > This transmission (including any attachments) may contain confidential
> > information, privileged material (including material protected by the
> > solicitor-client or other applicable privileges), or constitute
> non-public
> > information. Any use of this information by anyone other than the
> intended
> > recipient is prohibited. If you have received this transmission in error,
> > please immediately reply to the sender and delete this information from
> > your system. Use, dissemination, distribution, or reproduction of this
> > transmission by unintended recipients is not authorized and may be
> > unlawful.
> >
>


Re: cordova serve broken

2013-11-13 Thread Brian LeRoux
Thx Dick.

So, Braden/Josh: did we discuss these semantics changes on list at all or
was this just colloquially decided out off list and implemented? The latter
is not cool. If I missed the former I apologize.

I don't have a problem with this new feature per se but I don't think it
has been thoroughly discussed (regardless), and obviously it has not been
well tested (if at all).

And I do have trouble with adding stuff to an already very large project.
Do we need the new url scheme for app harness? If so, a landing page thing
makes sense, I guess. Feels like we walking into territory that belongs to
tooling like Grunt however. Could we have worked together to use the
designer resources available from other committers to make it look better
than an error state? Yes.

Mild rant time.

We have to use this list to keep everyone in the loop on the work being
done. We can help each other create solid releases with beautiful
experiences. Quietly introducing new semantics, untested, and a frankly
terrible looking experience is a step backwards and worst of all it wasn't
necessary. I am certain this was not deliberate or malicious but I do think
it sucks.

I am asking everyone here to think before you rock a large changeset, make
smaller atomic changes that are thoroughly discussed, and give everyone
here the opportunity to contribute to the effort. Each release should be an
improvement on the last.








On Wed, Nov 13, 2013 at 12:21 AM, Dick Van den Brink <
d_vandenbr...@outlook.com> wrote:

> Issue created: https://issues.apache.org/jira/browse/CB-5368
> I tested on master and 3.2.0rc, not working in IE11, working in other
> browsers.
> Landing page is working in all browsers.
>
>
> > From: jso...@blackberry.com
> > To: dev@cordova.apache.org; d_vandenbr...@outlook.com; b...@brian.io;
> timki...@gmail.com
> > CC: j...@blackberry.com
> > Subject: Re: cordova serve broken
> > Date: Wed, 13 Nov 2013 05:39:42 +
> >
> > Andrew wrote:
> >> Sounds issue-worthy.
> >
> >> I think Josh added some usage messages to serve
> >
> > Yes, I drove changes by our team here.
> >
> >> (and a landing page for /),
> >
> > Yep, especially this
> >
> >> so the next release will be more user-friendly.
> >
> > Speaking of which, there's a release candidate available now, please try
> the following:
> >
> > npm install -g cordova@3.2.0-rc.1
> >
> >
> > cordova create directory com.example.hello HelloWorld
> > cd directory 
> > cordova platform add blackberry10
> > 
> > cordova serve
> >
> > And then visit http://localhost:8000 in your browsers.
> >
> > We're doing testing of Cordova 3.2 RC this week and I'm happy to work on
> things that are identified.
> >
> > I have OS X 10.9 and Windows 8 handy along with some VMs from modern.ie.
> If there are browsers that should be tested, please let us know.
> >
> > The landing page isn't particularly shiny as I don't usually spend time
> on CSS. Patches or suggestions are welcome.
> > -
> > This transmission (including any attachments) may contain confidential
> information, privileged material (including material protected by the
> solicitor-client or other applicable privileges), or constitute non-public
> information. Any use of this information by anyone other than the intended
> recipient is prohibited. If you have received this transmission in error,
> please immediately reply to the sender and delete this information from
> your system. Use, dissemination, distribution, or reproduction of this
> transmission by unintended recipients is not authorized and may be
> unlawful.
>


RE: cordova serve broken

2013-11-13 Thread Dick Van den Brink
Issue created: https://issues.apache.org/jira/browse/CB-5368
I tested on master and 3.2.0rc, not working in IE11, working in other browsers.
Landing page is working in all browsers.


> From: jso...@blackberry.com
> To: dev@cordova.apache.org; d_vandenbr...@outlook.com; b...@brian.io; 
> timki...@gmail.com
> CC: j...@blackberry.com
> Subject: Re: cordova serve broken
> Date: Wed, 13 Nov 2013 05:39:42 +
> 
> Andrew wrote:
>> Sounds issue-worthy.
> 
>> I think Josh added some usage messages to serve
> 
> Yes, I drove changes by our team here. 
> 
>> (and a landing page for /),
> 
> Yep, especially this 
> 
>> so the next release will be more user-friendly.
> 
> Speaking of which, there's a release candidate available now, please try the 
> following:
> 
> ‎npm install -g cordova@3.2.0-rc.1
> 
> 
> cordova create directory com.example.hello HelloWorld
> cd directory ‎
> cordova platform add blackberry10‎
> ‎
> cordova serve‎
> 
> And then visit http://localhost:8000 in your browsers. 
> 
> We're doing testing of Cordova 3.2 RC this week and I'm happy to work on 
> things that are identified. 
> 
> I have OS X 10.9 and Windows 8 handy along with some VMs from modern.ie. If 
> there are browsers that should be tested, please let us know. 
> 
> The landing page isn't particularly shiny as I don't usually spend time on 
> CSS. Patches or suggestions are welcome. 
> -
> This transmission (including any attachments) may contain confidential 
> information, privileged material (including material protected by the 
> solicitor-client or other applicable privileges), or constitute non-public 
> information. Any use of this information by anyone other than the intended 
> recipient is prohibited. If you have received this transmission in error, 
> please immediately reply to the sender and delete this information from your 
> system. Use, dissemination, distribution, or reproduction of this 
> transmission by unintended recipients is not authorized and may be unlawful.  
>   

Re: cordova serve broken

2013-11-12 Thread Josh Soref
Andrew wrote:
> Sounds issue-worthy.

> I think Josh added some usage messages to serve

Yes, I drove changes by our team here. 

> (and a landing page for /),

Yep, especially this 

> so the next release will be more user-friendly.

Speaking of which, there's a release candidate available now, please try the 
following:

‎npm install -g cordova@3.2.0-rc.1


cordova create directory com.example.hello HelloWorld
cd directory ‎
cordova platform add blackberry10‎
‎
cordova serve‎

And then visit http://localhost:8000 in your browsers. 

We're doing testing of Cordova 3.2 RC this week and I'm happy to work on things 
that are identified. 

I have OS X 10.9 and Windows 8 handy along with some VMs from modern.ie. If 
there are browsers that should be tested, please let us know. 

The landing page isn't particularly shiny as I don't usually spend time on CSS. 
Patches or suggestions are welcome. 
-
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.


Re: cordova serve broken

2013-11-12 Thread Andrew Grieve
Sounds issue-worthy.

I think Josh added some usage messages to serve (and a landing page for /),
so the next release will be more user-friendly.


On Tue, Nov 12, 2013 at 6:10 PM, Dick Van den Brink <
d_vandenbr...@outlook.com> wrote:

> Did some testing, it isn't working on IE11, it does work on PaleMoon
> (Firefox).
>
>
>
> So it is a bit weird because the landing page is working on IE11… Shall I
> create an issue for it?
>
> Verzonden met Windows Mail
>
>
>
>
>
> Van: Dick Van den Brink
> Verzonden: woensdag 13 november 2013 00:08
> Aan: dev@cordova.apache.org
>
>
>
>
>
> I don't think it is working either on master.
>
> Console is giving me a status 200 on /windows8/www/index.html but with an
> empty response body.
>
> It's giving me a 404 when the page doesn't exists so that seems to be fine.
>
> Note: I'm testing this on a Windows machine.
>
>
>
>
>
>
> Verzonden met Windows Mail
>
>
>
>
>
> Van: Braden Shepherdson
> Verzonden: dinsdag 12 november 2013 23:56
> Aan: dev@cordova.apache.org
>
>
>
>
>
> I think people are not aware that the semantics of the serve command
> changed a while ago.
>
> The correct steps now are:
> - run "cordova serve", with no platform named.
> - go to http://localhost:8000/android or some other platform you have
> installed
> - it works, you can fetch the various assets. Cordova plugins aren't going
> to work, deviceready won't fire, etc.
>
>
> On Tue, Nov 12, 2013 at 5:38 PM, Brian LeRoux  wrote:
>
> > weird. this is "working"?
> >
> >
> > On Tue, Nov 12, 2013 at 2:23 PM, Shazron  wrote:
> >
> >> cordova cli 3.2.0-rc.1 --> cordova serve works fine on iOS
> >>
> >>
> >> On Tue, Nov 12, 2013 at 2:14 PM, Shazron  wrote:
> >>
> >> > I confirm Tim's results (but this was 3.1.0-0.1.0), haven't tried 3.2
> >> rc1
> >> > yet.
> >> >
> >> >
> >>
> >
> >
>


Re: cordova serve broken

2013-11-12 Thread Dick Van den Brink
Did some testing, it isn't working on IE11, it does work on PaleMoon (Firefox).



So it is a bit weird because the landing page is working on IE11… Shall I 
create an issue for it?

Verzonden met Windows Mail





Van: Dick Van den Brink
Verzonden: ‎woensdag‎ ‎13‎ ‎november‎ ‎2013 ‎00‎:‎08
Aan: dev@cordova.apache.org





I don't think it is working either on master. 

Console is giving me a status 200 on /windows8/www/index.html but with an empty 
response body.

It's giving me a 404 when the page doesn't exists so that seems to be fine.

Note: I'm testing this on a Windows machine.






Verzonden met Windows Mail





Van: Braden Shepherdson
Verzonden: ‎dinsdag‎ ‎12‎ ‎november‎ ‎2013 ‎23‎:‎56
Aan: dev@cordova.apache.org





I think people are not aware that the semantics of the serve command
changed a while ago.

The correct steps now are:
- run "cordova serve", with no platform named.
- go to http://localhost:8000/android or some other platform you have
installed
- it works, you can fetch the various assets. Cordova plugins aren't going
to work, deviceready won't fire, etc.


On Tue, Nov 12, 2013 at 5:38 PM, Brian LeRoux  wrote:

> weird. this is "working"?
>
>
> On Tue, Nov 12, 2013 at 2:23 PM, Shazron  wrote:
>
>> cordova cli 3.2.0-rc.1 --> cordova serve works fine on iOS
>>
>>
>> On Tue, Nov 12, 2013 at 2:14 PM, Shazron  wrote:
>>
>> > I confirm Tim's results (but this was 3.1.0-0.1.0), haven't tried 3.2
>> rc1
>> > yet.
>> >
>> >
>>
>
>

Re: cordova serve broken

2013-11-12 Thread Dick Van den Brink
I don't think it is working either on master. 

Console is giving me a status 200 on /windows8/www/index.html but with an empty 
response body.

It's giving me a 404 when the page doesn't exists so that seems to be fine.

Note: I'm testing this on a Windows machine.






Verzonden met Windows Mail





Van: Braden Shepherdson
Verzonden: ‎dinsdag‎ ‎12‎ ‎november‎ ‎2013 ‎23‎:‎56
Aan: dev@cordova.apache.org





I think people are not aware that the semantics of the serve command
changed a while ago.

The correct steps now are:
- run "cordova serve", with no platform named.
- go to http://localhost:8000/android or some other platform you have
installed
- it works, you can fetch the various assets. Cordova plugins aren't going
to work, deviceready won't fire, etc.


On Tue, Nov 12, 2013 at 5:38 PM, Brian LeRoux  wrote:

> weird. this is "working"?
>
>
> On Tue, Nov 12, 2013 at 2:23 PM, Shazron  wrote:
>
>> cordova cli 3.2.0-rc.1 --> cordova serve works fine on iOS
>>
>>
>> On Tue, Nov 12, 2013 at 2:14 PM, Shazron  wrote:
>>
>> > I confirm Tim's results (but this was 3.1.0-0.1.0), haven't tried 3.2
>> rc1
>> > yet.
>> >
>> >
>>
>
>

Re: cordova serve broken

2013-11-12 Thread Brian LeRoux
Ok. I must have missed the thread where that was discussed. (?)

Seems to me we should get some design on that unstyled dashboard page b/c
it was completely unclear to me what to do. I thought it was an an error
state.



On Tue, Nov 12, 2013 at 2:55 PM, Braden Shepherdson wrote:

> I think people are not aware that the semantics of the serve command
> changed a while ago.
>
> The correct steps now are:
> - run "cordova serve", with no platform named.
> - go to http://localhost:8000/android or some other platform you have
> installed
> - it works, you can fetch the various assets. Cordova plugins aren't going
> to work, deviceready won't fire, etc.
>
>
> On Tue, Nov 12, 2013 at 5:38 PM, Brian LeRoux  wrote:
>
> > weird. this is "working"?
> >
> >
> > On Tue, Nov 12, 2013 at 2:23 PM, Shazron  wrote:
> >
> >> cordova cli 3.2.0-rc.1 --> cordova serve works fine on iOS
> >>
> >>
> >> On Tue, Nov 12, 2013 at 2:14 PM, Shazron  wrote:
> >>
> >> > I confirm Tim's results (but this was 3.1.0-0.1.0), haven't tried 3.2
> >> rc1
> >> > yet.
> >> >
> >> >
> >>
> >
> >
>


Re: cordova serve broken

2013-11-12 Thread Braden Shepherdson
I think people are not aware that the semantics of the serve command
changed a while ago.

The correct steps now are:
- run "cordova serve", with no platform named.
- go to http://localhost:8000/android or some other platform you have
installed
- it works, you can fetch the various assets. Cordova plugins aren't going
to work, deviceready won't fire, etc.


On Tue, Nov 12, 2013 at 5:38 PM, Brian LeRoux  wrote:

> weird. this is "working"?
>
>
> On Tue, Nov 12, 2013 at 2:23 PM, Shazron  wrote:
>
>> cordova cli 3.2.0-rc.1 --> cordova serve works fine on iOS
>>
>>
>> On Tue, Nov 12, 2013 at 2:14 PM, Shazron  wrote:
>>
>> > I confirm Tim's results (but this was 3.1.0-0.1.0), haven't tried 3.2
>> rc1
>> > yet.
>> >
>> >
>>
>
>


Re: cordova serve broken

2013-11-12 Thread Brian LeRoux
weird. this is "working"?


On Tue, Nov 12, 2013 at 2:23 PM, Shazron  wrote:

> cordova cli 3.2.0-rc.1 --> cordova serve works fine on iOS
>
>
> On Tue, Nov 12, 2013 at 2:14 PM, Shazron  wrote:
>
> > I confirm Tim's results (but this was 3.1.0-0.1.0), haven't tried 3.2 rc1
> > yet.
> >
> >
>


Re: cordova serve broken

2013-11-12 Thread Shazron
cordova cli 3.2.0-rc.1 --> cordova serve works fine on iOS


On Tue, Nov 12, 2013 at 2:14 PM, Shazron  wrote:

> I confirm Tim's results (but this was 3.1.0-0.1.0), haven't tried 3.2 rc1
> yet.
>
>


Re: cordova serve broken

2013-11-12 Thread Shazron
I confirm Tim's results (but this was 3.1.0-0.1.0), haven't tried 3.2 rc1
yet.


Re: cordova serve broken

2013-11-12 Thread Tim Kim
Ya the cordova serve command isn't working for me either.

Just did these steps:
npm install cordova -g
cordova create foo
cd foo
cordova platform add ios
cordova serve ios
// says it's now serving on http://0.0.0.0:8000/
// browse to localhost:8000
// see '404 Not Found'




On 12 November 2013 14:04, Brian LeRoux  wrote:

> My definition of working is deployed not 'works on my machine'. =)
>
> I'm not comfortable pushing just this. Steve and/or Braden: are we stable
> to push a release now that this is apparently fixed?
>
>
> On Tue, Nov 12, 2013 at 1:54 PM, Josh Soref  wrote:
>
> > Brian wrote:
> > > did you try navigating to localhost:8000??
> > > I just updated to latest (deployed) bits and its still broken for me
> > > (can we start a new thread about ./platforms/html5 ?)
> >
> > Jenny is testing cordova-cli @master (git fetch¹d today), and we¹re using
> > cordova-blackberry@3.2.x (git fetch¹d today).
> >
> > She did:
> > cordova create 'A new App' a b
> > cd 'A new App¹
> > cordova platform add blackberry10
> >
> > cordova serve
> >
> > And then saw:
> >
> > Static file server running on port 8000 (i.e. http://localhost:8000)
> > CTRL + C to shut down
> >
> > And then when we visited http://localhost:8000, we saw a page with
> > ³Package Metadata², there¹s a link for ³blackberry10² and Š well, that¹s
> > my definition of ³working².
> >
> > -
> > This transmission (including any attachments) may contain confidential
> > information, privileged material (including material protected by the
> > solicitor-client or other applicable privileges), or constitute
> non-public
> > information. Any use of this information by anyone other than the
> intended
> > recipient is prohibited. If you have received this transmission in error,
> > please immediately reply to the sender and delete this information from
> > your system. Use, dissemination, distribution, or reproduction of this
> > transmission by unintended recipients is not authorized and may be
> unlawful.
> >
> >
>



-- 
Timothy Kim


Re: cordova serve broken

2013-11-12 Thread Brian LeRoux
My definition of working is deployed not 'works on my machine'. =)

I'm not comfortable pushing just this. Steve and/or Braden: are we stable
to push a release now that this is apparently fixed?


On Tue, Nov 12, 2013 at 1:54 PM, Josh Soref  wrote:

> Brian wrote:
> > did you try navigating to localhost:8000??
> > I just updated to latest (deployed) bits and its still broken for me
> > (can we start a new thread about ./platforms/html5 ?)
>
> Jenny is testing cordova-cli @master (git fetch¹d today), and we¹re using
> cordova-blackberry@3.2.x (git fetch¹d today).
>
> She did:
> cordova create 'A new App' a b
> cd 'A new App¹
> cordova platform add blackberry10
>
> cordova serve
>
> And then saw:
>
> Static file server running on port 8000 (i.e. http://localhost:8000)
> CTRL + C to shut down
>
> And then when we visited http://localhost:8000, we saw a page with
> ³Package Metadata², there¹s a link for ³blackberry10² and Š well, that¹s
> my definition of ³working².
>
> -
> This transmission (including any attachments) may contain confidential
> information, privileged material (including material protected by the
> solicitor-client or other applicable privileges), or constitute non-public
> information. Any use of this information by anyone other than the intended
> recipient is prohibited. If you have received this transmission in error,
> please immediately reply to the sender and delete this information from
> your system. Use, dissemination, distribution, or reproduction of this
> transmission by unintended recipients is not authorized and may be unlawful.
>
>


Re: cordova serve broken

2013-11-12 Thread Josh Soref
Brian wrote:
> did you try navigating to localhost:8000??
> I just updated to latest (deployed) bits and its still broken for me
> (can we start a new thread about ./platforms/html5 ?)

Jenny is testing cordova-cli @master (git fetch¹d today), and we¹re using
cordova-blackberry@3.2.x (git fetch¹d today).

She did:
cordova create 'A new App' a b
cd 'A new App¹
cordova platform add blackberry10

cordova serve

And then saw:

Static file server running on port 8000 (i.e. http://localhost:8000)
CTRL + C to shut down

And then when we visited http://localhost:8000, we saw a page with
³Package Metadata², there¹s a link for ³blackberry10² and Š well, that¹s
my definition of ³working².

-
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.



Re: cordova serve broken

2013-11-12 Thread Brian LeRoux
did you try navigating to localhost:8000?? I just updated to latest
(deployed) bits and its still broken for me

(can we start a new thread about ./platforms/html5 ?)


On Tue, Nov 12, 2013 at 1:12 PM, Andrew Grieve  wrote:

> Just synced and cordova serve seems to work fine. Brian - are you sure it's
> broken?
>
> We just had a thread on adding "html5" as a platform. If we did this, would
> "cordova serve html5" be different from ripple's server?
>
> On serve's side - it is actually a customized static file server, since it
> has a special "project.json" file that is there for app harness's needs.
>
>
> On Thu, Nov 7, 2013 at 10:37 AM, Michal Mocny  wrote:
>
> > Ah, I'm getting the picture.  I've only ever thought of using serve for
> (a)
> > app harness and (b) livereload on a device.  For both those I wouldn't
> want
> > any mocking of cordova stuff at all.
> >
> > So what Ripple brings to the table is (c) the ability to run on
> unsupported
> > platforms via browser.
> >
> > I agree we want all these options, but I'm still not necessarily sold
> that
> > they should all be merged.  Since I'm not doing the work, I'll trust you
> > all to make the right call here!
> >
> > -Michal
> >
> >
> > On Thu, Nov 7, 2013 at 9:53 AM, Brian LeRoux  wrote:
> >
> > > During the lull in Ripple's development it definitely felt risky but
> the
> > > project has become rather active again of late. The big advantage is
> the
> > > mocking for all the Cordova specific stuff (like deviceready).
> > >
> > > We do need a lightweight option for App Harness. I believe we can treat
> > > Ripple as a middleware so maybe exposing this is the right way.
> > >
> > >
> > > On Thu, Nov 7, 2013 at 2:42 PM, Michal Mocny 
> > wrote:
> > >
> > > > Forgive the ignorance, but, why should we be depending on ripple for
> > > > implementing cordova serve?
> > > >
> > > > One advantage I see, is that we already do want to support Ripple as
> a
> > > > client, and I'm deducing that Ripple has a server component which
> > serves
> > > > files, so why reinvent the wheel, lets share code, great.
> > > >
> > > > One disadvantage that I see, is that Ripple (the client) is not
> > > necessarily
> > > > going to be used by everyone who wants to use cordova serve for e.g.
> > app
> > > > harness.  So, ripple seems like a heavy dependency just to serve
> files
> > > for
> > > > app harness -- does it even work on all platforms we target (windows
> > > etc?).
> > > >  I remember having issues in the past with depending on it.
> > > >
> > > > Just want to understand what it buys and what it costs us before we
> > move
> > > > forward.
> > > >
> > > > -Michal
> > > >
> > > >
> > > > On Thu, Nov 7, 2013 at 8:54 AM, Bryan Higgins <
> br...@bryanhiggins.net
> > > > >wrote:
> > > >
> > > > > Is there a JIRA for the serve issue? Josh recently added some
> content
> > > to
> > > > > make the landing page functional.
> > > > >
> > > > > Ripple integration sounds great. Gord - is there a way to make
> ripple
> > > run
> > > > > chromeless for the app harness?
> > > > >
> > > > > On Thu, Nov 7, 2013 at 7:54 AM, Gord Tanner 
> > wrote:
> > > > >
> > > > > > I can code up a quick sample integration to see what cordova
> serve
> > > > > (powered
> > > > > > by ripple) would look like.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Thu, Nov 7, 2013 at 7:16 AM, Josh Soref <
> jso...@blackberry.com>
> > > > > wrote:
> > > > > >
> > > > > > > Brian wrote:
> > > > > > > > Feels like we're starting to regress rather often on the CLI
> > > these
> > > > > past
> > > > > > > two releases.
> > > > > > > > This is due to not running tests (or indeed writing them).
> > > > > > >
> > > > > > > > Thats fine. Stuff happens. A gentle reminder:
> > > > > > >
> > > > > > > > - If there is a bug: write a test
> > > > > > > > - If you are adding or refactoring code: run the tests
> > > > > > >
> > > > > > >
> > > > > > > http://wiki.apache.org/cordova/RunningTests isn't linked from
> > > > > > > http://wiki.apache.org/cordova/IssueWorkflow
> > > > > > > And the instructions in both sections are unusable.
> > > > > > >
> > > > > > > I'll try to improve both pages when I wake up.
> > > > > > >
> > > -
> > > > > > > This transmission (including any attachments) may contain
> > > > confidential
> > > > > > > information, privileged material (including material protected
> by
> > > the
> > > > > > > solicitor-client or other applicable privileges), or constitute
> > > > > > non-public
> > > > > > > information. Any use of this information by anyone other than
> the
> > > > > > intended
> > > > > > > recipient is prohibited. If you have received this transmission
> > in
> > > > > error,
> > > > > > > please immediately reply to the sender and delete this
> > information
> > > > from
> > > > > > > your system. Use, dissemination, distribution, or reproduction
> of
> > > > this
> > > > > > > transmission by uninte

Re: cordova serve broken

2013-11-12 Thread Andrew Grieve
Just synced and cordova serve seems to work fine. Brian - are you sure it's
broken?

We just had a thread on adding "html5" as a platform. If we did this, would
"cordova serve html5" be different from ripple's server?

On serve's side - it is actually a customized static file server, since it
has a special "project.json" file that is there for app harness's needs.


On Thu, Nov 7, 2013 at 10:37 AM, Michal Mocny  wrote:

> Ah, I'm getting the picture.  I've only ever thought of using serve for (a)
> app harness and (b) livereload on a device.  For both those I wouldn't want
> any mocking of cordova stuff at all.
>
> So what Ripple brings to the table is (c) the ability to run on unsupported
> platforms via browser.
>
> I agree we want all these options, but I'm still not necessarily sold that
> they should all be merged.  Since I'm not doing the work, I'll trust you
> all to make the right call here!
>
> -Michal
>
>
> On Thu, Nov 7, 2013 at 9:53 AM, Brian LeRoux  wrote:
>
> > During the lull in Ripple's development it definitely felt risky but the
> > project has become rather active again of late. The big advantage is the
> > mocking for all the Cordova specific stuff (like deviceready).
> >
> > We do need a lightweight option for App Harness. I believe we can treat
> > Ripple as a middleware so maybe exposing this is the right way.
> >
> >
> > On Thu, Nov 7, 2013 at 2:42 PM, Michal Mocny 
> wrote:
> >
> > > Forgive the ignorance, but, why should we be depending on ripple for
> > > implementing cordova serve?
> > >
> > > One advantage I see, is that we already do want to support Ripple as a
> > > client, and I'm deducing that Ripple has a server component which
> serves
> > > files, so why reinvent the wheel, lets share code, great.
> > >
> > > One disadvantage that I see, is that Ripple (the client) is not
> > necessarily
> > > going to be used by everyone who wants to use cordova serve for e.g.
> app
> > > harness.  So, ripple seems like a heavy dependency just to serve files
> > for
> > > app harness -- does it even work on all platforms we target (windows
> > etc?).
> > >  I remember having issues in the past with depending on it.
> > >
> > > Just want to understand what it buys and what it costs us before we
> move
> > > forward.
> > >
> > > -Michal
> > >
> > >
> > > On Thu, Nov 7, 2013 at 8:54 AM, Bryan Higgins  > > >wrote:
> > >
> > > > Is there a JIRA for the serve issue? Josh recently added some content
> > to
> > > > make the landing page functional.
> > > >
> > > > Ripple integration sounds great. Gord - is there a way to make ripple
> > run
> > > > chromeless for the app harness?
> > > >
> > > > On Thu, Nov 7, 2013 at 7:54 AM, Gord Tanner 
> wrote:
> > > >
> > > > > I can code up a quick sample integration to see what cordova serve
> > > > (powered
> > > > > by ripple) would look like.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Thu, Nov 7, 2013 at 7:16 AM, Josh Soref 
> > > > wrote:
> > > > >
> > > > > > Brian wrote:
> > > > > > > Feels like we're starting to regress rather often on the CLI
> > these
> > > > past
> > > > > > two releases.
> > > > > > > This is due to not running tests (or indeed writing them).
> > > > > >
> > > > > > > Thats fine. Stuff happens. A gentle reminder:
> > > > > >
> > > > > > > - If there is a bug: write a test
> > > > > > > - If you are adding or refactoring code: run the tests
> > > > > >
> > > > > >
> > > > > > http://wiki.apache.org/cordova/RunningTests isn't linked from
> > > > > > http://wiki.apache.org/cordova/IssueWorkflow
> > > > > > And the instructions in both sections are unusable.
> > > > > >
> > > > > > I'll try to improve both pages when I wake up.
> > > > > >
> > -
> > > > > > This transmission (including any attachments) may contain
> > > confidential
> > > > > > information, privileged material (including material protected by
> > the
> > > > > > solicitor-client or other applicable privileges), or constitute
> > > > > non-public
> > > > > > information. Any use of this information by anyone other than the
> > > > > intended
> > > > > > recipient is prohibited. If you have received this transmission
> in
> > > > error,
> > > > > > please immediately reply to the sender and delete this
> information
> > > from
> > > > > > your system. Use, dissemination, distribution, or reproduction of
> > > this
> > > > > > transmission by unintended recipients is not authorized and may
> be
> > > > > unlawful.
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>


Re: cordova serve broken

2013-11-07 Thread Michal Mocny
Ah, I'm getting the picture.  I've only ever thought of using serve for (a)
app harness and (b) livereload on a device.  For both those I wouldn't want
any mocking of cordova stuff at all.

So what Ripple brings to the table is (c) the ability to run on unsupported
platforms via browser.

I agree we want all these options, but I'm still not necessarily sold that
they should all be merged.  Since I'm not doing the work, I'll trust you
all to make the right call here!

-Michal


On Thu, Nov 7, 2013 at 9:53 AM, Brian LeRoux  wrote:

> During the lull in Ripple's development it definitely felt risky but the
> project has become rather active again of late. The big advantage is the
> mocking for all the Cordova specific stuff (like deviceready).
>
> We do need a lightweight option for App Harness. I believe we can treat
> Ripple as a middleware so maybe exposing this is the right way.
>
>
> On Thu, Nov 7, 2013 at 2:42 PM, Michal Mocny  wrote:
>
> > Forgive the ignorance, but, why should we be depending on ripple for
> > implementing cordova serve?
> >
> > One advantage I see, is that we already do want to support Ripple as a
> > client, and I'm deducing that Ripple has a server component which serves
> > files, so why reinvent the wheel, lets share code, great.
> >
> > One disadvantage that I see, is that Ripple (the client) is not
> necessarily
> > going to be used by everyone who wants to use cordova serve for e.g. app
> > harness.  So, ripple seems like a heavy dependency just to serve files
> for
> > app harness -- does it even work on all platforms we target (windows
> etc?).
> >  I remember having issues in the past with depending on it.
> >
> > Just want to understand what it buys and what it costs us before we move
> > forward.
> >
> > -Michal
> >
> >
> > On Thu, Nov 7, 2013 at 8:54 AM, Bryan Higgins  > >wrote:
> >
> > > Is there a JIRA for the serve issue? Josh recently added some content
> to
> > > make the landing page functional.
> > >
> > > Ripple integration sounds great. Gord - is there a way to make ripple
> run
> > > chromeless for the app harness?
> > >
> > > On Thu, Nov 7, 2013 at 7:54 AM, Gord Tanner  wrote:
> > >
> > > > I can code up a quick sample integration to see what cordova serve
> > > (powered
> > > > by ripple) would look like.
> > > >
> > > >
> > > >
> > > >
> > > > On Thu, Nov 7, 2013 at 7:16 AM, Josh Soref 
> > > wrote:
> > > >
> > > > > Brian wrote:
> > > > > > Feels like we're starting to regress rather often on the CLI
> these
> > > past
> > > > > two releases.
> > > > > > This is due to not running tests (or indeed writing them).
> > > > >
> > > > > > Thats fine. Stuff happens. A gentle reminder:
> > > > >
> > > > > > - If there is a bug: write a test
> > > > > > - If you are adding or refactoring code: run the tests
> > > > >
> > > > >
> > > > > http://wiki.apache.org/cordova/RunningTests isn't linked from
> > > > > http://wiki.apache.org/cordova/IssueWorkflow
> > > > > And the instructions in both sections are unusable.
> > > > >
> > > > > I'll try to improve both pages when I wake up.
> > > > >
> -
> > > > > This transmission (including any attachments) may contain
> > confidential
> > > > > information, privileged material (including material protected by
> the
> > > > > solicitor-client or other applicable privileges), or constitute
> > > > non-public
> > > > > information. Any use of this information by anyone other than the
> > > > intended
> > > > > recipient is prohibited. If you have received this transmission in
> > > error,
> > > > > please immediately reply to the sender and delete this information
> > from
> > > > > your system. Use, dissemination, distribution, or reproduction of
> > this
> > > > > transmission by unintended recipients is not authorized and may be
> > > > unlawful.
> > > > >
> > > > >
> > > >
> > >
> >
>


Re: cordova serve broken

2013-11-07 Thread Brian LeRoux
During the lull in Ripple's development it definitely felt risky but the
project has become rather active again of late. The big advantage is the
mocking for all the Cordova specific stuff (like deviceready).

We do need a lightweight option for App Harness. I believe we can treat
Ripple as a middleware so maybe exposing this is the right way.


On Thu, Nov 7, 2013 at 2:42 PM, Michal Mocny  wrote:

> Forgive the ignorance, but, why should we be depending on ripple for
> implementing cordova serve?
>
> One advantage I see, is that we already do want to support Ripple as a
> client, and I'm deducing that Ripple has a server component which serves
> files, so why reinvent the wheel, lets share code, great.
>
> One disadvantage that I see, is that Ripple (the client) is not necessarily
> going to be used by everyone who wants to use cordova serve for e.g. app
> harness.  So, ripple seems like a heavy dependency just to serve files for
> app harness -- does it even work on all platforms we target (windows etc?).
>  I remember having issues in the past with depending on it.
>
> Just want to understand what it buys and what it costs us before we move
> forward.
>
> -Michal
>
>
> On Thu, Nov 7, 2013 at 8:54 AM, Bryan Higgins  >wrote:
>
> > Is there a JIRA for the serve issue? Josh recently added some content to
> > make the landing page functional.
> >
> > Ripple integration sounds great. Gord - is there a way to make ripple run
> > chromeless for the app harness?
> >
> > On Thu, Nov 7, 2013 at 7:54 AM, Gord Tanner  wrote:
> >
> > > I can code up a quick sample integration to see what cordova serve
> > (powered
> > > by ripple) would look like.
> > >
> > >
> > >
> > >
> > > On Thu, Nov 7, 2013 at 7:16 AM, Josh Soref 
> > wrote:
> > >
> > > > Brian wrote:
> > > > > Feels like we're starting to regress rather often on the CLI these
> > past
> > > > two releases.
> > > > > This is due to not running tests (or indeed writing them).
> > > >
> > > > > Thats fine. Stuff happens. A gentle reminder:
> > > >
> > > > > - If there is a bug: write a test
> > > > > - If you are adding or refactoring code: run the tests
> > > >
> > > >
> > > > http://wiki.apache.org/cordova/RunningTests isn't linked from
> > > > http://wiki.apache.org/cordova/IssueWorkflow
> > > > And the instructions in both sections are unusable.
> > > >
> > > > I'll try to improve both pages when I wake up.
> > > > -
> > > > This transmission (including any attachments) may contain
> confidential
> > > > information, privileged material (including material protected by the
> > > > solicitor-client or other applicable privileges), or constitute
> > > non-public
> > > > information. Any use of this information by anyone other than the
> > > intended
> > > > recipient is prohibited. If you have received this transmission in
> > error,
> > > > please immediately reply to the sender and delete this information
> from
> > > > your system. Use, dissemination, distribution, or reproduction of
> this
> > > > transmission by unintended recipients is not authorized and may be
> > > unlawful.
> > > >
> > > >
> > >
> >
>


Re: cordova serve broken

2013-11-07 Thread Gord Tanner
Yes, Ripple can run chromeless


On Thu, Nov 7, 2013 at 8:54 AM, Bryan Higgins wrote:

> Is there a JIRA for the serve issue? Josh recently added some content to
> make the landing page functional.
>
> Ripple integration sounds great. Gord - is there a way to make ripple run
> chromeless for the app harness?
>
> On Thu, Nov 7, 2013 at 7:54 AM, Gord Tanner  wrote:
>
> > I can code up a quick sample integration to see what cordova serve
> (powered
> > by ripple) would look like.
> >
> >
> >
> >
> > On Thu, Nov 7, 2013 at 7:16 AM, Josh Soref 
> wrote:
> >
> > > Brian wrote:
> > > > Feels like we're starting to regress rather often on the CLI these
> past
> > > two releases.
> > > > This is due to not running tests (or indeed writing them).
> > >
> > > > Thats fine. Stuff happens. A gentle reminder:
> > >
> > > > - If there is a bug: write a test
> > > > - If you are adding or refactoring code: run the tests
> > >
> > >
> > > http://wiki.apache.org/cordova/RunningTests isn't linked from
> > > http://wiki.apache.org/cordova/IssueWorkflow
> > > And the instructions in both sections are unusable.
> > >
> > > I'll try to improve both pages when I wake up.
> > > -
> > > This transmission (including any attachments) may contain confidential
> > > information, privileged material (including material protected by the
> > > solicitor-client or other applicable privileges), or constitute
> > non-public
> > > information. Any use of this information by anyone other than the
> > intended
> > > recipient is prohibited. If you have received this transmission in
> error,
> > > please immediately reply to the sender and delete this information from
> > > your system. Use, dissemination, distribution, or reproduction of this
> > > transmission by unintended recipients is not authorized and may be
> > unlawful.
> > >
> > >
> >
>


Re: cordova serve broken

2013-11-07 Thread Gord Tanner
Ripple already does a livereload (sort of, upon refresh currently).

It should be easy to add in support for a file watcher.


On Thu, Nov 7, 2013 at 9:33 AM, Carlos Santana  wrote:

> Gord Can you make shareable branch I want to contribute to effort also.
>
> In addition of serving with ripple I would like to implement "watch and
> livereload" for "serve" as user changes files in Project/www/ it calls
> "prepare" and sends a livereload event to browser.
>
>
>
> On Thu, Nov 7, 2013 at 8:54 AM, Bryan Higgins  >wrote:
>
> > Is there a JIRA for the serve issue? Josh recently added some content to
> > make the landing page functional.
> >
> > Ripple integration sounds great. Gord - is there a way to make ripple run
> > chromeless for the app harness?
> >
> > On Thu, Nov 7, 2013 at 7:54 AM, Gord Tanner  wrote:
> >
> > > I can code up a quick sample integration to see what cordova serve
> > (powered
> > > by ripple) would look like.
> > >
> > >
> > >
> > >
> > > On Thu, Nov 7, 2013 at 7:16 AM, Josh Soref 
> > wrote:
> > >
> > > > Brian wrote:
> > > > > Feels like we're starting to regress rather often on the CLI these
> > past
> > > > two releases.
> > > > > This is due to not running tests (or indeed writing them).
> > > >
> > > > > Thats fine. Stuff happens. A gentle reminder:
> > > >
> > > > > - If there is a bug: write a test
> > > > > - If you are adding or refactoring code: run the tests
> > > >
> > > >
> > > > http://wiki.apache.org/cordova/RunningTests isn't linked from
> > > > http://wiki.apache.org/cordova/IssueWorkflow
> > > > And the instructions in both sections are unusable.
> > > >
> > > > I'll try to improve both pages when I wake up.
> > > > -
> > > > This transmission (including any attachments) may contain
> confidential
> > > > information, privileged material (including material protected by the
> > > > solicitor-client or other applicable privileges), or constitute
> > > non-public
> > > > information. Any use of this information by anyone other than the
> > > intended
> > > > recipient is prohibited. If you have received this transmission in
> > error,
> > > > please immediately reply to the sender and delete this information
> from
> > > > your system. Use, dissemination, distribution, or reproduction of
> this
> > > > transmission by unintended recipients is not authorized and may be
> > > unlawful.
> > > >
> > > >
> > >
> >
>
>
>
> --
> Carlos Santana
> 
>


Re: cordova serve broken

2013-11-07 Thread Michal Mocny
Forgive the ignorance, but, why should we be depending on ripple for
implementing cordova serve?

One advantage I see, is that we already do want to support Ripple as a
client, and I'm deducing that Ripple has a server component which serves
files, so why reinvent the wheel, lets share code, great.

One disadvantage that I see, is that Ripple (the client) is not necessarily
going to be used by everyone who wants to use cordova serve for e.g. app
harness.  So, ripple seems like a heavy dependency just to serve files for
app harness -- does it even work on all platforms we target (windows etc?).
 I remember having issues in the past with depending on it.

Just want to understand what it buys and what it costs us before we move
forward.

-Michal


On Thu, Nov 7, 2013 at 8:54 AM, Bryan Higgins wrote:

> Is there a JIRA for the serve issue? Josh recently added some content to
> make the landing page functional.
>
> Ripple integration sounds great. Gord - is there a way to make ripple run
> chromeless for the app harness?
>
> On Thu, Nov 7, 2013 at 7:54 AM, Gord Tanner  wrote:
>
> > I can code up a quick sample integration to see what cordova serve
> (powered
> > by ripple) would look like.
> >
> >
> >
> >
> > On Thu, Nov 7, 2013 at 7:16 AM, Josh Soref 
> wrote:
> >
> > > Brian wrote:
> > > > Feels like we're starting to regress rather often on the CLI these
> past
> > > two releases.
> > > > This is due to not running tests (or indeed writing them).
> > >
> > > > Thats fine. Stuff happens. A gentle reminder:
> > >
> > > > - If there is a bug: write a test
> > > > - If you are adding or refactoring code: run the tests
> > >
> > >
> > > http://wiki.apache.org/cordova/RunningTests isn't linked from
> > > http://wiki.apache.org/cordova/IssueWorkflow
> > > And the instructions in both sections are unusable.
> > >
> > > I'll try to improve both pages when I wake up.
> > > -
> > > This transmission (including any attachments) may contain confidential
> > > information, privileged material (including material protected by the
> > > solicitor-client or other applicable privileges), or constitute
> > non-public
> > > information. Any use of this information by anyone other than the
> > intended
> > > recipient is prohibited. If you have received this transmission in
> error,
> > > please immediately reply to the sender and delete this information from
> > > your system. Use, dissemination, distribution, or reproduction of this
> > > transmission by unintended recipients is not authorized and may be
> > unlawful.
> > >
> > >
> >
>


Re: cordova serve broken

2013-11-07 Thread Carlos Santana
Gord Can you make shareable branch I want to contribute to effort also.

In addition of serving with ripple I would like to implement "watch and
livereload" for "serve" as user changes files in Project/www/ it calls
"prepare" and sends a livereload event to browser.



On Thu, Nov 7, 2013 at 8:54 AM, Bryan Higgins wrote:

> Is there a JIRA for the serve issue? Josh recently added some content to
> make the landing page functional.
>
> Ripple integration sounds great. Gord - is there a way to make ripple run
> chromeless for the app harness?
>
> On Thu, Nov 7, 2013 at 7:54 AM, Gord Tanner  wrote:
>
> > I can code up a quick sample integration to see what cordova serve
> (powered
> > by ripple) would look like.
> >
> >
> >
> >
> > On Thu, Nov 7, 2013 at 7:16 AM, Josh Soref 
> wrote:
> >
> > > Brian wrote:
> > > > Feels like we're starting to regress rather often on the CLI these
> past
> > > two releases.
> > > > This is due to not running tests (or indeed writing them).
> > >
> > > > Thats fine. Stuff happens. A gentle reminder:
> > >
> > > > - If there is a bug: write a test
> > > > - If you are adding or refactoring code: run the tests
> > >
> > >
> > > http://wiki.apache.org/cordova/RunningTests isn't linked from
> > > http://wiki.apache.org/cordova/IssueWorkflow
> > > And the instructions in both sections are unusable.
> > >
> > > I'll try to improve both pages when I wake up.
> > > -
> > > This transmission (including any attachments) may contain confidential
> > > information, privileged material (including material protected by the
> > > solicitor-client or other applicable privileges), or constitute
> > non-public
> > > information. Any use of this information by anyone other than the
> > intended
> > > recipient is prohibited. If you have received this transmission in
> error,
> > > please immediately reply to the sender and delete this information from
> > > your system. Use, dissemination, distribution, or reproduction of this
> > > transmission by unintended recipients is not authorized and may be
> > unlawful.
> > >
> > >
> >
>



-- 
Carlos Santana



Re: cordova serve broken

2013-11-07 Thread Bryan Higgins
Is there a JIRA for the serve issue? Josh recently added some content to
make the landing page functional.

Ripple integration sounds great. Gord - is there a way to make ripple run
chromeless for the app harness?

On Thu, Nov 7, 2013 at 7:54 AM, Gord Tanner  wrote:

> I can code up a quick sample integration to see what cordova serve (powered
> by ripple) would look like.
>
>
>
>
> On Thu, Nov 7, 2013 at 7:16 AM, Josh Soref  wrote:
>
> > Brian wrote:
> > > Feels like we're starting to regress rather often on the CLI these past
> > two releases.
> > > This is due to not running tests (or indeed writing them).
> >
> > > Thats fine. Stuff happens. A gentle reminder:
> >
> > > - If there is a bug: write a test
> > > - If you are adding or refactoring code: run the tests
> >
> >
> > http://wiki.apache.org/cordova/RunningTests isn't linked from
> > http://wiki.apache.org/cordova/IssueWorkflow
> > And the instructions in both sections are unusable.
> >
> > I'll try to improve both pages when I wake up.
> > -
> > This transmission (including any attachments) may contain confidential
> > information, privileged material (including material protected by the
> > solicitor-client or other applicable privileges), or constitute
> non-public
> > information. Any use of this information by anyone other than the
> intended
> > recipient is prohibited. If you have received this transmission in error,
> > please immediately reply to the sender and delete this information from
> > your system. Use, dissemination, distribution, or reproduction of this
> > transmission by unintended recipients is not authorized and may be
> unlawful.
> >
> >
>


Re: cordova serve broken

2013-11-07 Thread Gord Tanner
I can code up a quick sample integration to see what cordova serve (powered
by ripple) would look like.




On Thu, Nov 7, 2013 at 7:16 AM, Josh Soref  wrote:

> Brian wrote:
> > Feels like we're starting to regress rather often on the CLI these past
> two releases.
> > This is due to not running tests (or indeed writing them).
>
> > Thats fine. Stuff happens. A gentle reminder:
>
> > - If there is a bug: write a test
> > - If you are adding or refactoring code: run the tests
>
>
> http://wiki.apache.org/cordova/RunningTests isn't linked from
> http://wiki.apache.org/cordova/IssueWorkflow
> And the instructions in both sections are unusable.
>
> I'll try to improve both pages when I wake up.
> -
> This transmission (including any attachments) may contain confidential
> information, privileged material (including material protected by the
> solicitor-client or other applicable privileges), or constitute non-public
> information. Any use of this information by anyone other than the intended
> recipient is prohibited. If you have received this transmission in error,
> please immediately reply to the sender and delete this information from
> your system. Use, dissemination, distribution, or reproduction of this
> transmission by unintended recipients is not authorized and may be unlawful.
>
>


Re: cordova serve broken

2013-11-07 Thread Josh Soref
Brian wrote:
> Feels like we're starting to regress rather often on the CLI these past two 
> releases.
> This is due to not running tests (or indeed writing them).

> Thats fine. Stuff happens. A gentle reminder:

> - If there is a bug: write a test
> - If you are adding or refactoring code: run the tests


http://wiki.apache.org/cordova/RunningTests isn't linked from 
http://wiki.apache.org/cordova/IssueWorkflow
And the instructions in both sections are unusable. 

I'll try to improve both pages when I wake up. 
-
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.



Re: cordova serve broken

2013-11-07 Thread Brian LeRoux
Also: wonder if it is time to revisit this as just Ripple. The new version
of Ripple is pretty awesome.




On Thu, Nov 7, 2013 at 11:54 AM, Brian LeRoux  wrote:

> Feels like we're starting to regress rather often on the CLI these past
> two releases. This is due to not running tests (or indeed writing them).
>
> Thats fine. Stuff happens. A gentle reminder:
>
> - If there is a bug: write a test
> - If you are adding or refactoring code: run the tests
>
> That is all.
>
>
>