[Zope-Coders] Re: [Zope-Checkins] CVS: Zope - z2.py:1.62

Toby Dickenson tdickenson@geminidataloggers.com
Mon, 29 Apr 2002 10:34:20 +0100


On Saturday 27 Apr 2002 2:54 pm, Matt Behrens wrote:

>Now, obviously, 'zope' doesn't have to operate this way.  The
>preferred method of operation is going to be putting this sort of
>stuff in an instance.conf file:
>
>[ZServer]
>HTTP=8080
>ICP=1234,5678

I can think of two reasons why that would become the preferred method of 
operation:

1. It is readable, extensible, and clean.

2. One of the other options is gratuitously incompatible with
   long options ;-)

>I think consistency is very valuable here, both with ourselves and
>with other UNIX tools, and would appreciate if we all could reach
>a consensus here.

Does this work:

* z2.py continues to support the same command line options as 2.5, for
  backwards compatability only.

* Everything new (including icp) uses instance.conf _only_

* Leave --icp in its current incompatible-with-zctl form, for the benefit
  of people using "z2.py --icp" until they make the transition to
  instance.conf