Skip to main content

Tool for you to migrate from old Plone sites

Project description

<h1 align=”center”>collective.jsonmigrator</h1>

<div align=”center”>

[![PyPI](https://img.shields.io/pypi/v/collective.jsonmigrator)](https://pypi-hypernode.com/project/collective.jsonmigrator/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/collective.jsonmigrator)](https://pypi-hypernode.com/project/collective.jsonmigrator/) [![PyPI - Wheel](https://img.shields.io/pypi/wheel/collective.jsonmigrator)](https://pypi-hypernode.com/project/collective.jsonmigrator/) [![PyPI - License](https://img.shields.io/pypi/l/collective.jsonmigrator)](https://pypi-hypernode.com/project/collective.jsonmigrator/) [![PyPI - Status](https://img.shields.io/pypi/status/collective.jsonmigrator)](https://pypi-hypernode.com/project/collective.jsonmigrator/)

[![PyPI - Plone Versions](https://img.shields.io/pypi/frameworkversions/plone/collective.jsonmigrator)](https://pypi-hypernode.com/project/collective.jsonmigrator/)

[![Code analysis checks](https://github.com/collective/collective.jsonmigrator/actions/workflows/code-analysis.yml/badge.svg)](https://github.com/collective/collective.jsonmigrator/actions/workflows/code-analysis.yml) [![Tests](https://github.com/collective/collective.jsonmigrator/actions/workflows/tests.yml/badge.svg)](https://github.com/collective/collective.jsonmigrator/actions/workflows/tests.yml) ![Code Style](https://img.shields.io/badge/Code%20Style-Black-000000)

[![GitHub contributors](https://img.shields.io/github/contributors/collective/collective.jsonmigrator)](https://github.com/collective/collective.jsonmigrator) [![GitHub Repo stars](https://img.shields.io/github/stars/collective/collective.jsonmigrator?style=social)](https://github.com/collective/collective.jsonmigrator)

</div>

## Introduction

JSON based migrations for Plone

collective.jsonmigrator is a ready tool for you to migrate from old Plone sites (2.0, 2.1, 2.5) to new Plone 4.0 (or higher). Its based extensivly [collective.transmogrifier](https://pypi-hypernode.com/project/collective.transmogrifier/) and custom blueprints avaliable.

Real beauty of it lays in ability to easily customize it and extend to support all your custom content types that you are using.

Note that collective.jsonmigrator was previously named [collective.blueprint.jsonmigrator](https://github.com/collective/collective.jsonmigrator/commit/747af7d0be1bf16f12822ef4841f40f5bb23a6b6).

## Developing this package

Create the virtual enviroment and install all dependencies:

`shell make build `

Start Plone in foreground:

`shell make start `

### Running tests

`shell make tests `

### Formatting the codebase

`shell make format `

### Linting the codebase

`shell make lint `

## License

The project is licensed under the GPLv2.

## Contributors

## Changelog

3.0.0 (2022-08-18)

  • Implement plone/code-analysis-action @ericof

  • Add support to Plone 6.0 @ericof

  • Drop support to Plone versions 4.3, 5.0 and 5.1 @ericof

  • Drop support to Python 2.7 @ericof

### 2.0.0 (2021-09-22)

  • Add blueprint to import translations from plone.app.multilingual. @wesleybl

  • Don’t encode property value in Python 3. @wesleybl

  • Allows use of blueprint collective.jsonmigrator.owner in dexterity objects. @wesleybl

  • Don’t encode path in Python 3. @wesleybl

  • Explicitly depends on six. @wesleybl

  • Don’t use simplejson. @wesleybl

  • Add support to Plone 5.1 and Plone 5.2. @wesleybl

  • No longer depend on zope.app.container.notifyContainerModified. Use from zope.container.contained import notifyContainerModified instead. @mathias.leimgruber

  • Python 3 compatibility @ksuess

### 1.0.1 (2018-06-11)

  • if certain properties (default page, others?) are unicode they cause site failures. @sunew

### 1.0 (2017-12-22)

  • Set default value of config field for jsonmigrator-run view. @bsuttor

  • Fix workflow_history to also work with dexterity @erral, @djowett

### 0.4 (2016-05-24)

  • Do not require simplejson if we already have the native json module. @ale-rt

### 0.3 (2015-10-25)

  • Move pipeline configurations into own directory pipelines. @thet

  • Restructure blueprints to be in blueprints directory and integrate orphaned blueprints from collective.blueprint.jsonmigrator. @thet

  • PEP 8. @thet, @mauritsvanrees

  • Log json decode error instead of crashing @marciomazza

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

collective.jsonmigrator-3.0.0.tar.gz (36.0 kB view hashes)

Uploaded Source

Built Distribution

collective.jsonmigrator-3.0.0-py3-none-any.whl (36.7 kB view hashes)

Uploaded Python 3

Supported by

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