Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 344D210A86 for ; Wed, 25 Sep 2013 21:59:13 +0000 (UTC) Received: (qmail 35933 invoked by uid 500); 25 Sep 2013 21:59:08 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 35684 invoked by uid 500); 25 Sep 2013 21:59:05 -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 35601 invoked by uid 99); 25 Sep 2013 21:59:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Sep 2013 21:59:03 +0000 Date: Wed, 25 Sep 2013 21:59:03 +0000 (UTC) From: "Joan Touzet (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COUCHDB-1894) Add experimental NodeJS query server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-1894?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13= 778144#comment-13778144 ]=20 Joan Touzet commented on COUCHDB-1894: -------------------------------------- I'm -1 on this until such time as it no longer wildly violates the assumed = constraints on the viewserver model and provides strictly a view server, no= t a "query server" or a "JS execution environment." If sandbox.js solves th= at, then so be it, but I do not want to let users think it's OK to abuse th= e view server protocol/provision in the server to provide arbitrary coproce= ssing ability. =20 > Add experimental NodeJS query server > ------------------------------------ > > Key: COUCHDB-1894 > URL: https://issues.apache.org/jira/browse/COUCHDB-1894 > Project: CouchDB > Issue Type: New Feature > Components: JavaScript View Server > Reporter: Jan Lehnardt > > Let=E2=80=99s clean up and merge Jason Smith=E2=80=99s Node.js query serv= er into ASF land and ship it as opt-in and experimental. > I=E2=80=99ve prepared a branch that does the following: > - remove fancy extra features like app server handlers and the visual de= bugger support for now > - make it a drop-in replacement for couchjs > - bundle the code in src/couchjs-node > - add a new query server language =E2=80=9Cnodejs=E2=80=9D that people c= an use > - include sandbox.js from https://github.com/KlausTrainer/sandbox.js (no= t hooked up yet) > The query server is not installed by default and users can install them i= n two ways: > 1. from source: > $ cd src/couchjs-node > $ npm link > 2. from NPM: > $ npm install couchjs # add @1.x.x for once the module mirrors CouchD= B version numbers for forward compat) > And then they can uncomment and update the [query_server] line in local.i= ni. > * * * > Open work items on the view server: > - make it work with CLI tests > - fix remaining test cases in web test runner > - hook up sandbox.js from https://github.com/KlausTrainer/sandbox.js -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira