Re: Ready for 0.10 Release?

2009-08-18 Thread Dirkjan Ochtman
On Tue, Aug 18, 2009 at 01:34, Jan Lehnardtj...@apache.org wrote: I'd like the history patch to be simmering in the 0.10.x branch. I'm working on another patch to provide view options in Futon. Would it be possible to include that for 0.10 as well? Also, I wonder if my HATEOAS patches ever went

Re: reduce_limit error

2009-08-18 Thread Paul Carey
function most_recent_reading-map(doc) {  if(doc.type === TemperatureReading) {    emit(doc.station_id, doc);  } } function most_recent_reading-reduce(keys, values) {  var sorted = values.sort(function (a,b) {    return b.created_at.localeCompare(a.created_at)  });  return sorted[0]; }

[jira] Commented: (COUCHDB-471) make distcheck fails

2009-08-18 Thread Benoit Chesneau (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744412#action_12744412 ] Benoit Chesneau commented on COUCHDB-471: - make distcheck fails on OpenBSD :

Re: svn commit: r804427 - in /couchdb/trunk: etc/couchdb/default.ini.tpl.in share/www/script/test/delayed_commits.js src/couchdb/couch_db.erl src/couchdb/couch_httpd_db.erl

2009-08-18 Thread Brian Candler
On Sat, Aug 15, 2009 at 10:17:28AM -0700, Chris Anderson wrote: One middle ground implementation that could work for throughput, would be to use the batch=ok ets based storage, but instead of immediately returning 202 Accepted, hold the connection open until the batch is written, and return

Re: continuous replication API discussion

2009-08-18 Thread Simon Metson
I wouldn't completely replace the current .ini configuration files with a database -- I think there's real value in being able to change some settings without the server running. Agreed, there are certain classes of configuration data you'd want in a database and others you'd want in

Re: reduce_limit error

2009-08-18 Thread Brian Candler
On Sun, Aug 16, 2009 at 05:55:56PM +0100, Robert Newson wrote: You can turn it off (caveat emptor); ; Changing reduce_limit to false will disable reduce_limit. ; If you think you're hitting reduce_limit with a good reduce function, ; please let us know on the mailing list so we can fine tune

[jira] Updated: (COUCHDB-465) Produce sequential, but unique, document id's

2009-08-18 Thread Robert Newson (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Newson updated COUCHDB-465: -- Attachment: uuid_generator.patch Use couch_config:register and a refactoring of handle_call.

[jira] Updated: (COUCHDB-465) Produce sequential, but unique, document id's

2009-08-18 Thread Robert Newson (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Newson updated COUCHDB-465: -- Attachment: (was: uuid_generator.patch) Produce sequential, but unique, document id's

[jira] Updated: (COUCHDB-465) Produce sequential, but unique, document id's

2009-08-18 Thread Robert Newson (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Newson updated COUCHDB-465: -- Attachment: (was: uuid_generator.patch) Produce sequential, but unique, document id's

[jira] Updated: (COUCHDB-471) make distcheck fails

2009-08-18 Thread Benoit Chesneau (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benoit Chesneau updated COUCHDB-471: Attachment: couchdb-licence_skip.patch attached diff suggested by jan fix previous error.

[jira] Updated: (COUCHDB-465) Produce sequential, but unique, document id's

2009-08-18 Thread Robert Newson (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Newson updated COUCHDB-465: -- Attachment: uuid_generator.patch Updated to switch the _uuids misc handler to the

Test suite problem with Hardy + 12.b.5

2009-08-18 Thread Brian Candler
Now that couchdb trunk requires 12.b.5 I updated a Ubuntu Hardy box using the Erlang from Jaunty, pulled in the latest Couchdb from git (*), and compiled it. It seems to start, but a lot of the tests fail, including the basics test. The backtrace is attached below. Any thoughts? The backtrace

Re: Test suite problem with Hardy + 12.b.5

2009-08-18 Thread Jan Lehnardt
Hi Brian, thanks for the report. Just for our sanity, can use the SVN checkout? We can't support third party distributions (yeah, I know, sounds silly :) The backtrace looks as if the build or link phase of couchjs fails. can you try running couchjs by hand and write `[reset]`? into stdin?

Re: Test suite problem with Hardy + 12.b.5

2009-08-18 Thread Brian Candler
Supplementary info: I found the whole test suite was OK if I recompiled at commit a38260e61a94ce51aa91088b65043c60c97e3cb1. So I did a git-bisect between the two. All very clever, but then I recompiled back at HEAD, and it now works fine there too :-( I have been doing exactly the same every time

[jira] Created: (COUCHDB-472) handle custom CouchdDB welcome page

2009-08-18 Thread Benoit Chesneau (JIRA)
handle custom CouchdDB welcome page --- Key: COUCHDB-472 URL: https://issues.apache.org/jira/browse/COUCHDB-472 Project: CouchDB Issue Type: Improvement Affects Versions: 0.10 Reporter: Benoit

[jira] Updated: (COUCHDB-472) handle custom CouchdDB welcome page

2009-08-18 Thread Benoit Chesneau (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benoit Chesneau updated COUCHDB-472: Attachment: screenshot.png screenshot of default html welcome page handle custom

Re: Test suite problem with Hardy + 12.b.5

2009-08-18 Thread Jan Lehnardt
On 18 Aug 2009, at 15:23, Brian Candler wrote: On Tue, Aug 18, 2009 at 02:48:00PM +0200, Jan Lehnardt wrote: We can't support third party distributions (yeah, I know, sounds silly :) Even if they are SHA1-identical to what's in SVN? Grr. It's all about removing variables to check for and

.NET API for CouchDB in the works

2009-08-18 Thread Dale Ragan
I am working on an open source .NET API for CouchDB called Ottoman. The project has gotten far enough now, that I thought I should mention it to you guys. The project's source is located here: http://github.com/sinesignal/ottoman/tree/master I wasn't sure if I should post this on the user's

[jira] Created: (COUCHDB-473) erlang_views.js (and other tests) not installed

2009-08-18 Thread Brian Candler (JIRA)
erlang_views.js (and other tests) not installed --- Key: COUCHDB-473 URL: https://issues.apache.org/jira/browse/COUCHDB-473 Project: CouchDB Issue Type: Bug Components: Test Suite

[jira] Updated: (COUCHDB-473) erlang_views.js (and other tests) not installed

2009-08-18 Thread Brian Candler (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Candler updated COUCHDB-473: -- Attachment: add_missing_tests.diff erlang_views.js (and other tests) not installed

[jira] Updated: (COUCHDB-472) handle custom CouchdDB welcome page

2009-08-18 Thread Benoit Chesneau (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benoit Chesneau updated COUCHDB-472: Attachment: couchdb_welcome2.patch New version of the patch. It put back the old

[jira] Commented: (COUCHDB-471) make distcheck fails

2009-08-18 Thread Jan Lehnardt (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744503#action_12744503 ] Jan Lehnardt commented on COUCHDB-471: -- Fixed again in r805410. make distcheck

[jira] Updated: (COUCHDB-472) handle custom CouchdDB welcome page

2009-08-18 Thread Benoit Chesneau (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benoit Chesneau updated COUCHDB-472: Attachment: couchdb_welcome3.patch mmm better patch. I mixed two changes in last one.

[jira] Closed: (COUCHDB-473) erlang_views.js (and other tests) not installed

2009-08-18 Thread Jan Lehnardt (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Lehnardt closed COUCHDB-473. Resolution: Fixed Fix Version/s: 0.10 closed in r805416 and r805417. erlang_views.js

[jira] Commented: (COUCHDB-471) make distcheck fails

2009-08-18 Thread Noah Slater (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744509#action_12744509 ] Noah Slater commented on COUCHDB-471: - Paul, please re-add $(top_srcdir) to the

new format for continuous _changes feed

2009-08-18 Thread Adam Kocoloski
Hi folks, I was talking with aquarius and rnewson on IRC about a possible change to the format of the _changes feed. We agreed that it made more sense for the feed=continuous mode to emit individual newline-delimited valid JSON Objects and skip the commas that are currently included.

[jira] Commented: (COUCHDB-237) Futon page for creating test cases.

2009-08-18 Thread Simon Thulbourn (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744515#action_12744515 ] Simon Thulbourn commented on COUCHDB-237: - I'll look into this later today, it

Re: new format for continuous _changes feed

2009-08-18 Thread Stuart Langridge
Adam Kocoloski wrote: Hi folks, I was talking with aquarius and rnewson on IRC about a possible change to the format of the _changes feed. We agreed that it made more sense for the feed=continuous mode to emit individual newline-delimited valid JSON Objects and skip the commas that are

Re: new format for continuous _changes feed

2009-08-18 Thread Adam Kocoloski
On Aug 18, 2009, at 10:21 AM, Stuart Langridge wrote: Adam Kocoloski wrote: Hi folks, I was talking with aquarius and rnewson on IRC about a possible change to the format of the _changes feed. We agreed that it made more sense for the feed=continuous mode to emit individual

Re: new format for continuous _changes feed

2009-08-18 Thread Benoit Chesneau
2009/8/18 Adam Kocoloski kocol...@apache.org: Hi folks, I was talking with aquarius and rnewson on IRC about a possible change to the format of the _changes feed.  We agreed that it made more sense for the feed=continuous mode to emit individual newline-delimited valid JSON Objects and skip

Re: new format for continuous _changes feed

2009-08-18 Thread Jason Davies
On 18 Aug 2009, at 15:32, Benoit Chesneau wrote: 2009/8/18 Adam Kocoloski kocol...@apache.org: Hi folks, I was talking with aquarius and rnewson on IRC about a possible change to the format of the _changes feed. We agreed that it made more sense for the feed=continuous mode to emit

Re: new format for continuous _changes feed

2009-08-18 Thread Adam Kocoloski
On Aug 18, 2009, at 10:42 AM, Jason Davies wrote: On 18 Aug 2009, at 15:32, Benoit Chesneau wrote: 2009/8/18 Adam Kocoloski kocol...@apache.org: Hi folks, I was talking with aquarius and rnewson on IRC about a possible change to the format of the _changes feed. We agreed that it made

[jira] Commented: (COUCHDB-466) couchdb oauth doesn't work behind reverse proxy

2009-08-18 Thread Jan Lehnardt (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744547#action_12744547 ] Jan Lehnardt commented on COUCHDB-466: -- Benoit, can you add a javascript test?

Security implications of erlview

2009-08-18 Thread Brian Candler
Now that erlang views are included in couchdb - even though the .ini file doesn't enable them by default and the server is bound to 127.0.0.1 - it might be worth adding a red flag about the security issues. As far as I can see there is no sandboxing, e.g. the following runs quite happily: $ curl

[jira] Commented: (COUCHDB-471) make distcheck fails

2009-08-18 Thread Paul Joseph Davis (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744555#action_12744555 ] Paul Joseph Davis commented on COUCHDB-471: --- Noah, the thing with $(top_srcdir)

[jira] Updated: (COUCHDB-465) Produce sequential, but unique, document id's

2009-08-18 Thread Robert Newson (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Newson updated COUCHDB-465: -- Attachment: uuid_generator.patch changed [uuid] config to [uuid_generation] changed sequence

[jira] Updated: (COUCHDB-465) Produce sequential, but unique, document id's

2009-08-18 Thread Robert Newson (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Newson updated COUCHDB-465: -- Attachment: (was: uuid_generator.patch) Produce sequential, but unique, document id's

[jira] Updated: (COUCHDB-465) Produce sequential, but unique, document id's

2009-08-18 Thread Robert Newson (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Newson updated COUCHDB-465: -- Attachment: (was: uuid_generator.patch) Produce sequential, but unique, document id's

[jira] Commented: (COUCHDB-237) Futon page for creating test cases.

2009-08-18 Thread Simon Thulbourn (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744566#action_12744566 ] Simon Thulbourn commented on COUCHDB-237: - I presume you mean in trunk? I don't

[jira] Commented: (COUCHDB-245) Couch uses the erlang stdlib module regexp, which is deprecated and set to be removed. It should use the module re instead.

2009-08-18 Thread Curt Arnold (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744567#action_12744567 ] Curt Arnold commented on COUCHDB-245: - The regexp calls in Mochweb were replaced with

[jira] Commented: (COUCHDB-237) Futon page for creating test cases.

2009-08-18 Thread Paul Joseph Davis (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744575#action_12744575 ] Paul Joseph Davis commented on COUCHDB-237: --- Yep. It's only been in for a couple

[jira] Created: (COUCHDB-474) Upgrade MochiWeb dependency

2009-08-18 Thread Paul Joseph Davis (JIRA)
Upgrade MochiWeb dependency --- Key: COUCHDB-474 URL: https://issues.apache.org/jira/browse/COUCHDB-474 Project: CouchDB Issue Type: Improvement Components: HTTP Interface Affects Versions: 0.10

[jira] Updated: (COUCHDB-466) couchdb oauth doesn't work behind reverse proxy

2009-08-18 Thread Benoit Chesneau (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benoit Chesneau updated COUCHDB-466: Attachment: forwarded_for2.patch patch with typo fixed and js test. couchdb oauth

[jira] Closed: (COUCHDB-466) couchdb oauth doesn't work behind reverse proxy

2009-08-18 Thread Jan Lehnardt (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Lehnardt closed COUCHDB-466. Resolution: Fixed fixed the tests: - wrapped config changes in run_on_modified_server - wrap

Re: Cryptography in CouchDB

2009-08-18 Thread Damien Katz
On Aug 17, 2009, at 10:16 PM, Curt Arnold wrote: On Aug 17, 2009, at 6:45 PM, Damien Katz wrote: I don't think it's necessary as we aren't encrypting anything. We do use the crypto library, but only for generating random UUIDs. -Damien Probably should have used suspect or concerned or

[SPAM] CouchDB Training in Boston, MA Sept. 10th/11th

2009-08-18 Thread Jan Lehnardt
Hi Couchers, sorry for the spam :) — We, couch.io, are running a CouchDB training course* in Boston, MA on September 10th 11th right before jQuery Conference** and The Ajax Experience***. * CouchDB Training: http://couchio.com/courses ** http://events.jquery.com/jquery-conference-2009/ ***

Re: [SPAM] CouchDB Training in Boston, MA Sept. 10th/11th

2009-08-18 Thread Noah Slater
On Tue, Aug 18, 2009 at 07:53:43PM +0200, Jan Lehnardt wrote: If you feel this posting is inappropriate for this audience, please let me know. I am +1 on posting details about CouchDB related events, for profit or not. General technology and database conferences, or items, not so much. Best,

Re: [SPAM] CouchDB Training in Boston, MA Sept. 10th/11th

2009-08-18 Thread Paul Davis
I am +1 on posting details about CouchDB related events, for profit or not. General technology and database conferences, or items, not so much. I am +1 on Noah's distinction for what's kosher.

Open Source .NET API

2009-08-18 Thread Dale Ragan
I am working on an open source .NET API for CouchDB called Ottoman. The project has gotten far enough now, that I thought I should mention it to you guys. The project's source is located here: http://github.com/sinesignal/ottoman/tree/master I wasn't sure if I should post this on the user's

Re: Open Source .NET API

2009-08-18 Thread Justin Walgran
I am a coucher by night who spends his days writing .NET code. Is there an area of your API that you could use help with. I'd love to contribute. -Justin On Tue, Aug 18, 2009 at 9:30 AM, Dale Ragandale.ra...@sinesignal.com wrote: I am working on an open source .NET API for CouchDB called

Re: continuous replication API discussion

2009-08-18 Thread Jan Lehnardt
On 18 Aug 2009, at 10:44, Simon Metson wrote: I wouldn't completely replace the current .ini configuration files with a database -- I think there's real value in being able to change some settings without the server running. Agreed, there are certain classes of configuration data

Re: continuous replication API discussion

2009-08-18 Thread Adam Kocoloski
On Aug 18, 2009, at 7:42 PM, Jan Lehnardt wrote: But maybe we don't even need that for 0.10? I'd be happy to ship with the ability to trigger continuous replication on server startup that doesn't survive restarts and leave that to the user for the time being until we figured out a good way