Archive of RubyForge sup-devel mailing list
 help / color / mirror / Atom feed
From: Gaute Hope <eg@gaute.vetsj.com>
To: Sup developer discussion <sup-devel@rubyforge.org>
Cc: Horacio Sanson <hsanson@gmail.com>
Subject: Re: [sup-devel] Gmail source sync back.
Date: Mon, 29 Jul 2013 21:37:30 +0200	[thread overview]
Message-ID: <51F6C47A.3010004@gaute.vetsj.com> (raw)
In-Reply-To: <CAHWBo_bRwKArh7nLQ8EMWdWvBV_kRGT=NqDU=Z69pTY+fNpMUQ@mail.gmail.com>

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


  parent reply	other threads:[~2013-07-29 19:38 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
2013-07-29 19:37 ` Gaute Hope [this message]
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=51F6C47A.3010004@gaute.vetsj.com \
    --to=eg@gaute.vetsj.com \
    --cc=hsanson@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