From commitsshane48@example.com Fri Jan 02 02:01:02 2009 Return-Path: <commitsshane48@example.com> Delivered-To: shane48@example.com Received: (qmail 70134 invoked from network); 2 Jan 2009 02:01:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2009 02:01:01 -0000 Received: (qmail 55758 invoked by uid 500); 2 Jan 2009 02:01:01 -0000 Delivered-To: shane48@example.com Received: (qmail 55734 invoked by uid 500); 2 Jan 2009 02:01:01 -0000 Mailing-List: contact shane48@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:shane48@example.com> List-Unsubscribe: <mailto:shane48@example.com> List-Post: <mailto:shane48@example.com> List-Id: <commits.couchdb.apache.org> Reply-To: shane48@example.com Delivered-To: mailing list shane48@example.com Received: (qmail 55720 invoked by uid 99); 2 Jan 2009 02:01:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jan 2009 18:01:01 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eris.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 02:00:54 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2C7BB238896F; Thu, 1 Jan 2009 18:00:34 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r730656 - in /couchdb/trunk: share/server/main.js share/www/script/couch_tests.js test/runner.sh test/test.js Date: Fri, 02 Jan 2009 02:00:33 -0000 To: shane48@example.com From: shane48@example.com X-Mailer: svnmailer-1.0.8 Message-Id: <shane48@example.com> X-Virus-Checked: Checked by ClamAV on apache.org Author: jchris Date: Thu Jan 1 18:00:33 2009 New Revision: 730656 URL: http://svn.apache.org/viewvc?rev=730656&view=rev Log: test runner is back up (thanks davisp), and tests pass in safari again (e4x syntax fix) Modified: couchdb/trunk/share/server/main.js couchdb/trunk/share/www/script/couch_tests.js couchdb/trunk/test/runner.sh couchdb/trunk/test/test.js Modified: couchdb/trunk/share/server/main.js URL: http://svn.apache.org/viewvc/couchdb/trunk/share/server/main.js?rev=730656&r1=730655&r2=730656&view=diff ============================================================================== --- couchdb/trunk/share/server/main.js [utf-8] (original) +++ couchdb/trunk/share/server/main.js [utf-8] Thu Jan 1 18:00:33 2009 @@ -133,7 +133,6 @@ return publicMethods; })(); - // this function provides a shortcut for managing responses by Accept header respondWith = function(req, responders) { var accept = req.headers["Accept"]; @@ -153,9 +152,9 @@ resp["headers"]["Content-Type"] = bestMime; return resp; } - } - if (responders.default) { - return responders[responders.default](); + } + if (responders.fallback) { + return responders[responders.fallback](); } throw({code:406, body:"Not Acceptable: "+accept}); } Modified: couchdb/trunk/share/www/script/couch_tests.js URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/couch_tests.js?rev=730656&r1=730655&r2=730656&view=diff ============================================================================== --- couchdb/trunk/share/www/script/couch_tests.js [utf-8] (original) +++ couchdb/trunk/share/www/script/couch_tests.js [utf-8] Thu Jan 1 18:00:33 2009 @@ -2034,43 +2034,49 @@ db.deleteDb(); db.createDb(); if (debug) debugger; + + function stringFun(fun) { + var string = fun.toSource ? fun.toSource() : "(" + fun.toString() + ")"; + return string; + } var designDoc = { _id:"_design/template", language: "javascript", forms: { - "hello" : (function() { + "hello" : stringFun(function() { return { body : "Hello World" }; - }).toString(), - "just-name" : (function(doc, req) { + }), + "just-name" : stringFun(function(doc, req) { return { body : "Just " + doc.name }; - }).toString(), - "req-info" : (function(doc, req) { + }), + "req-info" : stringFun(function(doc, req) { return { json : req } - }).toString(), - "xml-type" : (function(doc, req) { - return { - headers : { - "Content-Type" : "application/xml" - }, - "body" : <xml><node foo="bar"/></xml> - } - }).toString(), - "no-set-etag" : (function(doc, req) { + }), + "xml-type" : [ + 'function(doc, req) { ', + ' return { ', + ' "headers" : { ', + ' "Content-Type" : "application/xml" ', + ' }, ', + ' "body" : <xml><node foo="bar"/></xml>', + ' } ', + '}'].join('\n'), + "no-set-etag" : stringFun(function(doc, req) { return { headers : { "Etag" : "skipped" }, "body" : "something" } - }).toString(), - "accept-switch" : (function(doc, req) { + }), + "accept-switch" : stringFun(function(doc, req) { if (req.headers["Accept"].match(/image/)) { return { // a 16x16 px version of the CouchDB logo @@ -2097,29 +2103,30 @@ } }; } - }).toString(), - "respondWith" : (function(doc, req) { - registerType("foo", "application/foo","application/x-foo"); - return respondWith(req, { - html : function() { - return { - body:"Ha ha, you said \"" + doc.word + "\"." - }; - }, - xml : function() { - return { - body: <xml><node foo={doc.word}/></xml> - }; - }, - foo : function() { - return { - body: "foofoo" - }; - }, - default : "html" - }); - }).toString() - } + }), + "respondWith" : [ + 'function(doc, req) { ', + ' registerType("foo", "application/foo","application/x-foo");', + ' return respondWith(req, { ', + ' html : function() { ', + ' return { ', + ' body:"Ha ha, you said \\"" + doc.word + "\\"." ', + ' }; ', + ' }, ', + ' xml : function() { ', + ' return { ', + ' body: <xml><node foo={doc.word}/></xml> ', + ' }; ', + ' }, ', + ' foo : function() { ', + ' return { ', + ' body: "foofoo" ', + ' }; ', + ' }, ', + ' fallback : "html" ', + ' }); ', + '}'].join('\n') + } }; T(db.save(designDoc).ok); Modified: couchdb/trunk/test/runner.sh URL: http://svn.apache.org/viewvc/couchdb/trunk/test/runner.sh?rev=730656&r1=730655&r2=730656&view=diff ============================================================================== --- couchdb/trunk/test/runner.sh (original) +++ couchdb/trunk/test/runner.sh Thu Jan 1 18:00:33 2009 @@ -4,4 +4,4 @@ erl -noshell -pa ../src/couchdb -pa ../src/mochiweb -eval "runner:run()" -cat ../share/www/script/couch.js ../share/www/script/couch_tests.js test.js | ../src/couchdb/couchjs - +cat ../share/www/script/couch.js ../share/www/script/couch_test_runner.js ../share/www/script/couch_tests.js test.js | ../src/couchdb/couchjs - Modified: couchdb/trunk/test/test.js URL: http://svn.apache.org/viewvc/couchdb/trunk/test/test.js?rev=730656&r1=730655&r2=730656&view=diff ============================================================================== --- couchdb/trunk/test/test.js (original) +++ couchdb/trunk/test/test.js Thu Jan 1 18:00:33 2009 @@ -67,8 +67,7 @@ var h = headers[i]; if (keymatcher.test(h)) { var value = h.substr(key.length+2); - value = value.slice(0, value.length-1); - return value; + return value.replace(/^\s+|\s+$/g,""); } } return ""; From commitsshane48@example.com Fri Jan 02 18:14:07 2009 Return-Path: <commitsshane48@example.com> Delivered-To: shane48@example.com Received: (qmail 57013 invoked from network); 2 Jan 2009 18:14:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2009 18:14:07 -0000 Received: (qmail 42860 invoked by uid 500); 2 Jan 2009 18:14:06 -0000 Delivered-To: shane48@example.com Received: (qmail 42825 invoked by uid 500); 2 Jan 2009 18:14:06 -0000 Mailing-List: contact shane48@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:shane48@example.com> List-Unsubscribe: <mailto:shane48@example.com> List-Post: <mailto:shane48@example.com> List-Id: <commits.couchdb.apache.org> Reply-To: shane48@example.com Delivered-To: mailing list shane48@example.com Received: (qmail 42816 invoked by uid 500); 2 Jan 2009 18:14:06 -0000 Delivered-To: shane48@example.com Received: (qmail 42813 invoked by uid 99); 2 Jan 2009 18:14:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 10:14:06 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 18:14:04 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id 7A22B11182 for <shane48@example.com>; Fri, 2 Jan 2009 18:13:43 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <shane48@example.com> To: shane48@example.com Date: Fri, 02 Jan 2009 18:13:43 -0000 Message-ID: <shane48@example.com> Subject: [Couchdb Wiki] Update of "HTTP Document API" by JanLehnardt X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The following page has been changed by JanLehnardt: http://wiki.apache.org/couchdb/HTTP_Document_API The comment on the change is: fix _uuid docs ------------------------------------------------------------------------------ === POST === - The ''POST'' operation can be used to create a new document with a server generated DocID. To create a named document, use the ''PUT'' method instead. It is recommended that you avoid ''POST'' when possible, because proxies and other network intermediaries will occasionally resend ''POST'' requests, which can result in duplicate document creation. If your client software is not capable of guaranteeing uniqueness of generated UUIDs, use a ''POST'' to ''/_uuids?count=100'' to retrieve a list of unused document IDs for future ''PUT'' requests. + The ''POST'' operation can be used to create a new document with a server generated DocID. To create a named document, use the ''PUT'' method instead. It is recommended that you avoid ''POST'' when possible, because proxies and other network intermediaries will occasionally resend ''POST'' requests, which can result in duplicate document creation. If your client software is not capable of guaranteeing uniqueness of generated UUIDs, use a ''POST'' to ''/_uuids?count=100'' to retrieve a list of document IDs for future ''PUT'' requests. Please note that the ''/_uuids''-call does not check for existing document ids; collision-detection happens when you are trying to save a document. The following is an example HTTP ''POST''. It will cause the CouchDB server to generate a new DocID and revision ID and save the document with it. From commitsshane48@example.com Fri Jan 02 21:46:27 2009 Return-Path: <commitsshane48@example.com> Delivered-To: shane48@example.com Received: (qmail 19844 invoked from network); 2 Jan 2009 21:46:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2009 21:46:27 -0000 Received: (qmail 3658 invoked by uid 500); 2 Jan 2009 21:46:27 -0000 Delivered-To: shane48@example.com Received: (qmail 3623 invoked by uid 500); 2 Jan 2009 21:46:27 -0000 Mailing-List: contact shane48@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:shane48@example.com> List-Unsubscribe: <mailto:shane48@example.com> List-Post: <mailto:shane48@example.com> List-Id: <commits.couchdb.apache.org> Reply-To: shane48@example.com Delivered-To: mailing list shane48@example.com Received: (qmail 3614 invoked by uid 99); 2 Jan 2009 21:46:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 13:46:26 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eris.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 21:46:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 42C1B2388995; Fri, 2 Jan 2009 13:46:04 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r730846 - /couchdb/trunk/src/couchdb/couch_db_update_notifier.erl Date: Fri, 02 Jan 2009 21:46:04 -0000 To: shane48@example.com From: shane48@example.com X-Mailer: svnmailer-1.0.8 Message-Id: <shane48@example.com> X-Virus-Checked: Checked by ClamAV on apache.org Author: jchris Date: Fri Jan 2 13:46:03 2009 New Revision: 730846 URL: http://svn.apache.org/viewvc?rev=730846&view=rev Log: fix for update notifier with couch os process. thanks davisp Modified: couchdb/trunk/src/couchdb/couch_db_update_notifier.erl Modified: couchdb/trunk/src/couchdb/couch_db_update_notifier.erl URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_db_update_notifier.erl?rev=730846&r1=730845&r2=730846&view=diff ============================================================================== --- couchdb/trunk/src/couchdb/couch_db_update_notifier.erl (original) +++ couchdb/trunk/src/couchdb/couch_db_update_notifier.erl Fri Jan 2 13:46:03 2009 @@ -37,7 +37,7 @@ couch_event_sup:stop(Pid). init(Exec) when is_list(Exec) -> % an exe - {ok, couch_os_process:start_link(Exec, [], [stream, exit_status, hide])}; + couch_os_process:start_link(Exec, [], [stream, exit_status, hide]); init(Else) -> {ok, Else}. From commitsshane48@example.com Fri Jan 02 23:40:58 2009 Return-Path: <commitsshane48@example.com> Delivered-To: shane48@example.com Received: (qmail 63184 invoked from network); 2 Jan 2009 23:40:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2009 23:40:58 -0000 Received: (qmail 86590 invoked by uid 500); 2 Jan 2009 23:40:58 -0000 Delivered-To: shane48@example.com Received: (qmail 86564 invoked by uid 500); 2 Jan 2009 23:40:58 -0000 Mailing-List: contact shane48@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:shane48@example.com> List-Unsubscribe: <mailto:shane48@example.com> List-Post: <mailto:shane48@example.com> List-Id: <commits.couchdb.apache.org> Reply-To: shane48@example.com Delivered-To: mailing list shane48@example.com Received: (qmail 86555 invoked by uid 500); 2 Jan 2009 23:40:58 -0000 Delivered-To: shane48@example.com Received: (qmail 86552 invoked by uid 99); 2 Jan 2009 23:40:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 15:40:58 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 23:40:57 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id 0E8B311182 for <shane48@example.com>; Fri, 2 Jan 2009 23:40:37 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <shane48@example.com> To: shane48@example.com Date: Fri, 02 Jan 2009 23:40:36 -0000 Message-ID: <shane48@example.com> Subject: [Couchdb Wiki] Update of "Getting started with Java" by CarlCrowder X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The following page has been changed by CarlCrowder: http://wiki.apache.org/couchdb/Getting_started_with_Java The comment on the change is: Updating to match newest version of couchdb4j ------------------------------------------------------------------------------ == Sample Usage == {{{ - Session s = new Session("localhost",5984); + Session s = new Session("localhost",5984); - Database db = s.getDatabase("foodb"); + Database db = s.getDatabase("foodb"); - Document doc = db.getDocument("documentid1234"); + Document doc = db.getDocument("documentid1234"); - doc.put("foo","bar"); + doc.put("foo","bar"); - db.save(doc); + db.saveDocument(doc); - Document newdoc = new Document(); + Document newdoc = new Document(); - doc.put("foo","baz"); // same as JSON: { foo: "baz"; } + doc.put("foo","baz"); // same as JSON: { foo: "baz"; } - db.save(doc); // auto-generated id given by the database + db.saveDocument(doc); // auto-generated id given by the database - // Running a view + // Running a view - ViewResult result = db.getAllDocuments(); // same as db.view("_all_dbs"); + ViewResults result = db.getAllDocuments(); // same as db.view("_all_dbs"); - for (Document d: result.getResults()) { + for (Document d: result.getResults()) { - System.out.println(d.getId()); + System.out.println(d.getId()); - /* + /* - ViewResults may not actually contain the full document, only what the view + ViewResults may not actually contain the full document, only what the view - returned. So, in order to get the full document, you need to request a + returned. So, in order to get the full document, you need to request a - new copy from the database. + new copy from the database. - */ + */ - Document full = db.getDocument(d.getId()); + Document full = db.getDocument(d.getId()); - } + } - // Ad-Hoc view + // Ad-Hoc view - ViewResult resultAdHoc = db.adhoc("function (doc) { if (doc.foo=='bar') { return doc; }}"); + ViewResults resultAdHoc = db.adhoc("function (doc) { if (doc.foo=='bar') { return doc; }}"); }}} == Older Libraries == From commitsshane48@example.com Fri Jan 02 23:47:08 2009 Return-Path: <commitsshane48@example.com> Delivered-To: shane48@example.com Received: (qmail 64054 invoked from network); 2 Jan 2009 23:47:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2009 23:47:08 -0000 Received: (qmail 92183 invoked by uid 500); 2 Jan 2009 23:47:07 -0000 Delivered-To: shane48@example.com Received: (qmail 92158 invoked by uid 500); 2 Jan 2009 23:47:07 -0000 Mailing-List: contact shane48@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:shane48@example.com> List-Unsubscribe: <mailto:shane48@example.com> List-Post: <mailto:shane48@example.com> List-Id: <commits.couchdb.apache.org> Reply-To: shane48@example.com Delivered-To: mailing list shane48@example.com Received: (qmail 92149 invoked by uid 500); 2 Jan 2009 23:47:07 -0000 Delivered-To: shane48@example.com Received: (qmail 92146 invoked by uid 99); 2 Jan 2009 23:47:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 15:47:07 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 23:47:06 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id 032C711182 for <shane48@example.com>; Fri, 2 Jan 2009 23:46:45 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <shane48@example.com> To: shane48@example.com Date: Fri, 02 Jan 2009 23:46:44 -0000 Message-ID: <shane48@example.com> Subject: [Couchdb Wiki] Update of "Getting started with Java" by CarlCrowder X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The following page has been changed by CarlCrowder: http://wiki.apache.org/couchdb/Getting_started_with_Java ------------------------------------------------------------------------------ == Sample Usage == {{{ - Session s = new Session("localhost",5984); + Session s = new Session("localhost",5984); - Database db = s.getDatabase("foodb"); + Database db = s.getDatabase("foodb"); - Document doc = db.getDocument("documentid1234"); + Document doc = db.getDocument("documentid1234"); - doc.put("foo","bar"); + doc.put("foo","bar"); - db.saveDocument(doc); + db.save(doc); - Document newdoc = new Document(); + Document newdoc = new Document(); - doc.put("foo","baz"); // same as JSON: { foo: "baz"; } + doc.put("foo","baz"); // same as JSON: { foo: "baz"; } - db.saveDocument(doc); // auto-generated id given by the database + db.save(doc); // auto-generated id given by the database - // Running a view + // Running a view - ViewResults result = db.getAllDocuments(); // same as db.view("_all_dbs"); + ViewResult result = db.getAllDocuments(); // same as db.view("_all_dbs"); - for (Document d: result.getResults()) { + for (Document d: result.getResults()) { - System.out.println(d.getId()); + System.out.println(d.getId()); - /* + /* - ViewResults may not actually contain the full document, only what the view + ViewResults may not actually contain the full document, only what the view - returned. So, in order to get the full document, you need to request a + returned. So, in order to get the full document, you need to request a - new copy from the database. + new copy from the database. - */ + */ - Document full = db.getDocument(d.getId()); + Document full = db.getDocument(d.getId()); - } + } - // Ad-Hoc view + // Ad-Hoc view - ViewResults resultAdHoc = db.adhoc("function (doc) { if (doc.foo=='bar') { return doc; }}"); + ViewResult resultAdHoc = db.adhoc("function (doc) { if (doc.foo=='bar') { return doc; }}"); }}} == Older Libraries == From commitsshane48@example.com Sat Jan 03 05:37:21 2009 Return-Path: <commitsshane48@example.com> Delivered-To: shane48@example.com Received: (qmail 88600 invoked from network); 3 Jan 2009 05:37:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2009 05:37:20 -0000 Received: (qmail 20799 invoked by uid 500); 3 Jan 2009 05:37:20 -0000 Delivered-To: shane48@example.com Received: (qmail 20715 invoked by uid 500); 3 Jan 2009 05:37:20 -0000 Mailing-List: contact shane48@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:shane48@example.com> List-Unsubscribe: <mailto:shane48@example.com> List-Post: <mailto:shane48@example.com> List-Id: <commits.couchdb.apache.org> Reply-To: shane48@example.com Delivered-To: mailing list shane48@example.com Received: (qmail 20706 invoked by uid 500); 3 Jan 2009 05:37:20 -0000 Delivered-To: shane48@example.com Received: (qmail 20703 invoked by uid 99); 3 Jan 2009 05:37:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 21:37:20 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 05:37:11 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id 0B86E11182 for <shane48@example.com>; Sat, 3 Jan 2009 05:36:50 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <shane48@example.com> To: shane48@example.com Date: Sat, 03 Jan 2009 05:36:49 -0000 Message-ID: <shane48@example.com> Subject: [Couchdb Wiki] Update of "CouchDB in the wild" by StefanSaasen X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The following page has been changed by StefanSaasen: http://wiki.apache.org/couchdb/CouchDB_in_the_wild ------------------------------------------------------------------------------ * [http://www.moostrax.com MoosTrax], Web Based GPS Tracking * [http://peasized.net/ Pea Sized], a simple band web site * [http://iwantmyname.com/ iWantMyName], an easy to use domain registrar (finally) + * [http://coravy.com/ coravy. website], corporate website using a non-cms build with CouchDB. == Internal Use == From commitsshane48@example.com Sat Jan 03 12:20:30 2009 Return-Path: <commitsshane48@example.com> Delivered-To: shane48@example.com Received: (qmail 36091 invoked from network); 3 Jan 2009 12:20:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2009 12:20:30 -0000 Received: (qmail 46407 invoked by uid 500); 3 Jan 2009 12:20:30 -0000 Delivered-To: shane48@example.com Received: (qmail 46381 invoked by uid 500); 3 Jan 2009 12:20:30 -0000 Mailing-List: contact shane48@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:shane48@example.com> List-Unsubscribe: <mailto:shane48@example.com> List-Post: <mailto:shane48@example.com> List-Id: <commits.couchdb.apache.org> Reply-To: shane48@example.com Delivered-To: mailing list shane48@example.com Received: (qmail 46372 invoked by uid 500); 3 Jan 2009 12:20:30 -0000 Delivered-To: shane48@example.com Received: (qmail 46369 invoked by uid 99); 3 Jan 2009 12:20:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 04:20:30 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 12:20:28 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id 1EFB111182 for <shane48@example.com>; Sat, 3 Jan 2009 12:20:07 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <shane48@example.com> To: shane48@example.com Date: Sat, 03 Jan 2009 12:20:06 -0000 Message-ID: <shane48@example.com> Subject: [Couchdb Wiki] Update of "Frequently asked questions" by HakanSoderstrom X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The following page has been changed by HakanSoderstrom: http://wiki.apache.org/couchdb/Frequently_asked_questions ------------------------------------------------------------------------------ * [#update_views_more_often I want to update my view indexes more often than only when a user reads it. How do I do that best?] * [#secure_remote_server I use CouchDB on a remote server and I don't want it to listen on a public port for security reasons. Is there a way to connect to it from my local machine or can I still use Futon with it?] * [#slow_view_building Creating my view index takes ages, WTF?] + * [#unicode_data Erlang has been slow to adopt Unicode. Is Unicode or UTF-8 a problem with CouchDB?] If you have a question not yet answered in this FAQ please hit the edit button and add your question at the end. Check back in a few days, someone may have provided an answer. From commitsshane48@example.com Sat Jan 03 17:10:41 2009 Return-Path: <commitsshane48@example.com> Delivered-To: shane48@example.com Received: (qmail 54286 invoked from network); 3 Jan 2009 17:10:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2009 17:10:41 -0000 Received: (qmail 81997 invoked by uid 500); 3 Jan 2009 17:10:41 -0000 Delivered-To: shane48@example.com Received: (qmail 81950 invoked by uid 500); 3 Jan 2009 17:10:41 -0000 Mailing-List: contact shane48@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:shane48@example.com> List-Unsubscribe: <mailto:shane48@example.com> List-Post: <mailto:shane48@example.com> List-Id: <commits.couchdb.apache.org> Reply-To: shane48@example.com Delivered-To: mailing list shane48@example.com Received: (qmail 81941 invoked by uid 500); 3 Jan 2009 17:10:41 -0000 Delivered-To: shane48@example.com Received: (qmail 81938 invoked by uid 99); 3 Jan 2009 17:10:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 09:10:41 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 17:10:40 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id 724371115B for <shane48@example.com>; Sat, 3 Jan 2009 17:10:20 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <shane48@example.com> To: shane48@example.com Date: Sat, 03 Jan 2009 17:10:20 -0000 Message-ID: <shane48@example.com> Subject: [Couchdb Wiki] Update of "Installation" by LukeVenediger X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The following page has been changed by LukeVenediger: http://wiki.apache.org/couchdb/Installation The comment on the change is: Broke the installation guides into platform categories. ------------------------------------------------------------------------------ CouchDB is nearing an 0.9.x release, so there are some features documented on the wiki that are not available in the 0.8.1 release. Things are moving fast around here -- we recommend following svn trunk for users who'd like to keep up with the latest. + '''Linux and Solaris''' - * ["Installing SpiderMonkey"] - * ["Installing from source"] * ["Installing on RHEL4"] * ["Installing on RHEL5"] * ["Installing on Fedora7"] @@ -11, +10 @@ * ["Installing on Gentoo"] * ["Installing on Ubuntu"] * ["Installing on Open Solaris and Joynet Accellerator"] + + '''Apple Mac''' * ["Installing on OSX"] + + '''Windows''' * ["Installing on Windows"] + + '''BSD Unix''' * ["Installing on OpenBSD"] * ["Installing on FreeBSD"] + '''Installing from Source''' + * ["Installing SpiderMonkey"] + * ["Installing from source"] + From commitsshane48@example.com Sat Jan 03 17:23:34 2009 Return-Path: <commitsshane48@example.com> Delivered-To: shane48@example.com Received: (qmail 56670 invoked from network); 3 Jan 2009 17:23:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2009 17:23:34 -0000 Received: (qmail 86768 invoked by uid 500); 3 Jan 2009 17:23:34 -0000 Delivered-To: shane48@example.com Received: (qmail 86733 invoked by uid 500); 3 Jan 2009 17:23:34 -0000 Mailing-List: contact shane48@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:shane48@example.com> List-Unsubscribe: <mailto:shane48@example.com> List-Post: <mailto:shane48@example.com> List-Id: <commits.couchdb.apache.org> Reply-To: shane48@example.com Delivered-To: mailing list shane48@example.com Received: (qmail 86724 invoked by uid 500); 3 Jan 2009 17:23:34 -0000 Delivered-To: shane48@example.com Received: (qmail 86721 invoked by uid 99); 3 Jan 2009 17:23:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 09:23:33 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 17:23:32 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id 22A8B11155 for <shane48@example.com>; Sat, 3 Jan 2009 17:23:11 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <shane48@example.com> To: shane48@example.com Date: Sat, 03 Jan 2009 17:23:11 -0000 Message-ID: <shane48@example.com> Subject: [Couchdb Wiki] Trivial Update of "Installing from source" by LukeVenediger X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The following page has been changed by LukeVenediger: http://wiki.apache.org/couchdb/Installing_from_source The comment on the change is: Neatened up the opening text. ------------------------------------------------------------------------------ - The source is located in a subversion repository + This guide will help you get the latest version of couchdb from the Subversion repository. The source is located here: http://svn.apache.org/repos/asf/couchdb/trunk + + Run these commands in your home directory: {{{ $ svn checkout http://svn.apache.org/repos/asf/couchdb/trunk couchdb From commitsshane48@example.com Sat Jan 03 17:26:22 2009 Return-Path: <commitsshane48@example.com> Delivered-To: shane48@example.com Received: (qmail 58026 invoked from network); 3 Jan 2009 17:26:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2009 17:26:22 -0000 Received: (qmail 89295 invoked by uid 500); 3 Jan 2009 17:26:22 -0000 Delivered-To: shane48@example.com Received: (qmail 89265 invoked by uid 500); 3 Jan 2009 17:26:22 -0000 Mailing-List: contact shane48@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:shane48@example.com> List-Unsubscribe: <mailto:shane48@example.com> List-Post: <mailto:shane48@example.com> List-Id: <commits.couchdb.apache.org> Reply-To: shane48@example.com Delivered-To: mailing list shane48@example.com Received: (qmail 89256 invoked by uid 500); 3 Jan 2009 17:26:22 -0000 Delivered-To: shane48@example.com Received: (qmail 89253 invoked by uid 99); 3 Jan 2009 17:26:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 09:26:21 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 17:26:21 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id 49BD71115B for <shane48@example.com>; Sat, 3 Jan 2009 17:26:01 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <shane48@example.com> To: shane48@example.com Date: Sat, 03 Jan 2009 17:26:01 -0000 Message-ID: <shane48@example.com> Subject: [Couchdb Wiki] Update of "Installation" by LukeVenediger X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The following page has been changed by LukeVenediger: http://wiki.apache.org/couchdb/Installation The comment on the change is: Adding a new page on how to verify an installation. ------------------------------------------------------------------------------ * ["Installing SpiderMonkey"] * ["Installing from source"] + '''Verifying the Installation''' + * ["Verify and Test Your Installation"] + From commitsshane48@example.com Sat Jan 03 19:14:15 2009 Return-Path: <commitsshane48@example.com> Delivered-To: shane48@example.com Received: (qmail 98102 invoked from network); 3 Jan 2009 19:14:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2009 19:14:15 -0000 Received: (qmail 34101 invoked by uid 500); 3 Jan 2009 19:14:15 -0000 Delivered-To: shane48@example.com Received: (qmail 34079 invoked by uid 500); 3 Jan 2009 19:14:15 -0000 Mailing-List: contact shane48@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:shane48@example.com> List-Unsubscribe: <mailto:shane48@example.com> List-Post: <mailto:shane48@example.com> List-Id: <commits.couchdb.apache.org> Reply-To: shane48@example.com Delivered-To: mailing list shane48@example.com Received: (qmail 34070 invoked by uid 500); 3 Jan 2009 19:14:15 -0000 Delivered-To: shane48@example.com Received: (qmail 34067 invoked by uid 99); 3 Jan 2009 19:14:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 11:14:15 -0800 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 19:14:13 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id 732B11115B for <shane48@example.com>; Sat, 3 Jan 2009 19:13:52 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <shane48@example.com> To: shane48@example.com Date: Sat, 03 Jan 2009 19:13:52 -0000 Message-ID: <shane48@example.com> Subject: [Couchdb Wiki] Update of "Verify and Test Your Installation" by LukeVenediger X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The following page has been changed by LukeVenediger: http://wiki.apache.org/couchdb/Verify_and_Test_Your_Installation The comment on the change is: Adding information about how to check that couchdb has been installed correctly. New page: === Using the Couchdb init.d script === Run this command: {{{ $ sudo /etc/init.d/couchdb status }}} You should see a message like this: {{{ Apache CouchDB is running as process 15102, time to relax. }}} === Using curl === Use { { {curl} } } to access your Couchdb instance. It will bind to { { {localhost} } } on port '''5984''' by default. Run this command: {{{ $ curl http://localhost:5984/ }}} You should see a message like this (the version may differ): {{{ {"couchdb":"Welcome","version":"0.9.0a729754-incubating","start_time":"Sat, 03 Jan 2009 16:41:48 GMT"} }}} === Starting Couchdb === Start Couchdb by issuing the following command: {{{ $ sudo /etc/init.d/couchdb start }}} You should see this message: {{{ Apache CouchDB has started. Time to relax. }}} Open Futon and browse your Couchdb database: http://localhost:5984/_utils/ Read more about Futon in ["Getting started with Futon"]. From commitsshane48@example.com Sat Jan 03 19:16:23 2009 Return-Path: <commitsshane48@example.com> Delivered-To: shane48@example.com Received: (qmail 98326 invoked from network); 3 Jan 2009 19:16:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2009 19:16:23 -0000 Received: (qmail 35578 invoked by uid 500); 3 Jan 2009 19:16:23 -0000 Delivered-To: shane48@example.com Received: (qmail 35551 invoked by uid 500); 3 Jan 2009 19:16:23 -0000 Mailing-List: contact shane48@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:shane48@example.com> List-Unsubscribe: <mailto:shane48@example.com> List-Post: <mailto:shane48@example.com> List-Id: <commits.couchdb.apache.org> Reply-To: shane48@example.com Delivered-To: mailing list shane48@example.com Received: (qmail 35542 invoked by uid 500); 3 Jan 2009 19:16:23 -0000 Delivered-To: shane48@example.com Received: (qmail 35539 invoked by uid 99); 3 Jan 2009 19:16:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 11:16:23 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 19:16:21 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id 8026F1115B for <shane48@example.com>; Sat, 3 Jan 2009 19:16:00 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <shane48@example.com> To: shane48@example.com Date: Sat, 03 Jan 2009 19:16:00 -0000 Message-ID: <shane48@example.com> Subject: [Couchdb Wiki] Update of "Development" by LukeVenediger X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The following page has been changed by LukeVenediger: http://wiki.apache.org/couchdb/Development The comment on the change is: Adding a page on how to prepare a configuration set for development. ------------------------------------------------------------------------------ * ["Open items"] * ["One laptop per child"] * ["Full text search"] + * ["Running Couchdb in Dev Mode"] From commitsshane48@example.com Sat Jan 03 19:27:00 2009 Return-Path: <commitsshane48@example.com> Delivered-To: shane48@example.com Received: (qmail 99393 invoked from network); 3 Jan 2009 19:27:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2009 19:27:00 -0000 Received: (qmail 38107 invoked by uid 500); 3 Jan 2009 19:27:00 -0000 Delivered-To: shane48@example.com Received: (qmail 38084 invoked by uid 500); 3 Jan 2009 19:27:00 -0000 Mailing-List: contact shane48@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:shane48@example.com> List-Unsubscribe: <mailto:shane48@example.com> List-Post: <mailto:shane48@example.com> List-Id: <commits.couchdb.apache.org> Reply-To: shane48@example.com Delivered-To: mailing list shane48@example.com Received: (qmail 38075 invoked by uid 500); 3 Jan 2009 19:27:00 -0000 Delivered-To: shane48@example.com Received: (qmail 38072 invoked by uid 99); 3 Jan 2009 19:27:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 11:27:00 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 19:26:59 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id 6791D1115B for <shane48@example.com>; Sat, 3 Jan 2009 19:26:39 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <shane48@example.com> To: shane48@example.com Date: Sat, 03 Jan 2009 19:26:39 -0000 Message-ID: <shane48@example.com> Subject: [Couchdb Wiki] Update of "Running Couchdb in Dev Mode" by LukeVenediger X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The following page has been changed by LukeVenediger: http://wiki.apache.org/couchdb/Running_Couchdb_in_Dev_Mode New page: This only applies if you need to make changes to the Couchdb server or to the Futon web front-end. === Prerequisites === You need to have installed from source. See ["Installing from source"]. === Create a Development Configuration === The following commands set up a Couchdb configuration that points to the location of your SVN checkout. Run these commands: {{{ $ cd YOUR_COUCHDB_CHECKOUT_DIRECTORY $ make dev }}} Now start Couchdb by calling this command: {{{ $ utils/run }}} Your Couchdb server has been started as a foreground process. You can make it a background process by calling {{{ $ utils/run & }}}. You should see the following message: {{{ Apache CouchDB 0.9.0a729754-incubating (LogLevel=error) is starting. Apache CouchDB has started. Time to relax. }}} From commitsshane48@example.com Sat Jan 03 19:28:23 2009 Return-Path: <commitsshane48@example.com> Delivered-To: shane48@example.com Received: (qmail 99487 invoked from network); 3 Jan 2009 19:28:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2009 19:28:23 -0000 Received: (qmail 38263 invoked by uid 500); 3 Jan 2009 19:28:23 -0000 Delivered-To: shane48@example.com Received: (qmail 38238 invoked by uid 500); 3 Jan 2009 19:28:23 -0000 Mailing-List: contact shane48@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:shane48@example.com> List-Unsubscribe: <mailto:shane48@example.com> List-Post: <mailto:shane48@example.com> List-Id: <commits.couchdb.apache.org> Reply-To: shane48@example.com Delivered-To: mailing list shane48@example.com Received: (qmail 38229 invoked by uid 500); 3 Jan 2009 19:28:23 -0000 Delivered-To: shane48@example.com Received: (qmail 38226 invoked by uid 99); 3 Jan 2009 19:28:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 11:28:23 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 19:28:22 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id 7614511155 for <shane48@example.com>; Sat, 3 Jan 2009 19:28:02 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <shane48@example.com> To: shane48@example.com Date: Sat, 03 Jan 2009 19:28:02 -0000 Message-ID: <shane48@example.com> Subject: [Couchdb Wiki] Trivial Update of "Running Couchdb in Dev Mode" by LukeVenediger X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The following page has been changed by LukeVenediger: http://wiki.apache.org/couchdb/Running_Couchdb_in_Dev_Mode The comment on the change is: Slight changes to wording for clarification. ------------------------------------------------------------------------------ This only applies if you need to make changes to the Couchdb server or to the Futon web front-end. === Prerequisites === - You need to have installed from source. See ["Installing from source"]. + You need to have installed Couchdb from source. See ["Installing from source"]. === Create a Development Configuration === The following commands set up a Couchdb configuration that points to the location of your SVN checkout. @@ -19, +19 @@ $ utils/run }}} - Your Couchdb server has been started as a foreground process. You can make it a background process by calling + Your Couchdb server has been started as a foreground process. You can make it a background process by calling this instead: {{{ $ utils/run & }}}. From commitsshane48@example.com Sat Jan 03 19:41:31 2009 Return-Path: <commitsshane48@example.com> Delivered-To: shane48@example.com Received: (qmail 2182 invoked from network); 3 Jan 2009 19:41:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2009 19:41:31 -0000 Received: (qmail 46953 invoked by uid 500); 3 Jan 2009 19:41:31 -0000 Delivered-To: shane48@example.com Received: (qmail 46926 invoked by uid 500); 3 Jan 2009 19:41:31 -0000 Mailing-List: contact shane48@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:shane48@example.com> List-Unsubscribe: <mailto:shane48@example.com> List-Post: <mailto:shane48@example.com> List-Id: <commits.couchdb.apache.org> Reply-To: shane48@example.com Delivered-To: mailing list shane48@example.com Received: (qmail 46917 invoked by uid 500); 3 Jan 2009 19:41:31 -0000 Delivered-To: shane48@example.com Received: (qmail 46914 invoked by uid 99); 3 Jan 2009 19:41:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 11:41:31 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 19:41:30 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id BD6BA11155 for <shane48@example.com>; Sat, 3 Jan 2009 19:41:09 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <shane48@example.com> To: shane48@example.com Date: Sat, 03 Jan 2009 19:41:09 -0000 Message-ID: <shane48@example.com> Subject: [Couchdb Wiki] Trivial Update of "Running Couchdb in Dev Mode" by JanLehnardt X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The following page has been changed by JanLehnardt: http://wiki.apache.org/couchdb/Running_Couchdb_in_Dev_Mode The comment on the change is: s/Couchdb/CouchDB/ ------------------------------------------------------------------------------ - This only applies if you need to make changes to the Couchdb server or to the Futon web front-end. + This only applies if you need to make changes to the CouchDB server or to the Futon web front-end. === Prerequisites === - You need to have installed Couchdb from source. See ["Installing from source"]. + You need to have installed CouchDB from source. See ["Installing from source"]. === Create a Development Configuration === - The following commands set up a Couchdb configuration that points to the location of your SVN checkout. + The following commands set up a CouchDB configuration that points to the location of your SVN checkout. Run these commands: {{{ @@ -14, +14 @@ $ make dev }}} - Now start Couchdb by calling this command: + Now start CouchDB by calling this command: {{{ $ utils/run }}} - Your Couchdb server has been started as a foreground process. You can make it a background process by calling this instead: + Your CouchDB server has been started as a foreground process. You can make it a background process by calling this instead: {{{ $ utils/run & }}}. From commitsshane48@example.com Sat Jan 03 22:23:19 2009 Return-Path: <commitsshane48@example.com> Delivered-To: shane48@example.com Received: (qmail 68521 invoked from network); 3 Jan 2009 22:23:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2009 22:23:19 -0000 Received: (qmail 16922 invoked by uid 500); 3 Jan 2009 22:23:19 -0000 Delivered-To: shane48@example.com Received: (qmail 16894 invoked by uid 500); 3 Jan 2009 22:23:19 -0000 Mailing-List: contact shane48@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:shane48@example.com> List-Unsubscribe: <mailto:shane48@example.com> List-Post: <mailto:shane48@example.com> List-Id: <commits.couchdb.apache.org> Reply-To: shane48@example.com Delivered-To: mailing list shane48@example.com Received: (qmail 16880 invoked by uid 99); 3 Jan 2009 22:23:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 14:23:19 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eris.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 22:23:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id ADC7823888F1; Sat, 3 Jan 2009 14:22:56 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r731110 - /couchdb/trunk/share/server/main.js Date: Sat, 03 Jan 2009 22:22:56 -0000 To: shane48@example.com From: shane48@example.com X-Mailer: svnmailer-1.0.8 Message-Id: <shane48@example.com> X-Virus-Checked: Checked by ClamAV on apache.org Author: jchris Date: Sat Jan 3 14:22:56 2009 New Revision: 731110 URL: http://svn.apache.org/viewvc?rev=731110&view=rev Log: Slight improvement in forms error logging. When this is solid I will standardize it across main.js Modified: couchdb/trunk/share/server/main.js Modified: couchdb/trunk/share/server/main.js URL: http://svn.apache.org/viewvc/couchdb/trunk/share/server/main.js?rev=731110&r1=731109&r2=731110&view=diff ============================================================================== --- couchdb/trunk/share/server/main.js [utf-8] (original) +++ couchdb/trunk/share/server/main.js [utf-8] Sat Jan 3 14:22:56 2009 @@ -344,9 +344,15 @@ var rendered = formFun(doc, req); print(toJSON(rendered)); } catch (error) { + // Available error fields: + // message, fileName, lineNumber, stack, name log("form function raised error: "+error.toString()); - log({error:(error||"undefined error")}); - print(toJSON(error)); + log("stacktrace: "+error.stack); + try { + print(toJSON(error)); + } catch (e) { + print({"error":error.toString()}); + } } break; default: From commitsshane48@example.com Sat Jan 03 23:05:18 2009 Return-Path: <commitsshane48@example.com> Delivered-To: shane48@example.com Received: (qmail 75430 invoked from network); 3 Jan 2009 23:05:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2009 23:05:18 -0000 Received: (qmail 37279 invoked by uid 500); 3 Jan 2009 23:05:18 -0000 Delivered-To: shane48@example.com Received: (qmail 37244 invoked by uid 500); 3 Jan 2009 23:05:18 -0000 Mailing-List: contact shane48@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:shane48@example.com> List-Unsubscribe: <mailto:shane48@example.com> List-Post: <mailto:shane48@example.com> List-Id: <commits.couchdb.apache.org> Reply-To: shane48@example.com Delivered-To: mailing list shane48@example.com Received: (qmail 37234 invoked by uid 99); 3 Jan 2009 23:05:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 15:05:18 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eris.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 23:05:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C42D623888F1; Sat, 3 Jan 2009 15:04:56 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r731121 - /couchdb/trunk/src/couchdb/couch_httpd.erl Date: Sat, 03 Jan 2009 23:04:56 -0000 To: shane48@example.com From: shane48@example.com X-Mailer: svnmailer-1.0.8 Message-Id: <shane48@example.com> X-Virus-Checked: Checked by ClamAV on apache.org Author: jchris Date: Sat Jan 3 15:04:56 2009 New Revision: 731121 URL: http://svn.apache.org/viewvc?rev=731121&view=rev Log: Added decent reporting of Mochiweb start errors (eaddrinuse etc) Modified: couchdb/trunk/src/couchdb/couch_httpd.erl Modified: couchdb/trunk/src/couchdb/couch_httpd.erl URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_httpd.erl?rev=731121&r1=731120&r2=731121&view=diff ============================================================================== --- couchdb/trunk/src/couchdb/couch_httpd.erl (original) +++ couchdb/trunk/src/couchdb/couch_httpd.erl Sat Jan 3 15:04:56 2009 @@ -55,12 +55,19 @@ end, % and off we go - {ok, Pid} = mochiweb_http:start([ + + {ok, Pid} = case mochiweb_http:start([ {loop, Loop}, {name, ?MODULE}, {ip, BindAddress}, {port, Port} - ]), + ]) of + {ok, MochiPid} -> {ok, MochiPid}; + {error, Reason} -> + io:format("Failure to start Mochiweb: ~s~n",[Reason]), + throw({error, Reason}) + end, + ok = couch_config:register( fun("httpd", "bind_address") -> ?MODULE:stop(); From commitsshane48@example.com Sun Jan 04 01:02:00 2009 Return-Path: <commitsshane48@example.com> Delivered-To: shane48@example.com Received: (qmail 95819 invoked from network); 4 Jan 2009 01:02:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Jan 2009 01:02:00 -0000 Received: (qmail 87384 invoked by uid 500); 4 Jan 2009 01:02:00 -0000 Delivered-To: shane48@example.com Received: (qmail 87300 invoked by uid 500); 4 Jan 2009 01:02:00 -0000 Mailing-List: contact shane48@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:shane48@example.com> List-Unsubscribe: <mailto:shane48@example.com> List-Post: <mailto:shane48@example.com> List-Id: <commits.couchdb.apache.org> Reply-To: shane48@example.com Delivered-To: mailing list shane48@example.com Received: (qmail 87291 invoked by uid 99); 4 Jan 2009 01:02:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 17:02:00 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eris.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jan 2009 01:01:57 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7C250238889F; Sat, 3 Jan 2009 17:01:36 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r731144 - in /couchdb/trunk: etc/couchdb/ share/www/browse/ share/www/script/ src/couchdb/ Date: Sun, 04 Jan 2009 01:01:34 -0000 To: shane48@example.com From: shane48@example.com X-Mailer: svnmailer-1.0.8 Message-Id: <shane48@example.com> X-Virus-Checked: Checked by ClamAV on apache.org Author: jchris Date: Sat Jan 3 17:01:33 2009 New Revision: 731144 URL: http://svn.apache.org/viewvc?rev=731144&view=rev Log: Rename _temp_views to _slow_views. Any clients who were using temp views are encouraged not to use slow views, and instead transition to design documents (or running the views on the client). Modified: couchdb/trunk/etc/couchdb/default.ini.tpl.in couchdb/trunk/etc/couchdb/local_dev.ini couchdb/trunk/share/www/browse/database.html couchdb/trunk/share/www/script/browse.js couchdb/trunk/share/www/script/couch.js couchdb/trunk/share/www/script/jquery.couch.js couchdb/trunk/src/couchdb/couch_httpd_view.erl couchdb/trunk/src/couchdb/couch_view.erl couchdb/trunk/src/couchdb/couch_view_group.erl Modified: couchdb/trunk/etc/couchdb/default.ini.tpl.in URL: http://svn.apache.org/viewvc/couchdb/trunk/etc/couchdb/default.ini.tpl.in?rev=731144&r1=731143&r2=731144&view=diff ============================================================================== --- couchdb/trunk/etc/couchdb/default.ini.tpl.in (original) +++ couchdb/trunk/etc/couchdb/default.ini.tpl.in Sat Jan 3 17:01:33 2009 @@ -46,7 +46,7 @@ [httpd_db_handlers] _view = {couch_httpd_view, handle_view_req} -_temp_view = {couch_httpd_view, handle_temp_view_req} +_slow_view = {couch_httpd_view, handle_slow_view_req} _form = {couch_httpd_form, handle_form_req} ; The external module takes an optional argument allowing you to narrow it to a Modified: couchdb/trunk/etc/couchdb/local_dev.ini URL: http://svn.apache.org/viewvc/couchdb/trunk/etc/couchdb/local_dev.ini?rev=731144&r1=731143&r2=731144&view=diff ============================================================================== --- couchdb/trunk/etc/couchdb/local_dev.ini (original) +++ couchdb/trunk/etc/couchdb/local_dev.ini Sat Jan 3 17:01:33 2009 @@ -20,3 +20,6 @@ [test] foo = bar + +[test] +foo = bar Modified: couchdb/trunk/share/www/browse/database.html URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/browse/database.html?rev=731144&r1=731143&r2=731144&view=diff ============================================================================== --- couchdb/trunk/share/www/browse/database.html [utf-8] (original) +++ couchdb/trunk/share/www/browse/database.html [utf-8] Sat Jan 3 17:01:33 2009 @@ -117,7 +117,7 @@ <label>Select view: <select autocomplete="false"> <option value="">All documents</option> <option value="_design_docs">Design documents</option> - <option value="_temp_view">Custom query…</option> + <option value="_slow_view">Custom query…</option> </select></label> </div> <ul id="toolbar"> Modified: couchdb/trunk/share/www/script/browse.js URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/browse.js?rev=731144&r1=731143&r2=731144&view=diff ============================================================================== --- couchdb/trunk/share/www/script/browse.js [utf-8] (original) +++ couchdb/trunk/share/www/script/browse.js [utf-8] Sat Jan 3 17:01:33 2009 @@ -115,7 +115,7 @@ this.viewName = viewName; this.db = db; this.isDirty = false; - this.isTempView = viewName == "_temp_view"; + this.isTempView = viewName == "_slow_view"; page = this; this.addDocument = function() { @@ -223,7 +223,7 @@ } }); if (!viewName.match(/^_design\//)) { - $.each(["_all_docs", "_design_docs", "_temp_view"], function(idx, name) { + $.each(["_all_docs", "_design_docs", "_slow_view"], function(idx, name) { if (viewName == name) { select[0].options[idx].selected = true; } @@ -493,7 +493,7 @@ $("#switch select").get(0).selectedIndex = 0; db.allDocs(options); } else { - if (viewName == "_temp_view") { + if (viewName == "_slow_view") { $("#viewcode").show().removeClass("collapsed"); var mapFun = $("#viewcode_map").val(); $.cookies.set(db.name + ".map", mapFun); Modified: couchdb/trunk/share/www/script/couch.js URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/couch.js?rev=731144&r1=731143&r2=731144&view=diff ============================================================================== --- couchdb/trunk/share/www/script/couch.js [utf-8] (original) +++ couchdb/trunk/share/www/script/couch.js [utf-8] Sat Jan 3 17:01:33 2009 @@ -123,7 +123,7 @@ reduceFun = reduceFun.toSource ? reduceFun.toSource() : "(" + reduceFun.toString() + ")"; body.reduce = reduceFun; } - this.last_req = this.request("POST", this.uri + "_temp_view" + encodeOptions(options), { + this.last_req = this.request("POST", this.uri + "_slow_view" + encodeOptions(options), { headers: {"Content-Type": "application/json"}, body: JSON.stringify(body) }); Modified: couchdb/trunk/share/www/script/jquery.couch.js URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/jquery.couch.js?rev=731144&r1=731143&r2=731144&view=diff ============================================================================== --- couchdb/trunk/share/www/script/jquery.couch.js [utf-8] (original) +++ couchdb/trunk/share/www/script/jquery.couch.js [utf-8] Sat Jan 3 17:01:33 2009 @@ -216,7 +216,7 @@ body.reduce = reduceFun; } $.ajax({ - type: "POST", url: this.uri + "_temp_view" + encodeOptions(options), + type: "POST", url: this.uri + "_slow_view" + encodeOptions(options), contentType: "application/json", data: toJSON(body), dataType: "json", complete: function(req) { Modified: couchdb/trunk/src/couchdb/couch_httpd_view.erl URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_httpd_view.erl?rev=731144&r1=731143&r2=731144&view=diff ============================================================================== --- couchdb/trunk/src/couchdb/couch_httpd_view.erl (original) +++ couchdb/trunk/src/couchdb/couch_httpd_view.erl Sat Jan 3 17:01:33 2009 @@ -13,7 +13,7 @@ -module(couch_httpd_view). -include("couch_db.hrl"). --export([handle_view_req/2,handle_temp_view_req/2]). +-export([handle_view_req/2,handle_slow_view_req/2]). -export([parse_view_query/1,parse_view_query/2,make_view_fold_fun/5,finish_view_fold/3]). @@ -57,7 +57,7 @@ handle_view_req(Req, _Db) -> send_method_not_allowed(Req, "GET,POST,HEAD"). -handle_temp_view_req(#httpd{method='POST'}=Req, Db) -> +handle_slow_view_req(#httpd{method='POST'}=Req, Db) -> QueryArgs = parse_view_query(Req), case couch_httpd:primary_header_value(Req, "content-type") of @@ -79,7 +79,7 @@ output_reduce_view(Req, View, QueryArgs, Keys) end; -handle_temp_view_req(Req, _Db) -> +handle_slow_view_req(Req, _Db) -> send_method_not_allowed(Req, "POST"). output_map_view(Req, View, Db, QueryArgs, nil) -> Modified: couchdb/trunk/src/couchdb/couch_view.erl URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_view.erl?rev=731144&r1=731143&r2=731144&view=diff ============================================================================== --- couchdb/trunk/src/couchdb/couch_view.erl (original) +++ couchdb/trunk/src/couchdb/couch_view.erl Sat Jan 3 17:01:33 2009 @@ -227,7 +227,7 @@ ok end, ?LOG_DEBUG("Spawning new temp update process for db ~s.", [DbName]), - {ok, NewPid} = couch_view_group:start_link({temp_view, DbName, Fd, Lang, MapSrc, RedSrc}), + {ok, NewPid} = couch_view_group:start_link({slow_view, DbName, Fd, Lang, MapSrc, RedSrc}), true = ets:insert(couch_temp_group_fd_by_db, {DbName, Fd, Count + 1}), add_to_ets(NewPid, DbName, Name), NewPid; Modified: couchdb/trunk/src/couchdb/couch_view_group.erl URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_view_group.erl?rev=731144&r1=731143&r2=731144&view=diff ============================================================================== --- couchdb/trunk/src/couchdb/couch_view_group.erl (original) +++ couchdb/trunk/src/couchdb/couch_view_group.erl Sat Jan 3 17:01:33 2009 @@ -246,7 +246,7 @@ catch delete_index_file(RootDir, DbName, GroupId), Error end; -prepare_group({temp_view, DbName, Fd, Lang, MapSrc, RedSrc}, _ForceReset) -> +prepare_group({slow_view, DbName, Fd, Lang, MapSrc, RedSrc}, _ForceReset) -> case couch_db:open(DbName, []) of {ok, Db} -> View = #view{map_names=["_temp"], From commitsshane48@example.com Sun Jan 04 01:08:15 2009 Return-Path: <commitsshane48@example.com> Delivered-To: shane48@example.com Received: (qmail 96363 invoked from network); 4 Jan 2009 01:08:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Jan 2009 01:08:15 -0000 Received: (qmail 88391 invoked by uid 500); 4 Jan 2009 01:08:15 -0000 Delivered-To: shane48@example.com Received: (qmail 88366 invoked by uid 500); 4 Jan 2009 01:08:15 -0000 Mailing-List: contact shane48@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:shane48@example.com> List-Unsubscribe: <mailto:shane48@example.com> List-Post: <mailto:shane48@example.com> List-Id: <commits.couchdb.apache.org> Reply-To: shane48@example.com Delivered-To: mailing list shane48@example.com Received: (qmail 88357 invoked by uid 500); 4 Jan 2009 01:08:15 -0000 Delivered-To: shane48@example.com Received: (qmail 88354 invoked by uid 99); 4 Jan 2009 01:08:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 17:08:15 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jan 2009 01:08:12 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id D24F71115B for <shane48@example.com>; Sun, 4 Jan 2009 01:07:51 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <shane48@example.com> To: shane48@example.com Date: Sun, 04 Jan 2009 01:07:51 -0000 Message-ID: <shane48@example.com> Subject: [Couchdb Wiki] Update of "HTTP view API" by ChrisAnderson X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The following page has been changed by ChrisAnderson: http://wiki.apache.org/couchdb/HTTP_view_API The comment on the change is: change temp_view to slow_view ------------------------------------------------------------------------------ == Temporary Views == - One-off queries (eg. views you don't want to save in the CouchDB database) can be done via the special view ''_temp_view''. Temporary views are only good during development. Final code should not rely on them as they are very expensive to compute each time they get called and they get increasingly slower the more data you have in a database. If you think you can't solve something in a permanent view that you can solve in an ad-hoc view, you might want to reconsider. (TODO: add typical examples and solutions). + One-off queries (eg. views you don't want to save in the CouchDB database) can be done via the special view ''_slow_view''. Temporary views are only good during development. Final code should not rely on them as they are very expensive to compute each time they get called and they get increasingly slower the more data you have in a database. If you think you can't solve something in a permanent view that you can solve in an ad-hoc view, you might want to reconsider. (TODO: add typical examples and solutions). {{{ - POST /some_database/_temp_view HTTP/1.0 + POST /some_database/_slow_view HTTP/1.0 Content-Length: 48 Date: Mon, 10 Sep 2007 17:11:10 +0200 Content-Type: application/json From commitsshane48@example.com Sun Jan 04 01:09:20 2009 Return-Path: <commitsshane48@example.com> Delivered-To: shane48@example.com Received: (qmail 96462 invoked from network); 4 Jan 2009 01:09:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Jan 2009 01:09:20 -0000 Received: (qmail 89059 invoked by uid 500); 4 Jan 2009 01:09:19 -0000 Delivered-To: shane48@example.com Received: (qmail 89031 invoked by uid 500); 4 Jan 2009 01:09:19 -0000 Mailing-List: contact shane48@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:shane48@example.com> List-Unsubscribe: <mailto:shane48@example.com> List-Post: <mailto:shane48@example.com> List-Id: <commits.couchdb.apache.org> Reply-To: shane48@example.com Delivered-To: mailing list shane48@example.com Received: (qmail 89022 invoked by uid 500); 4 Jan 2009 01:09:19 -0000 Delivered-To: shane48@example.com Received: (qmail 89019 invoked by uid 99); 4 Jan 2009 01:09:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 17:09:19 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eos.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jan 2009 01:09:17 +0000 Received: from eos.apache.org (localhost [83.161.120.155]) by eos.apache.org (Postfix) with ESMTP id EE03F1115B for <shane48@example.com>; Sun, 4 Jan 2009 01:08:56 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <shane48@example.com> To: shane48@example.com Date: Sun, 04 Jan 2009 01:08:56 -0000 Message-ID: <shane48@example.com> Subject: [Couchdb Wiki] Update of "Getting started with PHP" by ChrisAnderson X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The following page has been changed by ChrisAnderson: http://wiki.apache.org/couchdb/Getting_started_with_PHP The comment on the change is: change temp_view to slow_view ------------------------------------------------------------------------------ MAP; $view = '{"map":"'.$map.'"}'; - // we set the method to POST and send the request to couch db's /_temp_view. the text of the view is passed as post data. + // we set the method to POST and send the request to
{'source': 'Apache Software Foundation Public Mail Archives'}