问题
I have a plone instance containing several plone sites. Whenever I upgrade plone (ex. from 4.2.1 to 4.2.3) there are some addons which need to be updated as well. My own local products need to be updated from time to time as well.
I usually go into the zmi quickinstaller folder reinstall them one by one. However having 18 plone sites in this particular plone instance means that now I have to update the addons for every site manually.
Is there a product or script which would automate the update of products/addons?
回答1:
The addon ftw.upgrade provides a view (@@manage-upgrades) which lists all addon-upgrades for this plone site (in an order based on dependencies) and you can upgrade all addons for one plone site with a single click. Scripting APIs and upgrading of multiple sites are in development. Upgrading the plone version is not supported, that's the job of the plone migration tool.
The addon collective.upgrade does a similar job and has already scripting support and I think it can also upgrade plone sites, not just addons.
来源:https://stackoverflow.com/questions/14244443/updating-plone-addons-on-several-sites-at-once