[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sup-devel] Gmail source sync back.
- To: Sup developer discussion <sup-devel@rubyforge.org>
- Subject: Re: [sup-devel] Gmail source sync back.
- From: Gaute Hope <eg@gaute.vetsj.com>
- Date: Mon, 29 Jul 2013 21:37:30 +0200
- Cc: Horacio Sanson <hsanson@gmail.com>
- In-reply-to: <CAHWBo_bRwKArh7nLQ8EMWdWvBV_kRGT=NqDU=Z69pTY+fNpMUQ@mail.gmail.com>
- References: <CAHWBo_bRwKArh7nLQ8EMWdWvBV_kRGT=NqDU=Z69pTY+fNpMUQ@mail.gmail.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7
On 03. juli 2013 11:44, Horacio Sanson wrote:
> - How to refresh the index after polling finishes? When new labels are
> synced from Gmail to Sup the index is not updated with the new labels until
> I reload sup or press "@" to refresh the index. Is there a callback to
> refresh the index when the polling finishes?
Check out pull request #2 towards your github repo, yielding the message
on update + some other modifications now updates the message on my setup.
> - 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?
If this turns out not be solvable (e.g. being able to get a list of
changed messages since a given date), an option could be to allow the
user to configure remote-to-local syncing to only be manual.
Local-to-remote you can store locally whether it has been synced or not.
There's also a pull request #1 which allows arbitrary domains to be
entered for the gmail source (for google apps setups).
Regards, Gaute