plone/plone.recipe.zope2instance — pull request #2 by malthe (2011-10-21 09:58:36+00:00)
Title: Add persistent file- and blob support for demo storage and support for before storage

The demo storage implementation has supported a "changes" storage since ZODB 3.9. This can be used to set up a persistent demonstration storage.

Used together with a before storage, one can wrap an otherwise changing database (e.g. ZEO) in a local demo storage that has blob support.

This changeset adds three new options to the recipe:

- before-storage
- demo-file-storage
- demo-blob-storage

All three can be used independently. Note that the last two require "demo-storage" to be enabled in order to take effect.

Documentation (README.txt) has been updated. There are tests for all the new options, plus combinations.