Archive of RubyForge sup-devel mailing list
 help / color / mirror / Atom feed
From: William Morgan <wmorgan-sup@masanjin.net>
To: sup-devel <sup-devel@rubyforge.org>
Subject: Re: [sup-devel] heliotrope-syncback
Date: Mon, 07 Nov 2011 06:57:19 +0000	[thread overview]
Message-ID: <1320648596-sup-2551@masanjin.net> (raw)
In-Reply-To: <CAMiZLn1tes53sJAdjzDmv+ntUvNNafPCChtOR9Uq7cnKaeOoQA@mail.gmail.com>

Hi Matthieu,

Reformatted excerpts from Matthieu Rakotojaona's message of 2011-11-02:
> I am playing around with heliotrope, and I've managed to writo a ruby
> script to sync changes you made there in your IMAP mailbox.

Cool!

> When you
> send a mail with GMail, it is automatically added in GMail "Sent"
> mail, so I thought heliotrope could automagically thread it, but I
> haven't tested yet.

That should work.

> The changes in thu imap folder happen like this :
> - search for a thread with the "subject" we are interested in

This is problematic. Message subjects are definitely not unique. You
should match up the Message-Id fields instead, if that's at all possible
with IMAP.

If it's not possible, well, IMAP does have a notion of a per-message
ids, but it's fraught with difficulties...

> I don't know about how the threading happens in heliotrope, but I hope
> both are the same

They will mostly be the same, but it's not guaranteed and you will see
some differences.

> - I've heard the ruby IMAP lib is buggy; what is it exactly ?

In my experience, I haven't found any large bugs, just hard-to-debug
issues in the error-handling, and general slowness (though that is
probably attributable to the IMAP protocol itself).

Keep up the good work!
-- 
William <wmorgan-sup@masanjin.net>
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel


  reply	other threads:[~2011-11-07  6:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-02 23:55 Matthieu Rakotojaona
2011-11-07  6:57 ` William Morgan [this message]
2011-11-07 18:56   ` Michael Stapelberg
2011-11-09  3:22     ` Matthieu Rakotojaona
2011-11-09 23:18       ` William Morgan
2011-11-11  1:25         ` [sup-talk] " Matthieu Rakotojaona
2011-11-17  1:33           ` Matthieu Rakotojaona

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=1320648596-sup-2551@masanjin.net \
    --to=wmorgan-sup@masanjin.net \
    --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