Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 80933 invoked from network); 27 Dec 2008 04:30:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Dec 2008 04:30:07 -0000 Received: (qmail 25491 invoked by uid 500); 27 Dec 2008 04:30:06 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 25449 invoked by uid 500); 27 Dec 2008 04:30:06 -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 25438 invoked by uid 99); 27 Dec 2008 04:30:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Dec 2008 20:30:06 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of antony.blakey@gmail.com designates 209.85.198.237 as permitted sender) Received: from [209.85.198.237] (HELO rv-out-0506.google.com) (209.85.198.237) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Dec 2008 04:29:58 +0000 Received: by rv-out-0506.google.com with SMTP id g37so3837126rvb.35 for ; Fri, 26 Dec 2008 20:29:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=hI5M8kALNUDMTsL5fJpXxAihHzAB1nFI2uNiFiktPlU=; b=qra+i71eqnci01nguqn7WxJ/RutLAWSB3WnOJblvpJNW1mT8YpTBbaheKmAlZUWW75 IgbgMM8fP16HR7V/4ZntIQXPnreG0Ovj6R7JndRs3866qXatOUrsr4FkGnejSIUvZcNi h0ogqTl8wItD0xpajOWFEQpiwwpKeyF2oN7oc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=uX1ItwQSQ8wQFj+wuS3OttJjC+wTe+HslCyhlkEBqe/XBHxikzbehIi5nZIQo8k+Cd BhaxvtEtVl3AbEGZ1qwNp81Og3dn3s6lCuHwfNdavlnoSAj3aqz9YWPf43L3F08tgwa3 olqcRuiGjqCd4Xqiz/wbKpbrWMwKOejjqgZUY= Received: by 10.140.161.11 with SMTP id j11mr5560954rve.247.1230352178375; Fri, 26 Dec 2008 20:29:38 -0800 (PST) Received: from ?192.168.0.19? (ppp121-45-96-203.lns10.adl6.internode.on.net [121.45.96.203]) by mx.google.com with ESMTPS id g31sm39238225rvb.4.2008.12.26.20.29.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 26 Dec 2008 20:29:37 -0800 (PST) Message-Id: <6D8AAD89-A161-40D9-ABF6-276875DCDA56@gmail.com> From: Antony Blakey To: dev@couchdb.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: slash escaping (was 0.9.0 Release) Date: Sat, 27 Dec 2008 14:59:33 +1030 References: <0EC6A3E0-15BA-4BBB-A0A3-9ED9D04E3C40@apache.org> <20081211210414.GH26734@tumbolia.org> X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org On 27/12/2008, at 2:41 PM, Chris Anderson wrote: > This does nothing to address the restrictions on the character set of > database and design doc names. Antony's patch looks like it works as > advertised. If people are happy with the way it reorganizes couchdb > data files, then I don't see a reason not to apply it (especially with > the addition of a slug). It was built before the changes to the view server, so it doesn't apply cleanly to head. If the change is approved in principle, then I'm happy to do the work to make it slug-based i.e. + , where filtering removes all the special characters, prefixes and sequences, and doesn't append an md5 if the filtered and raw names are the same. I'm ambivalent about the fact that it nests the derived data (e.g. views) within the database directory. I think there's a valid argument against that, based on the physical separation of the canonical data and the derived data, but as I say, I'm ambivalent. I'll change it, if you want, to use two directories per database, one for canonical data and one for derived data. Antony Blakey ------------- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 The difference between ordinary and extraordinary is that little extra.