SF.net SVN: tmda: [2040] trunk/tmda

[email protected] Thu, 28 Sep 2006 13:19:25 -0700
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Revision: 2040
          http://svn.sourceforge.net/tmda/?rev=2040&view=rev
Author:   jasonrm
Date:     2006-09-28 13:19:22 -0700 (Thu, 28 Sep 2006)

Log Message:
-----------
Change default location of PENDING_CACHE from  ~/.tmda/pending/.msgcache
to ~/.tmda/.pendingcache

This is necessary because with alternate queue formats, we can't store this
file in PENDING_DIR.

Modified Paths:
--------------
    trunk/tmda/TMDA/Defaults.py
    trunk/tmda/UPGRADE

Modified: trunk/tmda/TMDA/Defaults.py
===================================================================
--- trunk/tmda/TMDA/Defaults.py	2006-09-28 20:08:23 UTC (rev 2039)
+++ trunk/tmda/TMDA/Defaults.py	2006-09-28 20:19:22 UTC (rev 2040)
@@ -1111,9 +1111,9 @@
 # Path to the cache file used when tmda-pending is invoked with the
 # --cache option.
 #
-# Default is ~/.tmda/pending/.msgcache
+# Default is ~/.tmda/.pendingcache
 if not vars().has_key('PENDING_CACHE'):
-    PENDING_CACHE = os.path.join(PENDING_DIR, '.msgcache')
+    PENDING_CACHE = os.path.join(DATADIR, '.pendingcache')
     
 # PENDING_CACHE_LEN
 # An integer which specifies the maximum number of entries held by

Modified: trunk/tmda/UPGRADE
===================================================================
--- trunk/tmda/UPGRADE	2006-09-28 20:08:23 UTC (rev 2039)
+++ trunk/tmda/UPGRADE	2006-09-28 20:19:22 UTC (rev 2040)
@@ -5,6 +5,18 @@
 
 If you are upgrading from a release of TMDA < 1.1.6:
 
+* The default name and location of the PENDING_CACHE file has changed
+  from:
+
+  ~/.tmda/pending/.msgcache
+
+  to ~/.tmda/.pendingcache
+
+  PENDING_CACHE is used by tmda-pending's '--cache' option, and also
+  by tmda-cgi.  If you've set a custom value for PENDING_CACHE,
+  obviously this change won't affect you, otherwise you will have to
+  move the cache file to it's new location.
+
 * Mail messages in the queue are now referred to by a unique numerical
   identifier, as discussed in TMDA/Queue/Queue.py.  For example,
   "1159383896.4198".  For most users, this change is inconsequential


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.