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 8AD05968A for ; Tue, 6 Mar 2012 15:01:00 +0000 (UTC) Received: (qmail 29996 invoked by uid 500); 6 Mar 2012 15:01:00 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 29887 invoked by uid 500); 6 Mar 2012 15:01:00 -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 29876 invoked by uid 99); 6 Mar 2012 15:00:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 15:00:59 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [207.126.144.113] (HELO eu1sys200aog102.obsmtp.com) (207.126.144.113) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 15:00:53 +0000 Received: from proxy02.detica.com ([193.36.230.103]) (using TLSv1) by eu1sys200aob102.postini.com ([207.126.147.11]) with SMTP ID DSNKT1YmkC7f6UNtNFRvaER9fbnQD2iyIgiz@postini.com; Tue, 06 Mar 2012 15:00:33 UTC Received: from blackex05.detica.com ([10.1.1.10]) by proxy02.detica.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 6 Mar 2012 14:58:28 +0000 Received: from uksrpblkexb02.detica.com ([10.1.1.39]) by blackex05.detica.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 6 Mar 2012 14:58:30 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CCFBA9.97C0BB57" Subject: -- Revision ID Calculation -- and -- Request for edit permissions on wiki -- Date: Tue, 6 Mar 2012 14:58:27 -0000 Message-ID: <5293620AC1A91649BDD85E5380BC837A79A74A@uksrpblkexb02.detica.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: -- Revision ID Calculation -- and -- Request for edit permissions on wiki -- Thread-Index: Acz7qZYaY42Jt+nTR3eU9FQb26Q+Ww== From: "Davies, Owain" To: X-OriginalArrivalTime: 06 Mar 2012 14:58:30.0728 (UTC) FILETIME=[98218480:01CCFBA9] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CCFBA9.97C0BB57 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I have just joined this list. I am using CouchDB to do an offline web app. I am having to re-implement some of the logic for conflict detection, win determination and replication. I have implemented a dojo.store that represents that CouchDB API, and am working on the offline versions using IndexDB and WebSQL as the persistence provider. First off, please could somebody let me have edit permissions to the wiki. I am finding lots of undocumented features, or features documented in one place but not another. A prime example is = _changes?style=3Dall_docs which has taken me some time to discover. Of course, one I knew what it was called I found it documented in the couchdb guide. Anyhow, I digress, if I get edit permissions I will endeavour to record my changes. Second, can somebody please tell me how the revision id for documents with attachments are calculated. I have produced a JavaScript module that consistently calculates the revision of documents without attachments. I had to reverse engineer erlangs term_to_binary function, which is actually quite tricky. But I do not know erlang and I do not understand how the Atts2 term is calculated. Any help? Kind regards, Owain Please consider the environment before printing this email. = This message should be regarded as confidential. If you have received thi= s email in error please notify the sender and destroy it immediately. = Statements of intent shall only become binding when confirmed in hard cop= y by an authorised signatory. = = The contents of this email may relate to dealings with other companies un= der the control of BAE Systems plc details of which can be found at http:= //www.baesystems.com/Businesses/index.htm. = Detica Limited is a BAE Systems company trading as BAE Systems Detica. Detica Limited is registered in England and Wales under No: 1337451. Registered office: Surrey Research Park, Guildford, Surrey, GU2 7YP, Engl= and. =0D ------_=_NextPart_001_01CCFBA9.97C0BB57--