Re: Python-3-Migration of existing Data.fs

Michael Howitz <[email protected]> Tue, 27 Mar 2018 07:34:10 +0200
Newsgroups gmane.comp.web.zope.zodb
Message-ID <[email protected]>
Am 26.03.2018 um 07:59 schrieb Michael Howitz <[email protected]>:
[…]
>> For automated fixups, I think it would be better to work at the pickle level.  I'm thinking of a tool that converts individual pickles. (This might be useful for analysis as well.)
> […]
>> I'll make a basic version of this that others can build on.
> 
> Cool! I am looking forward to try it out once our application code is migrated.

Maybe there is already such a tool: Sylvain Viollon "Added an option to convert a database to Python 3.“ [1]
I think it works on the pickle level.
He already used it "to migrate our Zope application to Python 3, keeping our database. We updated zodbupdate to do the conversion of our databases from Python 2 to Python 3, with success.“ [2]

[1] https://github.com/zopefoundation/zodbupdate/blob/master/CHANGES.rst#10-2018-02-13
[2] https://github.com/zopefoundation/zodbupdate/pull/1


Mit freundlichen Grüßen
--
Michael Howitz · [email protected] · Software-Entwickler
gocept gmbh & co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany
http://gocept.com · Tel +49 345 1229889-8
Python, Pyramid, Plone, Zope · Beratung und Entwicklung

-- 
You received this message because you are subscribed to the Google Groups "zodb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEl24bSwpzRS/maVFMmbpiN7bvZKYFAlq519IACgkQmbpiN7bv
ZKZctgf8CVPkazfvjrBShnPLTxQvndmPh0Acka2c2tiVHuk5R1A04rjj6dQtz2kc
+kg40H0c7zHZwaQaHxj0BnHHNCGZiR+o4S+Q1FAhf0AwXb51e0osAwA846CjRw1V
295jRGi2Q7Bf/ZYfxQEhmdhzDF6hCsw6aOjh4DKR8lG6Vupu78KxWYuTP5Px3QPX
yvtXS7LxeI1lLA0kYu7FWXuQMagqbJl6ZPQi+2PwurJAPUCki0e/8dRrNUncQatR
bFf6pdyhP7WCVjolb1jYI6MySaajFxwvpJCWrECiRrkyU09HQHzZ7bNcACV9iDew
/UnQ6GxtJNJK/Ut+6UXtuVFrrWDKfg==
=y3U2
-----END PGP SIGNATURE-----