[Zope3-dev] Add flexibility to zope.formlib.form.EditFormBase

2007-05-04 Thread Michael Howitz
Hi, I'm using zope.formlib.form.EditFormBase and want to normalize data before saving it. Saving is done by the applyChanges function which is called from handle_edit_action. The problem is that handle_edit_action is an action, so I can't easily subclass and do a super call to

Re: [Zope3-dev] Add flexibility to zope.formlib.form.EditFormBase

2007-05-04 Thread Maciej Wisniowski
I'm using zope.formlib.form.EditFormBase and want to normalize data before saving it. Saving is done by the applyChanges function which is called from handle_edit_action. The problem is that handle_edit_action is an action, so I can't easily subclass and do a super call to

Re: [Zope3-dev] tracking satellite project's trunks

2007-05-04 Thread Baiju M
Jim Fulton wrote: On May 3, 2007, at 1:24 PM, Fred Drake wrote: On 5/3/07, Christian Theune [EMAIL PROTECTED] wrote: Right. However, my suspicion would be that whoever makes a change to the trunk on a satellite shouldn't have to go to the Zope 3 trunk. That's true regardless of how

Re: [Zope3-dev] Add flexibility to zope.formlib.form.EditFormBase

2007-05-04 Thread Michael Howitz
Am 04.05.2007 um 10:28 schrieb Maciej Wisniowski: [...] What code you have to copy-paste from formlib when you add your own handle_edit_action? I think it is common to do something like: from zope.formlib import form form.applyChanges(...) The method EditFormBase.handle_edit_action contains

Re: [Zope3-dev] tracking satellite project's trunks

2007-05-04 Thread Jim Fulton
On May 4, 2007, at 6:25 AM, Baiju M wrote: ... We will be using same Zope 3 resources for bug tracking, mailing list and wiki for these satellite project's, is it ? Thanks a very good question. I don't think we need more mailing lists. In fact, I think zope3-dev and zope-dev should be

Re: [Zope3-dev] Add flexibility to zope.formlib.form.EditFormBase

2007-05-04 Thread Maciej Wisniowski
No, my suggestion does not break any existing code because it only adds a new method to EditFormBase which gets called from handle_edit_action instead of the function. This new method then calls the applyChanges function. So you are able to overwrite the new method in a subclass to

Re: [Zope3-dev] tracking satellite project's trunks

2007-05-04 Thread Christian Theune
Am Freitag, den 04.05.2007, 06:51 -0400 schrieb Jim Fulton: On May 4, 2007, at 6:25 AM, Baiju M wrote: ... We will be using same Zope 3 resources for bug tracking, mailing list and wiki for these satellite project's, is it ? Thanks a very good question. I don't think we need more mailing

Re: [Zope3-dev] tracking satellite project's trunks

2007-05-04 Thread David Pratt
Hi Fred. I like this very much too :-) If you want your product to sing, you can include sing packages, if you want it to dance, you can include dance packages. What's more, is that most python projects are moving to egg distribution, if not there already. Besides eggs, wsgi is allowing many

Re: [Zope3-dev] zope.app.twisted.main and zope multiservice

2007-05-04 Thread David Pratt
I am wondering if as part of bootstrapping zope, that a utility could not be set up in the site manager that could hang on the zope multiservice object. Methods available for the utility could allow you access to this after booting zope. Is this reasonable? Many thanks. Regards, David David

Re: [Zope3-dev] tracking satellite project's trunks

2007-05-04 Thread Christian Theune
Right. Am Freitag, den 04.05.2007, 07:55 -0400 schrieb Fred Drake: I think what's happened is something very simple, inevitable, and reasonable: We've stopped working on Zope 3 and moved to working on our applications. This changes how we think about the place of Zope 3 in our work more

[Zope3-dev] buildbot failure in Zope3 trunk 2.4 Linux zc-buildbot

2007-05-04 Thread buildbot
The Buildbot has detected a failed build of Zope3 trunk 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 1318 Blamelist: ctheune BUILD FAILED: failed test sincerely, -The Buildbot ___

[Zope3-dev] buildbot failure in Zope3 trunk 2.4 Linux zc-buildbot

2007-05-04 Thread buildbot
The Buildbot has detected a failed build of Zope3 trunk 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 1328 Blamelist: ctheune BUILD FAILED: failed test sincerely, -The Buildbot ___

Re: [Zope3-dev] Re: tracking satellite project's trunks

2007-05-04 Thread Benji York
Christian Theune wrote: Same here. I'm feeling like I'm not yet understanding what the trunk will be used like. I'm wondering if we need to maintain a Zope 3 project with any code in it at all (or nearly so). Could Zope 3 just be a buildout with a configuration that creates a Zope 3

Re: [Zope3-dev] Re: tracking satellite project's trunks

2007-05-04 Thread Christian Theune
Am Freitag, den 04.05.2007, 12:16 -0400 schrieb Benji York: Christian Theune wrote: Same here. I'm feeling like I'm not yet understanding what the trunk will be used like. I'm wondering if we need to maintain a Zope 3 project with any code in it at all (or nearly so). Could Zope 3 just

[Zope3-dev] Experimental alternative/supplement for buildbot

2007-05-04 Thread Christian Theune
Hi, I've been trying to find a solution to run the individual tests of all top-level projects in the repository. I've set up a cruise control server in our office that monitors the SVN and automatically picks up any top-level project that defines a buildout.cfg in its trunk. You can watch it

Re: [Zope3-dev] Experimental alternative/supplement for buildbot

2007-05-04 Thread Christian Theune
Gnh. Apart from the shiny UI this thing is unusable for this purpose. It runs a long-running ruby process for each project that it monitors. That would be around 150-200 in our case. My server died two times today when monitoring about 30 processes. That's not gonna work. ;) I'll try