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.org/project/collective.jsonmigrator/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/collective.jsonmigrator)](https://pypi.org/project/collective.jsonmigrator/) [![PyPI - Wheel](https://img.shields.io/pypi/wheel/collective.jsonmigrator)](https://pypi.org/project/collective.jsonmigrator/) [![PyPI - License](https://img.shields.io/pypi/l/collective.jsonmigrator)](https://pypi.org/project/collective.jsonmigrator/) [![PyPI - Status](https://img.shields.io/pypi/status/collective.jsonmigrator)](https://pypi.org/project/collective.jsonmigrator/)

[![PyPI - Plone Versions](https://img.shields.io/pypi/frameworkversions/plone/collective.jsonmigrator)](https://pypi.org/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.org/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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file collective.jsonmigrator-3.0.0.tar.gz.

File metadata

  • Download URL: collective.jsonmigrator-3.0.0.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.0

File hashes

Hashes for collective.jsonmigrator-3.0.0.tar.gz
Algorithm Hash digest
SHA256 99a3a489a65265b04833439d9350863ff0881280200a9d6bf4c3a378ac8f5739
MD5 93e4f1b14c8f377888c70b3005eecec5
BLAKE2b-256 cba80201f898b5d1ef99f1b29c1f9ac242c9b4dcc4c281245b633616f6df9ad4

See more details on using hashes here.

File details

Details for the file collective.jsonmigrator-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for collective.jsonmigrator-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d122ef7fb6307afbd859f8431e10bd132df260e7b15c7ec584370810dd5b007a
MD5 a65d5bc37a5cc8d7fc234032a4a3cce3
BLAKE2b-256 b18f481d4cfc8ca092d9f7e34430a7b0d9892b78d91a7304805f7eb5588746e5

See more details on using hashes here.

Supported by

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