* [sup-devel] Maildir work
@ 2010-02-09 20:39 Scott Henson
2010-02-09 21:33 ` Ben Walton
2010-02-10 20:50 ` Mark Alexander
0 siblings, 2 replies; 3+ messages in thread
From: Scott Henson @ 2010-02-09 20:39 UTC (permalink / raw)
To: sup-devel
[-- Attachment #1.1: Type: text/plain, Size: 719 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 778 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [sup-devel] Maildir work
2010-02-09 20:39 [sup-devel] Maildir work Scott Henson
@ 2010-02-09 21:33 ` Ben Walton
2010-02-10 20:50 ` Mark Alexander
1 sibling, 0 replies; 3+ messages in thread
From: Ben Walton @ 2010-02-09 21:33 UTC (permalink / raw)
To: sup-devel
[-- Attachment #1.1: Type: text/plain, Size: 793 bytes --]
Excerpts from Scott Henson's message of Tue Feb 09 15:39:54 -0500 2010:
Hi Scott,
> 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.
This was noted some time back, but nothing has been done to correct
it. William had some thoughts on it, but I don't know if he put hand
to keyboard on it...
I can't help you with the rest of your question as I'm not familiar
with that code at all.
Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [sup-devel] Maildir work
2010-02-09 20:39 [sup-devel] Maildir work Scott Henson
2010-02-09 21:33 ` Ben Walton
@ 2010-02-10 20:50 ` Mark Alexander
1 sibling, 0 replies; 3+ messages in thread
From: Mark Alexander @ 2010-02-10 20:50 UTC (permalink / raw)
To: Sup developer discussion
On Tue, Feb 9, 2010 at 3:39 PM, Scott Henson <scott@foolishpride.org> wrote:
>The maildir source can easily lose messages because there is nothing guaranteeing that
> the source_id is monotonically increasing.
I reported this on Apr 16 2009:
http://old.nabble.com/Possible-problem-with-maildir-ID-generation-ts23087464.html
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-02-10 20:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-09 20:39 [sup-devel] Maildir work Scott Henson
2010-02-09 21:33 ` Ben Walton
2010-02-10 20:50 ` Mark Alexander
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox