Skip to main content

Migration helper tool

Project description

This package propose some infrastructure and helper methods to manage migrations (upgrade steps)

Contributors

Changelog

1.11 (2019-05-16)

  • Added parameter workflowsToUpdate=[] to refreshDatabase method so when parameter workflows=True, we may define which workflows to update. If nothing defined, every workflows are updated. [gbastien]

  • Moved methods that disable/restore enable_link_integrity_checks to imio.helpers.content. [gbastien]

  • Make portal_workflow available using self.wfTool. [gbastien]

1.10 (2019-03-28)

  • Added a ZLogHandler when updating catalog so some logging showing progression is shown in the Zope log. [gbastien]

  • Set a value in the REQUEST imio_migrator_currently_migrating during migration so it can be used by other code to know that we are in a migration process. [gbastien]

  • Define self.catalog and self.registry on base Migrator class so it is available for subclasses. [gbastien]

  • Added method Migrator.removeUnusedPortalTypes that will remove portal_types passed as parameter from tools portal_types and portal_factory. [gbastien]

  • Requires imio.helpers. [gbastien]

  • Added parameter disable_linkintegrity_checks=False to Migrator.__init__ so it is easier to disable linkintegrity checks during a migration. Supposed to work with Plone4 and Plone5… [gbastien]

  • Added install method [sgeulette]

1.9 (2019-01-17)

  • Improved and simplified upgradeProfile method [sgeulette]

1.8 (2018-10-18)

  • Make REQUEST available thru self.request. [gbastien]

  • Added methods removeUnusedColumns and removeUnusedIndexes to easily remove columns or indexes from portal_catalog. [gbastien]

  • Possibility to run specific upgrade steps [sgeulette]

1.7 (2018-06-26)

  • Improved reinstall method. [sgeulette]

  • Improved upgrade step to set directly rigth version. [sgeulette]

1.6 (2016-12-07)

  • Added method warn that manages warning messages, it will display the warning like before in the Zope log but will also store it so every warnings are displayed togheter at the end of the migration. [gbastien]

  • Method reinstall may now receive paremeters ignore_dependencies and dependency_strategy to use it when calling portal_setup.runAllImportStepsFromProfile. This is only useable with Products.GenericSetup >= 1.8.0 (Plone >= 4.3.8). [gbastien]

1.5 (2015-11-24)

  • Added method to run given steps of a profile. [sgeulette]

1.4 (2015-01-15)

  • Display the catalog we are currently recataloging as several can be recataloged, like in version 1.1 but this was lost somehow… [gbastien]

  • After an upgrade step has been executed, set manually new installed profile version or despite upgrade step has been executed, it is still considered not [gbastien]

1.3 (2014-10-24)

  • Added methods to run upgrade steps for a given profile or all installed profiles (with pqi update). [sgeulette]

1.2 (2014-08-18)

  • Added method to clean registries (portal_javascripts, portal_css and portal_setup)

1.1 (2014-01-30)

  • Display the catalog we are currently recataloging as several can be recataloged

  • Prepare release on pypi.imio.be

1.0 (2013-08-20)

  • Manage base migrator, reinstall profiles, refresh catalogs/workflow security, log start/end timestamp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imio.migrator-1.11.tar.gz (17.6 kB view details)

Uploaded Source

File details

Details for the file imio.migrator-1.11.tar.gz.

File metadata

  • Download URL: imio.migrator-1.11.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.13

File hashes

Hashes for imio.migrator-1.11.tar.gz
Algorithm Hash digest
SHA256 88ffc492473dbc45288556b68bcd7298fb6c32b428c01b4a3d24014f4ac3da5b
MD5 661f1895476144bfbd57fb37d1b3551a
BLAKE2b-256 572fe966ad486f824f2208430e15e22644fa7e7d1d76ab0cf8a198dc9fd3b01d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page