I'd like to sneak the following patch into 2.11 before final. The idea is that zope.conf option names should use dashes and not underscores. The downside is that it will break all zope.conf files that already use this option. Objections? Stefan + Bugs Fixed + + - Fixed against-the-rules zope.conf option 'fast_listen' to read + 'fast-listen' (dash, not underscore). + Zope 2.11 rc 1 (2008/05/08) Bugs Fixed Index: skel/etc/zope.conf.in =================================================================== --- skel/etc/zope.conf.in (revision 84838) +++ skel/etc/zope.conf.in (working copy) @@ -975,8 +975,7 @@ # # To defer the opening of the HTTP socket until the end of the # startup phase: - # fast_listen false - # + # fast-listen off </http-server> # Examples: Index: lib/python/ZServer/component.xml =================================================================== --- lib/python/ZServer/component.xml (revision 84838) +++ lib/python/ZServer/component.xml (working copy) @@ -19,10 +19,10 @@ receive WebDAV source responses to GET requests. </description> </key> - <key name="fast_listen" datatype="boolean" default="on"> + <key name="fast-listen" datatype="boolean" default="on"> <description> - Defines wether the http server should listen to requests immediately - or only after zope is ready to run + Defines whether the HTTP server should listen for requests + immediately or only after Zope is ready to run. </description> </key> <key name="use-wsgi" datatype="boolean" default="off" /> -- Anything that, in happening, causes something else to happen, causes something else to happen. --Douglas Adams
On Fri, Jun 06, 2008 at 01:37:16AM +0200, Stefan H. Holek wrote:
I'd like to sneak the following patch into 2.11 before final. The idea is that zope.conf option names should use dashes and not underscores. The downside is that it will break all zope.conf files that already use this option.
Hmm. Was this around in 2.10 already? If yes, then I'd consider it a bit late to make a cosmetic fix that breaks config files. If no, then it's probably not as bad and should be done to avoid config files getting created with a variable we know will change. Christian -- Christian Theune · ct@gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1 Zope and Plone consulting and development
Hi, On Fri, Jun 06, 2008 at 01:55:43PM +0200, Stefan H. Holek wrote:
No, fast-listen is new in Zope 2.11.
Stefan
On 06.06.2008, at 07:49, Christian Theune wrote:
Hmm. Was this around in 2.10 already?
Then it's a +1 from me. -- Christian Theune · ct@gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1 Zope and Plone consulting and development
participants (2)
-
Christian Theune -
Stefan H. Holek