Skip to main content

Adapter tool with helpers for upgrade often used at ecreall

Project description

Introduction

A set of helpful helpers for upgrade steps.

IUpgradeTool adapts a plone site, a site setup tool or a directory import context, and provides method to make common upgrade configuration and data upgrades.

Read the interfaces.py file for more information. Contributors ============

Changelog

1.4 (2018-01-04)

  • migrateContents method catch KeyError when get object [thomasdesvenain]

1.3 (2018-01-04)

  • disable_plaintext_indexing and reenable_plaintext_indexing methods [ebrehault]
  • use _unrestrictedGetObject to get object from brain [ebrehault]

1.2 (2014-01-13)

  • updateIndexes works with ZCTextIndex, index is created with plone lexicon / Okapi BM25 Rank. [thomasdesvenain]
  • Fix removal of index at updateIndexes. [thomasdesvenain]
  • Upgrade step destination can be an integer. [thomasdesvenain]
  • We can provide an interface as portal_types value for updated content selection. [thomasdesvenain]

1.1.5 (2013-10-23)

  • Use ProgressHandler in migrateContent. [vincentfretin]
  • IUpgradeTool can also adapt portal and directory import context. [thomasdesvenain]

1.1.4 (2013-09-25)

  • updateIndexes remove old index if it doesn’t have the good type. [thomasdesvenain]
  • Added a method to add metadata in catalog. [thomasdesvenain]

1.1.3 (2013-08-27)

  • Fixed updateObjectRoleMappings to use all workflows of the chain, not only the first one. [vincentfretin]

1.1.2 (2013-07-18)

  • refreshResources method works if kss is not installed. [thomasdesvenain]

1.1.1 (2012-12-10)

  • Fixed interface documentation. [thomasdesvenain]
  • Better error handling when profile passed as runUpgradeStep method parameter doesn’t exist. [thomasdesvenain]

1.1 (2012-10-05)

  • monkey patch EtagSupport.http__refreshEtag during content migrations to not modify objects. [vincentfretin]
  • Added a parameter to stop migration after n contents migrated. [thomasdesvenain]

1.0.1 (2012-09-03)

  • Fixed run profile.

1.0 (2012-08-24)

  • Package created using templer []

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
ecreall.helpers.upgrade-1.4.tar.gz (13.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page