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
Plone 4.0
0.1.1 - Mar 24, 2010
added compatibility for Plone 4
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]
Metadata
Release files for quintagroup.catalogupdater 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quintagroup.catalogupdater-0.1.1.tar.gz | 15.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quintagroup.catalogupdater-0.1.1-py2.4.egg | Legacy Egg format | - | - | Details |
Total release size: 36.5 kB
Release files / quintagroup.catalogupdater-0.1.1.tar.gz
| Download URL | quintagroup.catalogupdater-0.1.1.tar.gz |
|---|---|
| Size | 15.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fdc62c27cd10f9a08b4c77474fa090599947d614c42175cac82aacf4ae716603
|
|
BLAKE2b-256 checksum How to use checksums |
8e31a16ececb2d71b234a9d418db572f30b765b9aecafa4a2919af13aabd8d50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / quintagroup.catalogupdater-0.1.1-py2.4.egg
| Download URL | quintagroup.catalogupdater-0.1.1-py2.4.egg |
|---|---|
| Size | 20.8 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
565d27cd328643b82f20d2fc5ff67cb962f63013ca5508cd2d04a14ad3599118
|
|
BLAKE2b-256 checksum How to use checksums |
164cf80c0a8c6b241aeef87c518e16a2a7d0e200807fa4cfe2a4abf05eb588ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |