docker-offlineimap/offlineimap
Jonny Lamb 2e22b41231 Bug#502779: Sync accounts in order of general.accounts option
On Tue, Apr 21, 11:19:00 -0500, John Goerzen wrote:
> I think the one loss of functionality we have here is that it doesn't
> check if a given account has already been listed before adding to the
> list.  Should be a simple tweak.  If you could tweak that and test, I'd
> apply a new patch.

Good catch. I attach an updated patch which I've tested and it appears
to work fine, including not syncing two accounts twice.

Thanks,

--
Jonny Lamb, UK
jonny@debian.org

From 7f348ee116bba64f7330e28d4e7b2c015910a890 Mon Sep 17 00:00:00 2001
From: Jonny Lamb <jonny@debian.org>
Date: Tue, 05 May 2009 20:45:17 +0100
Subject: [PATCH] Respect order of general.accounts config setting.

This makes the order of account synchronisation the same as the order of
the general.accounts setting by using a list instead of a dict, which
was actually pointless as the value of each dict item was never even
looked at.

Signed-off-by: Jonny Lamb <jonny@debian.org>
2009-05-05 15:16:25 -05:00
..
folder Implementation of IMAP IDLE 2009-02-10 11:27:48 +11:00
repository Allow keepalive to be overridden by user if imapfolders is set 2009-02-10 15:57:03 +11:00
ui Patch for signal handling to start a sync by Jim Pryor 2008-12-01 16:13:16 -06:00
__init__.py Step 2 of SVN to arch tree conversion 2005-04-16 20:33:35 +01:00
accounts.py Fix missing import for pre/postsynchook 2009-01-14 00:05:00 -06:00
CustomConfig.py Update FSF address 2006-08-12 05:15:55 +01:00
imaplib2.py Implementation of IMAP IDLE 2009-02-10 11:27:48 +11:00
imaplibutil.py Implementation of IMAP IDLE 2009-02-10 11:27:48 +11:00
imapserver.py Apply patch to fix autorefresh with Kerberos 2009-04-21 00:03:28 -05:00
imaputil.py Update FSF address 2006-08-12 05:15:55 +01:00
init.py Bug#502779: Sync accounts in order of general.accounts option 2009-05-05 15:16:25 -05:00
localeval.py Update FSF address 2006-08-12 05:15:55 +01:00
mbnames.py Update FSF address 2006-08-12 05:15:55 +01:00
syncmaster.py Implementation of IMAP IDLE 2009-02-10 11:27:48 +11:00
threadutil.py Patch to make exit on Ctrl-C cleaner 2008-12-01 16:10:49 -06:00
version.py Prepping 6.0.3 2008-08-13 00:05:17 -05:00