[Zope-CMF] Re: Abusing GenericSetup during traditional installs
Tres Seaver
tseaver at palladion.com
Wed Dec 6 09:27:40 EST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ross Patterson wrote:
> I got tired of reindexing large indexes that were cleared
> unintelligently by the index import adapters so I wrote the following
> exportimport.pluginindexes and overrides.zcml. I'm posting them here
> in case anyone wants to use the code.
>
> This doesn't handle reindexing indexes when it's needed but it does
> keep the adapters from needlessly clearing the indexes.
Thanks! I've reworked your changes as a patch against the GenericSetup
trunk, including tests of both cases (clear / don't clear). (Patch
attached).
Can anybody offer a reason not to merge this the the trunk? What about
released branches?
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFdtNc+gerLs4ltQ4RAuG6AJ9bsZvahlbKvwISPfAWgroT4k9NCACgyfZm
ypF8qXGohdAxq51YoUw1hHs=
=QQy6
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gs_pluginindex_avoid_spurious_clears.patch
Type: text/x-patch
Size: 9712 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-cmf/attachments/20061206/29cfe271/gs_pluginindex_avoid_spurious_clears.bin
More information about the Zope-CMF
mailing list