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 ============
Thomas Desvenain thomas.desvenain@gmail.com
Vincent Fretin
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 []
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ecreall.helpers.upgrade-1.4.tar.gz.
File metadata
- Download URL: ecreall.helpers.upgrade-1.4.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43df839685edeba4cd83a1e3faa12481ef803a183d7eff7a558177b7f0a8a220
|
|
| MD5 |
6d1b41f646de6a712eec98815d344b89
|
|
| BLAKE2b-256 |
505cf847b867fd488037b76ad80775ec6f8f617b34e1858b4a5c625b7af68713
|