Skip to main content

What is iw.updatezope ?

This package is used to upgrade a version with a new buildout.

>>> clean_buildout()
>>> ls(buildout)
bin

How to use iw.updatezope ?

Given a tarball you have previously prepared with iw.releaser, you can use iw.updatezope to practice a safe upgrade:

>>> from iw.updatezope.update_zope import main
>>> main(my_tarball, buildout)
Starting deployement
Copying the tarball to the distant server
Stopping Zope
Making a backup
Deploying...
Relaunching

>>> ls(buildout)
DEPLOYED.txt
bin

You can even do it through ssh, as long as your user has the rights, and the proper environement:

>>> clean_buildout()
>>> main(my_tarball, buildout, '127.0.0.1')
Starting deployement
Copying the tarball to the distant server
Stopping Zope
Making a backup
Deploying...
Relaunching

Be careful to have a ssh-key properly configured, otherwise you will have tons of password prompts here !

Release history Release notifications | RSS feed

This release

0.1.0 This release

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page