[Zope-CMF] <genericsetup:upgradeDepends>
Wichert Akkerman
wichert at wiggy.net
Wed Oct 8 11:05:47 EDT 2008
Previously Wichert Akkerman wrote:
> Previously Rob Miller wrote:
> > hi all,
> >
> > i've got a GenericSetup branch called 'ra-depends-tag' with a working
> > implementation of a <genericsetup:upgradeDepends> ZCML tag. this tag can
> > be used anywhere that you could use a <genericsetup:upgradeStep> tag (i.e.
> > either standalone, or nested within a <genericsetup:upgradeSteps>). in
> > fact, upgradeDepends is simply a special case of upgradeStep that allows
> > you to specify a set of profile import steps to be re-applied to the site,
> > rather than calling a generic python handler.
> >
> > here's an example of how it looks:
> >
> > <genericsetup:upgradeDepends
> > profile="Products.Something:default"
> > source="1.0"
> > destination="1.1"
> > sortkey="10"
> > title="Re-run 'foo' import step"
> > import_steps="foo"
> > purge="True"
> > run_deps="False"
> > />
>
> I would like to see a simple extension: the ability to run one or more
> steps from another profile. This can be very useful when you run
> upgrades for a base profile which load (steps from a) profile from an
> add-on package.
.. and support upgrade-profiles similar to what we have been using for
Plone releases for a while now. Extremely useful stuff.
Wichert.
--
Wichert Akkerman <wichert at wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
More information about the Zope-CMF
mailing list