changeset 5879:5053b61545de

add dummy migration script, update data/meta file to 1.9.5
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 16 Sep 2012 01:07:23 +0200
parents 27a8a7f4febc
children 902728c92a6a
files MoinMoin/script/migration/1090400.py MoinMoin/script/migration/1090500.py wiki/data/meta
diffstat 3 files changed, 18 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/migration/1090400.py	Sun Sep 16 01:04:13 2012 +0200
+++ b/MoinMoin/script/migration/1090400.py	Sun Sep 16 01:07:23 2012 +0200
@@ -1,13 +1,13 @@
 # -*- coding: iso-8859-1 -*-
 """
-    MoinMoin - dummy migration terminator script
+    MoinMoin - migration from base rev 1090400
 
-    This must be the last migration script.
+    Nothing to do, we just return the new data dir revision.
 
-    @copyright: 2008 by Thomas Waldmann
+    @copyright: 2012 by Thomas Waldmann
     @license: GNU GPL, see COPYING for details.
 """
 
 def execute(script, data_dir, rev):
-    return None
+    return 1090500
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/script/migration/1090500.py	Sun Sep 16 01:07:23 2012 +0200
@@ -0,0 +1,13 @@
+# -*- coding: iso-8859-1 -*-
+"""
+    MoinMoin - dummy migration terminator script
+
+    This must be the last migration script.
+
+    @copyright: 2008 by Thomas Waldmann
+    @license: GNU GPL, see COPYING for details.
+"""
+
+def execute(script, data_dir, rev):
+    return None
+
--- a/wiki/data/meta	Sun Sep 16 01:04:13 2012 +0200
+++ b/wiki/data/meta	Sun Sep 16 01:07:23 2012 +0200
@@ -1,1 +1,1 @@
-data_format_revision: 1090400
+data_format_revision: 1090500