# HG changeset patch # User Sylvain Thénault # Date 1274869905 -7200 # Node ID 25bf54dab82b6896ed9a7dcfeb36ac7e7da27d71 # Parent 377c9adfe81ea90f31e307ad25bb111545319ca8 [migration] force 3.8.3 migration, and fix it (same_as not necessarily there, missing group change for max-post-length) diff -r 377c9adfe81e -r 25bf54dab82b __pkginfo__.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" diff -r 377c9adfe81e -r 25bf54dab82b misc/migration/3.8.3_Any.py --- 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) diff -r 377c9adfe81e -r 25bf54dab82b misc/migration/3.8.3_common.py --- 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')