changeset 5906:a4b348fbce86

add dummy migration script, update data/meta to 1.9.6
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 15 Dec 2012 01:51:04 +0100
parents 9c7968c832a4
children d761efdd70bd
files MoinMoin/script/migration/1090500.py MoinMoin/script/migration/1090600.py wiki/data/meta
diffstat 3 files changed, 18 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/migration/1090500.py	Sat Dec 15 01:41:27 2012 +0100
+++ b/MoinMoin/script/migration/1090500.py	Sat Dec 15 01:51:04 2012 +0100
@@ -1,13 +1,13 @@
 # -*- coding: iso-8859-1 -*-
 """
-    MoinMoin - dummy migration terminator script
+    MoinMoin - migration from base rev 1090500
 
-    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 1090600
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/script/migration/1090600.py	Sat Dec 15 01:51:04 2012 +0100
@@ -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	Sat Dec 15 01:41:27 2012 +0100
+++ b/wiki/data/meta	Sat Dec 15 01:51:04 2012 +0100
@@ -1,1 +1,1 @@
-data_format_revision: 1090500
+data_format_revision: 1090600