Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F7A56C7C for ; Tue, 7 Jun 2011 21:56:07 +0000 (UTC) Received: (qmail 5853 invoked by uid 500); 7 Jun 2011 21:56:05 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 5817 invoked by uid 500); 7 Jun 2011 21:56:05 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 5809 invoked by uid 99); 7 Jun 2011 21:56:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jun 2011 21:56:05 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.212.52 as permitted sender) Received: from [209.85.212.52] (HELO mail-vw0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jun 2011 21:55:59 +0000 Received: by vws16 with SMTP id 16so5888193vws.11 for ; Tue, 07 Jun 2011 14:55:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=QFHcZfQ+jOJTUm61E7KLdY8OJ4hNajkxsEjtRugIhRE=; b=hN432B/PSF/TuSWHJyshuXsN/d8Cj2xo3kP5fE+fCU+1ge5GPAUtDxqb31UOKCfPVL l0JPFhcxO304ExTaXaenlkFktXgadZEG5Zwnb5sJB+mGKu9hHj/9XM87oO61jaMOZWMQ jHJih1MSpR/fwe+4a4B/3WlmD4j9hKNmq8Rh0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=icm1f+40RgeJlivVCvtcvRo2x/WQeezFIryyYRXL/HYdC43DKVQ5rU3w6GWxfzMxTH Jx/TZR/1+Jb3wQkCYYB1ORVuF2mlm3j0cju3F3MlPo8YHivze0BY7jw8WDw2LZKrDmbJ 1VFUGUkh+xosHvIia2ri2QMi4+FPOSZSYvu3s= Received: by 10.52.76.38 with SMTP id h6mr405184vdw.304.1307483738163; Tue, 07 Jun 2011 14:55:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.159.165 with HTTP; Tue, 7 Jun 2011 14:54:58 -0700 (PDT) In-Reply-To: References: <5AC5B7FC-F36B-454F-9AFB-DEB84EA28C65@twothirty.am> <4DED3116.9030001@gmail.com> From: Paul Davis Date: Tue, 7 Jun 2011 17:54:58 -0400 Message-ID: Subject: Re: workaround for url rewrite formatting To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Also, the commit message from the backport: > COUCHDB-1074 - fix variable substitution in rewriter > > - key=3D ":key", startkey=3D[":a", ":b"] > - variable substitution via query arguments > - variable substituin via reversed path matching variables > > The variable substition is now a lot easier than the old one. Variables > are decoded from the query if they are json, and we recode them only at > the end. > > (Patch by Beno=EEt Chesneau) I can't speak to anything other than that in terms of usage. The commit to the 1.1.x branch was r1128189 if anyone wants to update the docs at [1]. [1] http://wiki.apache.org/couchdb/Rewriting_urls On Tue, Jun 7, 2011 at 5:51 PM, Paul Davis wr= ote: > The URL referenced earlier [1] is from CouchBase and is not at all the > official release notes for Apache CouchDB. You'll want to contact them > directly if they have an error or if perhaps they have downstream > patches relating to the rewriter. > > [1] http://docs.couchbase.org/couchdb-release-1.1/index.html > > On Tue, Jun 7, 2011 at 4:21 PM, Caolan McMahon = wrote: >>> like I said I didn't write that :) You can do that in couchapp-ng thoug= h. >> >> Damn, looks like I wasted my time then. There should be an >> announcement and an update to the release notes so others don't do the >> same. >> >> Caolan >> >