|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Cleaning up a ZODB storage from 'versions'Hi there,
we are in the situation that we are running Zope 2.11 with heavily patched ZODB 3.8 with this extension: https://blueprints.launchpad.net/zodb/+spec/dm-pack-optimization While packing a storage we figured out that this extension is not compatible with the ZODB "versions" feature - means: we can not pack a particular storage. Is there a way for cleaning up a storage and removing the related versions in some way? Andreas -- ZOPYX Ltd. & Co KG \ ZOPYX & Friends Charlottenstr. 37/1 \ The experts for your Python, Zope and D-72070 Tübingen \ Plone projects www.zopyx.com, info@... \ www.zopyx.de/friends, friends@... ------------------------------------------------------------------------ E-Publishing, Python, Zope & Plone development, Consulting [lists.vcf] begin:vcard fn:Andreas Jung n:Jung;Andreas org:ZOPYX Ltd. & Co. KG adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany email;internet:info@... title:CEO tel;work:+49-7071-793376 tel;fax:+49-7071-7936840 tel;home:+49-7071-793257 x-mozilla-html:FALSE url:www.zopyx.com version:2.1 end:vcard _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@... https://mail.zope.org/mailman/listinfo/zodb-dev |
|
|
Re: Cleaning up a ZODB storage from 'versions'On Wed, Sep 30, 2009 at 2:08 AM, Andreas Jung <lists@...> wrote:
> Hi there, > > we are in the situation that we are running Zope 2.11 with heavily > patched ZODB 3.8 with this extension: > > https://blueprints.launchpad.net/zodb/+spec/dm-pack-optimization > > While packing a storage we figured out that this extension is > not compatible with the ZODB "versions" feature - means: we can > not pack a particular storage. > > Is there a way for cleaning up a storage and removing the related > versions in some way? Yes. Use the ZODB 3.8 strip_versions script. Jim -- Jim Fulton _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@... https://mail.zope.org/mailman/listinfo/zodb-dev |
|
|
Re: Cleaning up a ZODB storage from 'versions'Jim Fulton wrote:
>> Is there a way for cleaning up a storage and removing the related >> versions in some way? > > Yes. Use the ZODB 3.8 strip_versions script. I used this buildout to get this script available in isolation: [buildout] parts = fixer versions = versions [versions] ZODB3 = 3.8.3b1 [fixer] recipe = zc.recipe.egg eggs = ZODB3 ...it doesn't need an instance home or any such, as it just copies a source .fs file (which can be in use) to a new .fs fiel but minus the versions. cheers, Chris PS: Andreas, I could have taken your usual approach and just shouted at you to use Google since Jim already helped me through this about a month ago ;-) -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@... https://mail.zope.org/mailman/listinfo/zodb-dev |
|
|
Re: Cleaning up a ZODB storage from 'versions'Am 30.09.09 15:03, schrieb Chris Withers:
> > PS: Andreas, I could have taken your usual approach and just shouted > at you to use Google since Jim already helped me through this about a > month ago ;-) The usual approach is: looking at the sources..but this script does not seem to be part of the standard Zope2 distro :-) -aj [lists.vcf] begin:vcard fn:Andreas Jung n:Jung;Andreas org:ZOPYX Ltd. & Co. KG adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany email;internet:info@... title:CEO tel;work:+49-7071-793376 tel;fax:+49-7071-7936840 tel;home:+49-7071-793257 x-mozilla-html:FALSE url:www.zopyx.com version:2.1 end:vcard _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@... https://mail.zope.org/mailman/listinfo/zodb-dev |
| Free embeddable forum powered by Nabble | Forum Help |