Products.Plone2FSS

by Luca Fabbri last modified Feb 16, 2011 02:08 AM

An utility form that help Plone managers to migrate from files and images stored in the Data.fs for FileSystemStorage, or to fix bad FileSystemStorage choosen strategy

Project Description

Plone2FSS add to your Plone site a new Zope3 view (@@plone2fss) that can do useful thing if you use FileSystemStorage product.

The view display two forms that can help you with:

  • Change a wrong storage strategy to a better ones.
    This can be helpful if you keep the default (flat) in a production environment, and too late you think about switch to another.
  • Migrate from files and images stored in the Data.fs (AttributeStorage or AnnotationStorage) to FileSystemStorage (please, backup your ZODB).
    Like above, sometimes you install iw.fss too late and you Data.fs is already of tons on megabytes.
    This feature is large based on an external method script that FileSystemStorage give you.

Installation

This product is installable using the egg on the Cheeseshop.

Just modify your buildout.cfg as below.

# If you want Zope to know about any additional eggs, list them here.
# This should include any development eggs you listed in develop-eggs above,
# e.g. eggs = ${buildout:eggs} ${plone:eggs} my.package
eggs =
    ${plone:eggs}
    ${buildout:eggs}
    ...
    Products.Plone2FSS


...

# If you want to register ZCML slugs for any packages, list them here.
# e.g. zcml = my.package my.other.package
zcml =
    ...
    Products.Plone2FSS

On Plone 2.5 you need to put the Plone2FSS folder in the Products directory.

Note that you need to have FileSystemStorage's storage enabled on basic Plone content types.

What is missing

  • Won't works for not base content type (News Item, File, Image).
  • Strategy migration won't works for Archetype attributes that are not named 'file' and 'image'.
  • Missing migration to flat storage.
  • Missing migration for site2 storage (this is ok until a know bug will be fixed).
  • Missing some more tests.

Current Release

No stable release available yet.

All Releases

Version Released Description Compatibility Status
0.4 Bugfix release for the broken compatibility with Plone 2.5 and minor new features. More about this release…
Plone 3
Plone 2.5
pre-release
0.3.0 First official release More about this release…
Plone 2.5
Plone 3
beta

Comments (0)