Package cubicweb :: Package common :: Module migration
[hide private]
[frames] | no frames]

Module migration

utilities for instances migration

Organization: Logilab

Copyright: 2001-2010 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.

Contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr

License: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses

Classes [hide private]
  MigrationHelper
class holding CubicWeb Migration Actions used by migration scripts
Functions [hide private]
 
execscript_confirm(scriptpath)
asks for confirmation before executing a script and provides the ability to show the script's content
 
filter_scripts(config, directory, fromversion, toversion, quiet=True)
return a list of paths of migration files to consider to upgrade from a version to a greater one
 
yes(*args, **kwargs)
Variables [hide private]
  ASK = <logilab.common.shellutils.RawInput object at 0x322c690>
  IGNORED_EXTENSIONS = ('.swp', '~')
  REQUIRED = []