I pair-programmed on CacheFu today with Maciek Dziergwa. See yesterday's entry for a list of things we could work on.
Today's cachfu sprinting started out with fixing the failing unittests. In the first hour, we fixed two templates in CMFSquidTool and fixed one failing unittests: a test that failed if you didn't have an apache running on port 80 on your local machine. That's not very unittest-like, but ok. We now catch the error that occurs and the rest of the tests are running ok.
We added a few if/else statements to CacheSetup that conditionally import code for either plone 3.0 or 2.5, this makes sure the product is usable for both. The change was needed because plone3.0/zope2.10 uses a different page template implementation.
We ran into some remaining test problems:
genericsetup.xmlseem to disappear from the cache configuration, somehow. strange. Only in plone 3.0, though.
Genericsetup support was added by Rocky (and it works like a charm),
it only missed the last configuration tab. Nice, bite-sized task. We
discovered it was missing the data from the last configuration tab
because that data comes from a separate tool (the pagecachemanager)
in the plone root, not from AT contenttypes like the rest of the
cachefu setup machinery. We didn't get it working yet, basically
because there was a missing
configure.zcml that prevented the
testing mechanism from finding the exportimport adapters. Now I'm
getting another error. We'll figure it out.
During the day, I got a couple of very handy comments from people that I'm writing down here to preserve them.
lovely.viewcache, that caches z3 views so you can strike that from your todo list. Zope3 views, no cachefu evilness.
My name is Reinout van Rees and I work a lot with Python (programming language) and Django (website framework). I live in The Netherlands and I'm happily married to Annie van Rees-Kooiman.
Most of my website content is in my weblog. You can keep up to date by subscribing to the automatic feeds (for instance with Google reader):
And, I don't see how twisted would change the object publisher?