Skip to main content

A buildout recipe to update plone sites

Project description

uncsom.recipe.ploneupdater

Upgrade all of your Plone sites quickly!

uncsom.recipe.ploneupdater is a buildout recipe that you can use to update plone sites. It automatizes the following tasks:

  • pack database

  • reinstall products with the quickinstaller or GenericSetup Upgrade Steps

  • run Plone migration (portal_migration.upgrade)

  • clean up invalid GS steps

  • run GS profile

uncsom.recipe.ploneupdater will create an updater tool in the buildout bin directory. This tool can be called with no options to pack, reinstall, Upgrade and clean up GS. It can also be called with the –profile option to run all steps from the given profile in GS.

Detailed Documentation

Supported options

The recipe supports the following option:

admin-user

The name of the zope instance admin. The same as defined in the user option of your zope instance. Defaults to ‘admin’

Example usage

We’ll start by creating a buildout that uses the recipe. Let’s create a freash zope instance:

>>> write(sample_buildout, 'buildout.cfg', """
... [buildout]
... parts =
...     instance
...     update-plone
... index = http://pypi.python.org/simple
... find-links =
...     http://download.zope.org/distribution/
...     http://effbot.org/downloads
... eggs =
...     Plone
...     Pillow
...
... [instance]
... recipe = plone.recipe.zope2instance
... user = admin:admin
... eggs = ${buildout:eggs}
...
... [update-plone]
... recipe = collective.recipe.updateplone
... admin-user = admin
... """)

Contributors

  • Ian Anderson (Author)

Change history

0.1 (2013-11-07)

  • Initial Import

1.2 (2013-11-16)

  • Detect instance name

  • Detect zeo or standalone instance

  • Start and stop zeo

  • Stop instance if started

1.2.1 (2013-11-16)

  • Correct options in README

1.3 (2013-11-26)

  • Added ability to run GS profile from the command line

Download

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uncsom.recipe.ploneupdater-1.3.3.zip (25.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page