Skip to main content

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 []

Release files for ecreall.helpers.upgrade 1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ecreall.helpers.upgrade 1.4
File Size Uploaded
ecreall.helpers.upgrade-1.4.tar.gz 13.8 kB Details

Release files / ecreall.helpers.upgrade-1.4.tar.gz

Download URL ecreall.helpers.upgrade-1.4.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
43df839685edeba4cd83a1e3faa12481ef803a183d7eff7a558177b7f0a8a220
BLAKE2b-256 checksum
How to use checksums
505cf847b867fd488037b76ad80775ec6f8f617b34e1858b4a5c625b7af68713
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.4 This release

1 release file

1.3

1 release file

1.2

1 release file

1.1.5

1 release file

1.1.4

1 release file

1.1.3

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.1

1 release file

1.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page