Re: [ZODB-Dev] 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 <>___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] 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@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] Cleaning up a ZODB storage from 'versions'
On Wed, Sep 30, 2009 at 2:08 AM, Andreas Jung 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@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev