[migration] force 3.8.3 migration, and fix it (same_as not necessarily there, missing group change for max-post-length) stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 26 May 2010 12:31:45 +0200
branchstable
changeset 5589 25bf54dab82b
parent 5588 377c9adfe81e
child 5590 a56eb02f9ce7
child 5592 41ad8ca3047e
[migration] force 3.8.3 migration, and fix it (same_as not necessarily there, missing group change for max-post-length)
__pkginfo__.py
misc/migration/3.8.3_Any.py
misc/migration/3.8.3_common.py
--- a/__pkginfo__.py	Wed May 26 12:31:43 2010 +0200
+++ b/__pkginfo__.py	Wed May 26 12:31:45 2010 +0200
@@ -22,7 +22,7 @@
 
 modname = distname = "cubicweb"
 
-numversion = (3, 8, 2)
+numversion = (3, 8, 3)
 version = '.'.join(str(num) for num in numversion)
 
 description = "a repository of entities / relations for knowledge management"
--- a/misc/migration/3.8.3_Any.py	Wed May 26 12:31:43 2010 +0200
+++ b/misc/migration/3.8.3_Any.py	Wed May 26 12:31:45 2010 +0200
@@ -1,2 +1,3 @@
-sync_schema_props_perms('same_as', syncperms=False)
+if 'same_as' in schema:
+    sync_schema_props_perms('same_as', syncperms=False)
 sync_schema_props_perms('Bookmark', syncperms=False)
--- a/misc/migration/3.8.3_common.py	Wed May 26 12:31:43 2010 +0200
+++ b/misc/migration/3.8.3_common.py	Wed May 26 12:31:45 2010 +0200
@@ -1,3 +1,4 @@
 option_group_changed('port', 'main', 'web')
 option_group_changed('query-log-file', 'main', 'web')
 option_group_changed('profile', 'main', 'web')
+option_group_changed('max-post-length', 'main', 'web')