Re: [Zope3-dev] using zope.testing without zope

2006-12-22 Thread Jim Fulton
Chris Withers wrote: Hi All, Does anyone have any experience of using zope.testing outside of Zope? Yes. Lots. I use zope.testing.doctest for the Twiddler tests and I'd like to use zope.testing.testrunner for running the tests in a plain python environment. In particular, I'd like to

Re: [Zope3-dev] using zope.testing without zope

2006-12-22 Thread Chris Withers
Jim Fulton wrote: The easiest way is with the buildout zc.recipe.testrunner recipe. There are lots of examples of this in the repository, including ZODB, zc.buildout, zc.ngi, zc.recipe.rhrc, among many others. Are there high level docs for building things out like this? I'm somewhat

[Zope3-dev] Re: using zope.testing without zope

2006-12-22 Thread Martijn Faassen
Chris Withers wrote: Does anyone have any experience of using zope.testing outside of Zope? Yes, I do. It's really easy with buildout, actually. I use zope.testing.doctest for the Twiddler tests and I'd like to use zope.testing.testrunner for running the tests in a plain python environment.

Re: [Zope3-dev] Experimental implementation of Loading Configuration from the zope.app Egg

2006-12-22 Thread Jim Fulton
Baiju M wrote: Hi Jim, I tried to implement your Loading Configuration from the zope.app Egg proposal [1] in one svn branch (baijum-zope-app-zcmlfiles) [2]. If you are not yet started it's implementation can you review this branch? [1]

[Zope3-dev] Is there an alternative to zdaemon?

2006-12-22 Thread Jim Fulton
Yesterday I started working on some updates to zdaemon. zdaemon is pretty cool. It is a Unix-only tool that: - Turns an arbitrary program into a fairly well-behaved daemon - Provides management of an applications output as a log file. - Provides start, stop and restart commands for starting

Re: [Zope3-dev] Is there an alternative to zdaemon?

2006-12-22 Thread Sascha Ottolski
Am Freitag, 22. Dezember 2006 21:55 schrieb Jim Fulton: Does anyone know of something that does what zdaemon does?  daemontools seems somewhat close:    http://cr.yp.to/daemontools.html Going from the documentation, it doesn't seem to be as clever about application restart.  The

Re: [Zope3-dev] Is there an alternative to zdaemon?

2006-12-22 Thread Jim Fulton
Sascha Ottolski wrote: Am Freitag, 22. Dezember 2006 21:55 schrieb Jim Fulton: Does anyone know of something that does what zdaemon does? daemontools seems somewhat close: http://cr.yp.to/daemontools.html Going from the documentation, it doesn't seem to be as clever about application

Re: [Zope3-dev] Is there an alternative to zdaemon?

2006-12-22 Thread Paul Winkler
On Fri, Dec 22, 2006 at 05:04:37PM -0500, Jim Fulton wrote: Sascha Ottolski wrote: And the python coded Supervisor2 made by Chris McDonough http://www.plope.com/software/supervisor2/ This is interesting. We've been using supervisor (previous version) for all our zope applications for a

Re: [Zope3-dev] Is there an alternative to zdaemon?

2006-12-22 Thread Sascha Ottolski
Am Freitag, 22. Dezember 2006 23:04 schrieb Jim Fulton: An abnormal exit is an exit due to some error, such as a segmentation fault or running out of memory. in the sense, how would the supervisor know thats it's abnormal? It can check the exit status. Normal shutdowns typycally exit

Re: [Zope3-dev] Is there an alternative to zdaemon?

2006-12-22 Thread Sascha Ottolski
Am Freitag, 22. Dezember 2006 23:23 schrieb Paul Winkler: On Fri, Dec 22, 2006 at 05:04:37PM -0500, Jim Fulton wrote: Sascha Ottolski wrote: And the python coded Supervisor2 made by Chris McDonough http://www.plope.com/software/supervisor2/ This is interesting. We've been using

Re: [Zope3-dev] Is there an alternative to zdaemon?

2006-12-22 Thread Jim Fulton
Sascha Ottolski wrote: Am Freitag, 22. Dezember 2006 23:04 schrieb Jim Fulton: An abnormal exit is an exit due to some error, such as a segmentation fault or running out of memory. in the sense, how would the supervisor know thats it's abnormal? It can check the exit status. Normal

Re: [Zope3-dev] Is there an alternative to zdaemon?

2006-12-22 Thread Paul Winkler
On Fri, Dec 22, 2006 at 11:38:33PM +0100, Sascha Ottolski wrote: At my previous job, we used daemontools, which was OK, except we never found a solution to the problem of I want to get email notifications when the system is restarting unexpectedly, but I don't want my mail to get a DOS

[Zope3-dev] Re: Is there an alternative to zdaemon?

2006-12-22 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: Yesterday I started working on some updates to zdaemon. zdaemon is pretty cool. It is a Unix-only tool that: - Turns an arbitrary program into a fairly well-behaved daemon - Provides management of an applications output as

Re: [Zope3-dev] Re: Launchpad - use it for more than just bug tracking?

2006-12-22 Thread Christian Theune
Hey, Martijn Faassen wrote: Hey Christian, [using launchpad fo rmore than just bug tracking] I'm assuming silence from everybody is permission. :) Well, in that case I'll go ahead and clean up some of the project/product structures that exist in launchpad already (hopefully getting some

[Zope3-dev] Re: [Zope-dev] Re: Is there an alternative to zdaemon?

2006-12-22 Thread Chris McDonough
On Dec 22, 2006, at 5:55 PM, Tres Seaver wrote: Chris McDonough's 'supervisor' is a Python-based implementation of the same basic idea, with even more generality: the 'supervisord' process, for instance, can be controlled from a remote host. http://plope.com/software/supervisor/ That

[Zope3-dev] Re: [Zope-dev] Is there an alternative to zdaemon?

2006-12-22 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 22. Dezember 2006 15:55:48 -0500 Jim Fulton [EMAIL PROTECTED] wrote: It has 2 major disadvantages: - It is ours. :) We are bearing the burden of maintaining it. This is offset by the fact that it hasn't required much maintenance.