[Zope] - Patch and some other questions
Andy Dustman
adustman@comstar.net
Fri, 11 Dec 1998 20:53:20 -0500 (EST)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---187888452-1112344515-913427600=:7876
Content-Type: TEXT/PLAIN; charset=US-ASCII
I created a unified diff patch for ZopeHTTPServer which incorporates the
improved exception handling. It is diffed against 1.9.0b2. You'll need to
go into the ZopeHTTPServer directory to apply it.
The other thing is: Upgrading. It looks like from the install program that
if you do install over the old installation that it won't nuke your
Data.bbb, which is good, but raises some other questions:
1) Generally, can you merge or otherwise transfer data from Data.bbb to
another? I suspect the answer is going to be something like "loop over
the keys".
2) How do you safely back up the database wrt things like locking and
transactions? I also suspect a similar answer to #1...
I'm not a previous Bobo user, as you can probably tell...
--
Andy Dustman You should always say "spam" and "eggs"
ComStar Communications Corp. instead of "foo" and "bar"
(706) 549-7689 | PGP KeyID=0xC72F3F1D in Python examples. (Mark Lutz)
---187888452-1112344515-913427600=:7876
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="zope.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.3.96.981211205320.7876L@kenny.comstar.net>
Content-Description:
LS0tIFpvcGVIVFRQU2VydmVyLnB5Lm9yaWcJRnJpIERlYyAxMSAxNjoxNDoy
OSAxOTk4DQorKysgWm9wZUhUVFBTZXJ2ZXIucHkJRnJpIERlYyAxMSAyMDoz
NTozNSAxOTk4DQpAQCAtMzQ5LDI0ICszNDksMjEgQEANCiANCiAgICAgZGVm
IGhhbmRsZV9yZXF1ZXN0KHNlbGYpOg0KICAgICAgICAgIiIiSGFuZGxlIG9u
ZSByZXF1ZXN0LCBwb3NzaWJseSBibG9ja2luZy4iIiINCi0gICAgICAgIHJl
cXVlc3QsIGNsaWVudF9hZGRyZXNzID0gc2VsZi5nZXRfcmVxdWVzdCgpDQot
ICAgICAgICBpZiBzZWxmLnZlcmlmeV9yZXF1ZXN0KH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6DQogICAgICJBIHRocmVhZGluZyBIVFRQU2VydmVyIHdpdGggc29tZSBz
b2NrZXQgdHdlYWtzIg0KICAgICANCi0gICAgZGVmIHNlcnZlcl9iaW5kKHNl
bGYpOg0KLSAgICAgICAgc2VsZi5zb2NrZXQuc2V0c29ja29wdChzb2NrZXQu
U09MX1NPQ0tFVCxzb2NrZXQuU09fUkVVU0VBRERSLDEpDQotICAgICAgICBy
ZXR1cm4gQmFzZUhUVFBTZXJ2ZXIuSFRUUFNlcnZlci5zZXJ2ZXJfYmluZChz
ZWxmKQ0KLQ0KIA0KIGRlZiB0cnlfdG9fYmVjb21lX25vYm9keSgpOg0KICAg
ICAjIGZyb20gQ0dJSFRUUFNlcnZlcg0K
---187888452-1112344515-913427600=:7876--