changeset 4866:0437b25ee607

Groups2009: Docstring update for script.maint.cleancache and script.maint.makecache.
author Dmitrijs Milajevs <dimazest@gmail.com>
date Sun, 19 Jul 2009 12:40:25 +0200
parents 25a5452d3510
children e3773a70a520
files MoinMoin/script/maint/cleancache.py MoinMoin/script/maint/makecache.py
diffstat 2 files changed, 6 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/maint/cleancache.py	Sat Jul 18 19:31:06 2009 +0200
+++ b/MoinMoin/script/maint/cleancache.py	Sun Jul 19 12:40:25 2009 +0200
@@ -19,13 +19,10 @@
 and /data/cache directories
 
 You will usually do this after changing MoinMoin code, by either upgrading
-version, installing or removing macros or changing the regex expression for dicts.
-This often makes the text_html and dict files invalid, so you have to remove them
-(the wiki will recreate them automatically).
+version, installing or removing macros or changing the regex expression for dicts or groups.
+This often makes the text_html file invalid, so you have to remove it (the wiki will recreate it automatically).
 
-text_html is the name of the cache file used for compiled pages formatted
-by the wiki text to html formatter, A dict file does cache the pages which
-do fit to the page_group_regex variable.
+text_html is the name of the cache file used for compiled pages formatted by the wiki text to html formatter.
 
 Detailed Instructions:
 ======================
@@ -60,6 +57,7 @@
         for arena, key in arena_key_list:
             caching.CacheEntry(request, arena, key, scope='wiki').remove()
 
+        # clean dict and groups related cache
         arena_scope_list =  [('pagedicts', 'wiki'),
                              ('pagegroups', 'wiki'),
         ]
--- a/MoinMoin/script/maint/makecache.py	Sat Jul 18 19:31:06 2009 +0200
+++ b/MoinMoin/script/maint/makecache.py	Sun Jul 19 12:40:25 2009 +0200
@@ -19,11 +19,10 @@
 and /data/cache directories
 
 You will usually do this after changing MoinMoin code and calling "maint cleancache", by either upgrading
-version, installing or removing macros or changing the regex expression for dicts.
+version, installing or removing macros.
 
 text_html is the name of the cache file used for compiled pages formatted
-by the wiki text to html formatter, A dict file does cache the pages which
-do fit to the page_group_regex variable.
+by the wiki text to html formatter.
 
 Detailed Instructions:
 ======================