Hi!

Wichert Akkerman wrote:
Previously yuppie wrote:
GenericSetup trunk has global step registries. I propose to use the new ZCML directive for registering all GenericSetup and CMF import and export steps globally. And to remove the import_steps.xml and export_steps.xml files from the profiles shipped with CMF.

This also requires to add a flag file for the 'various' step.

I already started implementing this. If there are no objections, I'll soon check in my changes.

+1

there is one thing missing at the moment: unregistering the old
profile-registered steps. I'm not sure what the right way to do that is.

listExportSteps() and getSortedImportSteps() now have unit tests and no longer return duplicates. AFAICS we now have a clean override behavior and nothing breaks if the same step is registered locally *and* globally.

But I agree there should be a way to remove obsolete and broken local steps. A method that removes local duplicates of global steps and a method that removes broken steps would be useful. Not sure if they should be run automatically or if there should be a cleanup button in the UI.


Cheers,

        Yuppie


_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to