From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.213.28.69 with SMTP id l5cs203702ebc; Tue, 9 Feb 2010 12:56:27 -0800 (PST) Received: by 10.224.76.75 with SMTP id b11mr1803401qak.81.1265748986367; Tue, 09 Feb 2010 12:56:26 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 8si1509949qwj.1.2010.02.09.12.56.24; Tue, 09 Feb 2010 12:56:24 -0800 (PST) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 7300D1588062; Tue, 9 Feb 2010 15:56:24 -0500 (EST) Received: from mail-pz0-f175.google.com (mail-pz0-f175.google.com [209.85.222.175]) by rubyforge.org (Postfix) with ESMTP id 9BA76185828E for ; Tue, 9 Feb 2010 15:39:55 -0500 (EST) Received: by pzk5 with SMTP id 5so8997789pzk.29 for ; Tue, 09 Feb 2010 12:39:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.163.3 with SMTP id l3mr5813614wae.151.1265747994574; Tue, 09 Feb 2010 12:39:54 -0800 (PST) Date: Tue, 9 Feb 2010 15:39:54 -0500 X-Google-Sender-Auth: e59b3fba8da57cbb Message-ID: <6c0c31751002091239g6002c7fl6bfa93908c4d4301@mail.gmail.com> From: Scott Henson To: sup-devel Subject: [sup-devel] Maildir work X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0842931963==" Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org --===============0842931963== Content-Type: multipart/alternative; boundary=00504502f5fd977f1b047f30eb73 --00504502f5fd977f1b047f30eb73 Content-Type: text/plain; charset=ISO-8859-1 I've been working on maildirs cause I wanted to improve how sup works on maildirs. This includes some sync-back support for maildirs. I've had my head inside the maildir source and I've noticed something. The maildir source can easily lose messages because there is nothing guaranteeing that the souce_id is monotonically increasing. So I would like to be able to search the sup index to see what source_ids it knows about and compare that to what is currently in the maildir and create a list of ids that are new or even ones that are deleted (making sup-sync --changed a lot quicker). Is there a way for the source to search the index, or is what I'm thinking not possible within sup? Thanks. -- Scott Henson --00504502f5fd977f1b047f30eb73 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I've been working on maildirs cause I wanted to improve how sup works on maildirs.=A0 This includes some sync-back support for maildirs.=A0 I'= ;ve had my head inside the maildir source and I've noticed something.=A0 Th= e maildir source can easily lose messages because there is nothing guaranteeing that the souce_id is monotonically increasing.

So I would like to be able to search the sup index to see what source_ids it knows about and compare that to what is currently in the maildir and create a list of ids that are new or even ones that are deleted (making sup-sync --changed a lot quicker).=A0 Is there a way for the source to search the index, or is what I'm thinking not possible within sup?=A0 Thanks.

--
Scott Henson
--00504502f5fd977f1b047f30eb73-- --===============0842931963== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel --===============0842931963==--