From: Scott Henson <scott@foolishpride.org>
To: sup-devel <sup-devel@rubyforge.org>
Subject: Re: [sup-devel] Maildir souce id rework
Date: Mon, 8 Mar 2010 00:41:28 -0500 [thread overview]
Message-ID: <6c0c31751003072141mc3f0d00sfcf9cb5be18b6adc@mail.gmail.com> (raw)
In-Reply-To: <6c0c31751003072119i4c330800s6b508157544165e6@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1424 bytes --]
On Mon, Mar 8, 2010 at 12:19 AM, Scott Henson <sjh@foolishpride.org> wrote:
> I've created a branch that changes the id that the maildir source returns,
> which is then used as the source_info field inside the index. It seems to
> work well for me and I'd appreciate some more testing. This work should
> make the maildir source more robust and more friendly to other clients
> accessing the source without completely throwing sup for a loop. It will
> also help sync back for maildir (more on this in a second email).
>
> A couple notes. First, the base source.rb class says that the id returned
> needs to be an integer, but that doesn't seem to be the case. Also, you'll
> note that start_offset and end_offset are not really telling the truth in my
> version of the maildir source. This doesn't seem to be a problem as nothing
> seems to be using those two functions. Second, this source might be
> slightly slower in some places than the original source and faster in
> others. I think most of the work is done in scan_mailbox and the rest of
> the source should be pretty light. If anyone has any ideas on how to make
> scan_mailbox lighter, I'd be very interested. Also, reset might take a
> while since it has to sort the ids array.
>
> Any help in making this better would be much appreciated. Thanks.
>
>
Probably need to provide a link.
http://github.com/shenson/sup/tree/maildir
--
Scott Henson
[-- Attachment #1.2: Type: text/html, Size: 1855 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
parent reply other threads:[~2010-03-08 5:50 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <6c0c31751003072119i4c330800s6b508157544165e6@mail.gmail.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6c0c31751003072141mc3f0d00sfcf9cb5be18b6adc@mail.gmail.com \
--to=scott@foolishpride.org \
--cc=sup-devel@rubyforge.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox