Hi all. We've been working out whether or not the final release of Zope 2.0 should try to support the older .bbb database format as well as the new ZODB3 format. There are a number of technical, backward-compatibility, documentation and support problems associated with trying to support the old format, so I am leaning toward deciding that the 2.0 final release will only use ZODB3 format, and that: a) users with current dbs can run a simple command line tool to create a converted ZODB3 file from your existing Data.bbb or b) we could possibly provide some kind of startup logic in Zope2.0 that would automagically convert your existing .bbb file to a ZODB3 .fs file, if all it was able to find is an old-format file at startup. Before making a final decision though, I wanted to throw this out to the community for comment, to make sure that there are not problems with this approach that we haven't considered... Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com
On 8 Jul 99, at 14:41, Brian Lloyd wrote:
a) users with current dbs can run a simple command line tool to create a converted ZODB3 file from your existing Data.bbb
I think this is a good idea.
b) we could possibly provide some kind of startup logic in Zope2.0 that would automagically convert your existing .bbb file to a ZODB3 .fs file, if all it was able to find is an old-format file at startup.
I think this is a bad idea. Too many issues with quota problems, etc. Just start up, and die with a very clear message. That would be my suggestion. After all, how many times will you upgrade? Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com ICQ: 14856937
Brian, My one comment about switching to ZODB3 format is that Zope should be able to recognize and intelligently respond to the user who has the old .bbb format. The response can be a simple: Hey Genius! Get with the program and convert your database ... Regards, Jeff Bauer Rubicon, Inc.
Before making a final decision though, I wanted to throw this out to the community for comment, to make sure that there are not problems with this approach that we haven't considered...
Jeff Bauer wrote:
Brian,
My one comment about switching to ZODB3 format is that Zope should be able to recognize and intelligently respond to the user who has the old .bbb format. The response can be a simple: Hey Genius! Get with the program and convert your database ...
Yes, exactly. eg: The Zope database you are using is from an older version of Zope. Please use the "convert-to-zodb3" program in your zope directory to upgrade your database, like this: convert-to-zodb3 /opt/zope/var/data.bbb Martin
Brian Lloyd wrote:
...so I am leaning toward deciding... a) users with current dbs can run a simple command line tool to create a converted ZODB3 file from your existing Data.bbb
I also like option (a) because:
b) we could possibly provide some kind of startup logic in Zope2.0 that would automagically convert your
In the long run, option (b) would become unnecessary "legacy" code that could _remotely_ harbor a "bug". KISS! -bob o'connor bob@rocnet.com
Hi all.
We've been working out whether or not the final release of Zope 2.0 should try to support the older .bbb database format as well as the new ZODB3 format. There are a number of technical, backward-compatibility, documentation and support problems associated with trying to support the old format, so I am leaning toward deciding that the 2.0 final release will only use ZODB3 format, and that:
a) users with current dbs can run a simple command line tool to create a converted ZODB3 file from your existing Data.bbb
Definitely this option. One thing that may be very important is if people have corrupted databases (they may not realise that they do have a corrupt .bbb file). I'd suggest making sure the translation routine was pretty easy going about this (obviously, it's unlikely the translator will be able to fix the .bbb file, but it would be better if the translator did not just die if it came across some corruption). tone.
On Thu, 8 Jul 1999 14:41:34 -0400, Brian Lloyd <Brian@digicool.com> said: Brian> a) users with current dbs can run a simple command Brian> line tool to create a converted ZODB3 file from Brian> your existing Data.bbb It would also be nice to have a tool to convert the older format .bbe export files. Alex Rice | alrice@swcp.com | http://www.swcp.com/~alrice Current Location: N. Rio Grande Bioregion, Southwestern USA
participants (7)
-
Alex Rice -
Brad Clements -
Brian Lloyd -
Jeff Bauer -
Martin Dougiamas -
Robert OConnor -
Tony.McDonald@newcastle.ac.uk