From: Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
To: sup-devel <sup-devel@rubyforge.org>
Subject: Re: [sup-devel] Gmail source sync back.
Date: Thu, 04 Jul 2013 22:38:30 +0200 [thread overview]
Message-ID: <1372966209-sup-7024@kpad> (raw)
In-Reply-To: <CAHWBo_bRwKArh7nLQ8EMWdWvBV_kRGT=NqDU=Z69pTY+fNpMUQ@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1396 bytes --]
Hello,
Excerpts from Horacio Sanson's message of 2013-07-03 11:44:49 +0200:
> I finally got the sync back feature of the Gmail source working.
Awesome, thank you! I've been using your gmail source branch with
success for a while now. There are still a few quirks with the Inbox
tag, but overall I'm really pleased with it. Will try your branch.
> Issues to solve:
>
> [...]
>
> - Sync back iterates over all messages in the Gmail account checking for
> differences between message labels. This can take a long time and may not
> finish before the next polling starts. How to do this efficiently?
Ah, that sounds bad. Reading the always-helpful Stack Overflow [0] says
that there is nothing for this, unfortunately. There is a IMAP RFC
extension, 4551, that is supposed to help such situations, but it is not
implemented by Gmail, although there is a beta-test for this, if you're
interested :
http://mailman2.u.washington.edu/pipermail/imap-protocol/2013-January/001962.html
Another way could be to use the search extension specific to gmail [1].
I don't think you would gain much more than bandwidth, though.
[0] http://stackoverflow.com/questions/10076690/ruby-imap-changes-since-last-check
[1] https://developers.google.com/gmail/imap_extensions#extension_of_the_search_command_x-gm-raw
>
> regards,
> Horacio Sanson
--
Matthieu Rakotojaona
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
next prev parent reply other threads:[~2013-07-04 20:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-03 9:44 Horacio Sanson
2013-07-04 20:38 ` Matthieu Rakotojaona [this message]
2013-07-29 19:37 ` Gaute Hope
2013-07-29 19:48 ` Gaute Hope
2013-07-29 20:01 ` Gaute Hope
2013-08-22 12:35 ` Gaute Hope
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=1372966209-sup-7024@kpad \
--to=matthieu.rakotojaona@gmail.com \
--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