Re: git commit: add Server-Sent Events protocol to db changes API. close #COUCHDB-986

2012-05-15 Thread Paul Davis
> It should be better on latest change witch take the undefined bit in > consideration. CLI tests pass here. Good enough for me.

Re: git commit: add Server-Sent Events protocol to db changes API. close #COUCHDB-986

2012-05-15 Thread Benoit Chesneau
On Wed, May 16, 2012 at 7:49 AM, Paul Davis wrote: > Oh, I missed the scoping a bit on that. Should be for browsers, but > for the CLI tests I wouldn't be surprised if that fails with a "no > property named EventSource on undefined" or whatever. I'd just add a > if(window && window.EventSource) to

Re: git commit: add Server-Sent Events protocol to db changes API. close #COUCHDB-986

2012-05-15 Thread Benoit Chesneau
On Wed, May 16, 2012 at 7:44 AM, Benoit Chesneau wrote: > On Wed, May 16, 2012 at 7:42 AM, Paul Davis > wrote: >> That JS test looks broken for JS environments that don't support >> EventSource. Notably the CLI test suite but also browsers that don't >> implement it. I'd either move the entire t

Re: git commit: add Server-Sent Events protocol to db changes API. close #COUCHDB-986

2012-05-15 Thread Paul Davis
Oh, I missed the scoping a bit on that. Should be for browsers, but for the CLI tests I wouldn't be surprised if that fails with a "no property named EventSource on undefined" or whatever. I'd just add a if(window && window.EventSource) to fix if that's the case. Though we should add a ticket to r

Re: git commit: add Server-Sent Events protocol to db changes API. close #COUCHDB-986

2012-05-15 Thread Benoit Chesneau
On Wed, May 16, 2012 at 7:42 AM, Paul Davis wrote: > That JS test looks broken for JS environments that don't support > EventSource. Notably the CLI test suite but also browsers that don't > implement it. I'd either move the entire test into the conditional or > reimplement it by parsing the actua

Re: git commit: add Server-Sent Events protocol to db changes API. close #COUCHDB-986

2012-05-15 Thread Paul Davis
That JS test looks broken for JS environments that don't support EventSource. Notably the CLI test suite but also browsers that don't implement it. I'd either move the entire test into the conditional or reimplement it by parsing the actual data sent across. On Wed, May 16, 2012 at 12:36 AM, wro

[jira] [Closed] (COUCHDB-986) EventSource feed type for _changes

2012-05-15 Thread Benoit Chesneau (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benoit Chesneau closed COUCHDB-986. --- Resolution: Fixed Fix Version/s: 1.3 Server Sent Events protocol added in 093d2aa6544

Request access to ContributorsGroup to edit the wik

2012-05-15 Thread Pulkit Singhal
Hello, My wiki username is pulkitsinghal, can I please have access to edit the wiki? I want to contribute some reduce/rereduce samples to the following page: http://wiki.apache.org/couchdb/Introduction_to_CouchDB_views Thanks, - Pulkit

Replicated database size

2012-05-15 Thread Nick North
I'm curious about the size of replicated CouchDb databases in comparison to each other. I have four databases, each with pull replications from the other three, but they report quite different data sizes. Two of them say: {"db_name":"hydra","doc_count":1489060,"doc_del_count":2754893,"update_seq":