docker-offlineimap/offlineimap
John Goerzen 89e530ff6e New restoreatime patch from Ben Kibbey
From: Ben Kibbey
Subject: Re: Removed restoratime from OfflineIMAP

On Wed, May 03, 2006 at 10:08:35PM -0500, John Goerzen wrote:
> Hi Ben,
> 
> Thanks for your restoreatime patch.
> 
> However, I have received this bug report:
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=365933
> 
> After looking at the problem, here's what's going on.
> 
> The person is using IMAP as the local repository as well.
> 
> You really need to move the atime save and restore code from accounts.py
> into the repository/Maildir.py.  Then, for any new call you add to the
> Maildir repository (that will be called from outside Maildir.py), you
> need to add a corresponding default function to repository/Base.py, and
> also make sure that on folders (such as IMAP) where atime restoration
> makes no sense, no error is generated.
> 
> Let me know if that doesn't make sense to you.  If you get it fixed, I'd
> be happy to re-apply it to a future version of OfflineIMAP.
> 
> -- John Goerzen
> 

Attached is a new diff that should work though not really tested
(v4.0.14). In repository/Base.py restore_atime() will call
self.restore_folder_atimes() only if the folder type is Maildir. Let me
know if it has any more problems.
2006-09-06 02:33:07 +01:00
..
folder Fix up date parsing to use message date if no rtime is available 2006-08-22 02:13:39 +01:00
repository New restoreatime patch from Ben Kibbey 2006-09-06 02:33:07 +01:00
ui Update FSF address 2006-08-12 05:15:55 +01:00
__init__.py Step 2 of SVN to arch tree conversion 2005-04-16 20:33:35 +01:00
accounts.py New restoreatime patch from Ben Kibbey 2006-09-06 02:33:07 +01:00
CustomConfig.py Update FSF address 2006-08-12 05:15:55 +01:00
imaplib.py Sync INTERNALDATE <-> mtime 2006-08-22 02:09:36 +01:00
imapserver.py Update FSF address 2006-08-12 05:15:55 +01:00
imaputil.py Update FSF address 2006-08-12 05:15:55 +01:00
init.py Update FSF address 2006-08-12 05:15:55 +01: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 Update FSF address 2006-08-12 05:15:55 +01:00
threadutil.py Update FSF address 2006-08-12 05:15:55 +01:00
version.py Update FSF address 2006-08-12 05:15:55 +01:00