Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 57571 invoked from network); 17 Aug 2009 23:04:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Aug 2009 23:04:25 -0000 Received: (qmail 79693 invoked by uid 500); 17 Aug 2009 23:04:44 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 79599 invoked by uid 500); 17 Aug 2009 23:04:43 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 79559 invoked by uid 99); 17 Aug 2009 23:04:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 23:04:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 23:04:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C21FB234C044 for ; Mon, 17 Aug 2009 16:04:14 -0700 (PDT) Message-ID: <754218426.1250550254784.JavaMail.jira@brutus> Date: Mon, 17 Aug 2009 16:04:14 -0700 (PDT) From: "Chris Anderson (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-446) allow list function and view function to be in different design docs. In-Reply-To: <353387165.1249360874931.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744260#action_12744260 ] Chris Anderson commented on COUCHDB-446: ---------------------------------------- I think this stuff is gonna be messy with options eventually anyway. Three cheers to anyone who thinks of a nice way to do a unified API. +1 on putting this patch in. > allow list function and view function to be in different design docs. > --------------------------------------------------------------------- > > Key: COUCHDB-446 > URL: https://issues.apache.org/jira/browse/COUCHDB-446 > Project: CouchDB > Issue Type: New Feature > Components: Database Core > Reporter: Mark Hammond > Fix For: 0.10 > > Attachments: x_doc_list.patch, x_doc_list_jan.patch > > > There has been some discussion on #couchdb how it might be desirable to use a list function where the list and the view are in separate documents. Among the use-cases is so a list and view can use different languages. > I'm attaching a patch which extends the URL syntax for list views - before my patch, the last portion of the path must be a view name. My patch allows for the existing behaviour, or for the tail to be 2 elements - another design document name *and* the view name. Includes a test. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.