Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 74986 invoked from network); 13 Nov 2008 16:44:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Nov 2008 16:44:16 -0000 Received: (qmail 99694 invoked by uid 500); 13 Nov 2008 16:44:22 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 99663 invoked by uid 500); 13 Nov 2008 16:44:22 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 99652 invoked by uid 99); 13 Nov 2008 16:44:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Nov 2008 08:44:22 -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: local policy) Received: from [80.68.94.123] (HELO tumbolia.org) (80.68.94.123) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Nov 2008 16:43:01 +0000 Received: from nslater by tumbolia.org with local (Exim 4.69) (envelope-from ) id 1L0fIG-00042b-Bp for couchdb-user@incubator.apache.org; Thu, 13 Nov 2008 16:43:44 +0000 Date: Thu, 13 Nov 2008 16:43:44 +0000 From: Noah Slater To: couchdb-user@incubator.apache.org Subject: Re: Document Updates Message-ID: <20081113164344.GB15315@tumbolia.org> Mail-Followup-To: couchdb-user@incubator.apache.org References: <403828.36717.qm@web52508.mail.re2.yahoo.com> <46837.75533.qm@web52503.mail.re2.yahoo.com> <20081113163808.GA15315@tumbolia.org> <27d8d0930811130840t47269d91o9539fae200bcd380@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <27d8d0930811130840t47269d91o9539fae200bcd380@mail.gmail.com> X-Noah: Awesome User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Nov 13, 2008 at 06:40:44PM +0200, Ayende Rahien wrote: > I think that this should be pretty easily done using: > a) well defined pretty format output > b) standard diff > > The reason for (a) is that you need this to get line breaks, which are > critical to diffing correctly. It's a bit more complex than that, canonicalised JSON is still in it's infancy, so we would have to get the community to adopt that first. I know that people have been discussing JSON diffs before, may be worth looking up what's already been done on this. -- Noah Slater, http://tumbolia.org/nslater