diff docs/CHANGES @ 4109:e88baf535b48

fix backup action configuration (broke on windows due to backslashes in e.g. cache_dir), try 2. cfg.backup_exclude is now just a function of filename, telling whether the file should be excluded. By default, no file is excluded.
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 19 Sep 2008 21:41:40 +0200
parents 1cd493d5e113
children 399c5a055ca0
line wrap: on
line diff
--- a/docs/CHANGES	Thu Sep 18 22:19:44 2008 +0200
+++ b/docs/CHANGES	Fri Sep 19 21:41:40 2008 +0200
@@ -102,11 +102,15 @@
     * user_autocreate setting was removed from wiki configuration and replaced
       by a autocreate=<boolean> parameter of the auth objects that support user
       profile auto creation.
-    * backup action: backup_exclude does not do %(placeholder)s expansion any
-      more, because of unfixable problems with regex special characters in
-      pathes (e.g. backslashes in windows pathes). The %(cache_dir)s placeholder
-      was removed because of this.
+    * backup action: backup_exclude (default: "do not exclude anything") is now
+      a function f(filename) that tells whether a file should be excluded from
+      backup.
+      You can get the old regex exclusion functionality by using:
+      backup_exclude = re.compile(your_regex).search
+      Be careful with your regex, you might need to use re.escape() to escape
+      characters that have a special meaning in regexes (e.g.: \.[] etc.).
+      If in doubt, maybe just leave backup_exclude at the default and don't
+      exclude anything.
 Version 1.7.2: