Previously yuppie wrote:
> 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.
> >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.
Great, thanks for doing that.
> 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.
I would prefer manually: otherwise we risk breaking things if someone
tries a newer version of a product and then downgrades and suddenly
looses the step registrations. I will see if I can make a ZMI page for
that over the next week.
Wichert Akkerman <[EMAIL PROTECTED]> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
Zope-CMF maillist - Zope-CMF@lists.zope.org
See http://collector.zope.org/CMF for bug reports and feature requests