Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Dev

ZODB moved class upgrade script Was: zope.testrunner import location notifications

 

 

Zope dev RSS feed   Index | Next | Previous | View Threaded


ct at gocept

Jun 8, 2009, 12:49 AM

Post #1 of 2 (354 views)
Permalink
ZODB moved class upgrade script Was: zope.testrunner import location notifications

Hi,

On Tue, 2009-05-26 at 12:42 +0200, Martijn Faassen wrote:
> Hi there,
>
> (in particular Christian Theune)
>
> What's the status of the 'import location' notification functionality in
> zope.testrunner?
>
> What's the status of the ZODB migration code?

Done. I just released the package `zodbupgrade` on PyPI providing a tool
and some documentation how to apply it to your databases

I got the idea of also providing a way to describe renames/moves
(possibly using entry points for hooking up the declaration) and that
can manipulate databases when the code is gone already so we can migrate
in one go instead of using intermediate releases.

Christian

--
Christian Theune · ct[at]gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development
Attachments: signature.asc (0.19 KB)


ct at gocept

Jun 23, 2009, 7:19 AM

Post #2 of 2 (229 views)
Permalink
Re: ZODB moved class upgrade script Was: zope.testrunner import location notifications [In reply to]

Hi,

On Mon, 2009-06-08 at 09:49 +0200, Christian Theune wrote:
> Hi,
>
> On Tue, 2009-05-26 at 12:42 +0200, Martijn Faassen wrote:
> > Hi there,
> >
> > (in particular Christian Theune)
> >
> > What's the status of the 'import location' notification functionality in
> > zope.testrunner?
> >
> > What's the status of the ZODB migration code?
>
> Done. I just released the package `zodbupgrade` on PyPI providing a tool
> and some documentation how to apply it to your databases
>
> I got the idea of also providing a way to describe renames/moves
> (possibly using entry points for hooking up the declaration) and that
> can manipulate databases when the code is gone already so we can migrate
> in one go instead of using intermediate releases.

I've released the second version of this tool which I consider stable.
It is now called ``zodbupdate``.

The major shift is that it allows to provide a pre-defined set of
class-renaming rules and can rewrite pickles in ZODBs without having the
actual code activated in the Python interpreter. It does this by dis-
and re-assembling the pickles.

I consider the ZODB migration code project to be finished with this.

@Martijn: Did we have a place somewhere in the documentation that needs
to be updated to reference this?

Cheers,
Christian
--
Christian Theune · ct[at]gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development
Attachments: signature.asc (0.19 KB)

Zope dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.