Skip to main content

An add-on for Plone

Project description

https://github.com/collective/redturtle.rsync/actions/workflows/plone-package.yml/badge.svg Coveralls https://codecov.io/gh/collective/redturtle.rsync/branch/master/graph/badge.svg Latest Version Egg Status https://img.shields.io/pypi/pyversions/redturtle.rsync.svg?style=plastic:alt:Supported-PythonVersions License

redturtle.rsync

This package provides sync features to massive upload contents in a Plone site.

It generates a script in bin/redturtle_rsync that accept the following parameters:

  • –dry-run: Dry-run mode (default is False)

  • –verbose: Verbose mode (default is False)

  • –logpath LOGPATH: Log destination path (relative to Plone site)

  • –send-to-email SEND_TO_EMAIL: Email address to send the log to

  • –source-path SOURCE_PATH: Local data source path (complementary to source-url)

  • –source-url SOURCE_URL: Remote data source URL (complementary to source-path)

  • –intermediate-commit: Do a commit every x items

Example:

./bin/instance -OPlone run bin/redturtle_rsync --logpath /Plone/it/test-sync/log-sync --source-path /opt/some-data

Features

This package provides a general tool to sync data and upload them in a Plone site.

You need to create an add-on to manage your specific data structure and content types that creates an adapter for IRedturtleRsyncAdapter.

It is also possible to add additional script options.

Installation

Install redturtle.rsync by adding it to your buildout:

[buildout]

...

eggs =
    redturtle.rsync

and then running bin/buildout

Authors

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site

Contribute

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.0.8 (2026-06-15)

  • fix: remove wrong logger redefinition in adapter.py. [cekk]

1.0.7 (2026-01-20)

  • Log exceptions. [cekk]

1.0.6 (2026-01-14)

  • Fix mail send coding. [cekk]

  • Add customizable last step (end_actions). [cekk]

1.0.5 (2026-01-07)

  • Add translations. [cekk]

1.0.4 (2025-12-17)

  • Add intermediate commit option. [cekk]

1.0.3 (2025-11-24)

  • Do not reindex updated objects if not necessary. [cekk]

1.0.2 (2025-11-20)

  • Fix return value. [cekk]

1.0.1 (2025-10-15)

  • Fix log when there is no data to sync (from WARNING to INFO). [cekk]

1.0.0 (2025-09-23)

  • Initial release. [cekk]

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

redturtle_rsync-1.0.8.tar.gz (29.1 kB view details)

Uploaded Source

Built Distribution

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

redturtle_rsync-1.0.8-py3-none-any.whl (31.2 kB view details)

Uploaded Python 3

File details

Details for the file redturtle_rsync-1.0.8.tar.gz.

File metadata

  • Download URL: redturtle_rsync-1.0.8.tar.gz
  • Upload date:
  • Size: 29.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for redturtle_rsync-1.0.8.tar.gz
Algorithm Hash digest
SHA256 d996ffa4b17cde491cedbd1c49e0b88265173611a9f48083de231fb5682d586f
MD5 df859928b2fda20236ab4821ccb5af0c
BLAKE2b-256 8baa8f80de632dba32a2fe82eb507a539ab924f9041ff9f57c20f263be3d6da1

See more details on using hashes here.

File details

Details for the file redturtle_rsync-1.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for redturtle_rsync-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 304c62808f61fc78248ae17314cd7e25a54a96e5353d4a171861934dae5d0c16
MD5 a2f0eb4a03361078160e697d69fb5be9
BLAKE2b-256 5234bf2da495d215c43cd1c21cb05bc05722c45b8cc01b36f7ae2081cd52857f

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