Skip to main content

Package for controlled ZCatalog object updating

Project description

quintagroup.catalogupdater package is intended for extending ZCatalog API with possiblity to update selected columns only. This package registers ‘catalog_updater’ utility for that.

To simplify usage of the utility, quintagroup.catalogupdater extends GenericSetup’s ZCatalog XMLAdapter handler, which allows to update attribute usage in column tag of catalog.xml file.

So, when you add a new column to the catalog, you add catalog.xml file in some profile with following part:

...
<column value="new_column" />
...

This adds new_column metadata to the portal_catalog, BUT, this metadata will be empty untill you rebuild the catalog. To automate this step you can add ‘update=”True”’ attribute to the tag. And this will lead to column update after adding. Thus, result usage should look like this:

...
<column value="new_column" update="True" />
...

It also supports subtransactions, based on threshold property of ZCatalog.

Installation

See docs/INSTALL.txt file within product package for instructions.

Requirements

  • Plone 3.x

Author

  • Andriy Mylenkyi

Copyright (c) “Quintagroup”: http://quintagroup.com, 2004 - 2010

Changelog

0.1 - Mar 11, 2010

Initial release:

  • Registered ‘catalog_updater’ utility for list of columns updating [mylan]

  • Extended ZCatalogXMLAdapter for update property support in column tag [mylan]

  • Tests added [mylan]

  • Documentation files prepared for initial public release [olha]

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

quintagroup.catalogupdater-0.1.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

quintagroup.catalogupdater-0.1-py2.4.egg (20.9 kB view details)

Uploaded Source

File details

Details for the file quintagroup.catalogupdater-0.1.tar.gz.

File metadata

File hashes

Hashes for quintagroup.catalogupdater-0.1.tar.gz
Algorithm Hash digest
SHA256 e8f021108a5fe7559ba07f48e89213a46b3411c3c2b9bf15c0571e1932455114
MD5 a8532dcd8b4141211367dd7ac155b476
BLAKE2b-256 b4572efeb7891b07d0be4138ab41e2584fd651ff535e479627f67bfd2f516032

See more details on using hashes here.

File details

Details for the file quintagroup.catalogupdater-0.1-py2.4.egg.

File metadata

File hashes

Hashes for quintagroup.catalogupdater-0.1-py2.4.egg
Algorithm Hash digest
SHA256 543e001934121944b1f8744cfc88dfb1651900476328da6db10ff204c079d31a
MD5 a7a488b16c8f4cc19bfdedb6d94a529c
BLAKE2b-256 9e915c0ecaefe6d2cae7dd11ef6aab3218362ef3c9954d9655980b90c9395106

See more details on using hashes here.

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