Re: [Zope-dev] zopectl's -p options

2010-07-31 Thread Chris Withers
Chris Withers wrote:
> Hanno Schlichting wrote:
>> On Mon, Jul 26, 2010 at 7:36 PM, Chris Withers  
>> wrote:
>>> ...is currently useless, as far as I can see.
>> I thought the -p option was an artifact of zdaemon, which zopectl just
>> didn't support. I took it as a case of the lower level API's leaking
>> through.
> 
> I think it's an extremely useful feature ;-)
> (likely broken by someone who didn't understand it, some time ago...)
> 
>>> I think the attached patch fixes this, but I'm wondering:
>>>
>>> - are these are tests for this area
>> I'm not aware of any.
> 
> OK, I guess that makes life easier in some ways ;-)
> 
>>> - why does self.program need to be a one element list?
>> No idea. I find most of the zdaemon and Zope2 startup code rather obscure.
> 
> Indeed. Well, unless anyone objects, I'd like to commit the patch I 
> proposed...

OK, if there are no comments, I'll commit some time soon, likely on Monday.

cheers,

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zopectl's -p options

2010-07-27 Thread Chris Withers
Hanno Schlichting wrote:
> On Mon, Jul 26, 2010 at 7:36 PM, Chris Withers  wrote:
>> ...is currently useless, as far as I can see.
> 
> I thought the -p option was an artifact of zdaemon, which zopectl just
> didn't support. I took it as a case of the lower level API's leaking
> through.

I think it's an extremely useful feature ;-)
(likely broken by someone who didn't understand it, some time ago...)

>> I think the attached patch fixes this, but I'm wondering:
>>
>> - are these are tests for this area
> 
> I'm not aware of any.

OK, I guess that makes life easier in some ways ;-)

>> - why does self.program need to be a one element list?
> 
> No idea. I find most of the zdaemon and Zope2 startup code rather obscure.

Indeed. Well, unless anyone objects, I'd like to commit the patch I 
proposed...

cheers,

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
 - http://www.simplistix.co.uk
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zopectl's -p options

2010-07-26 Thread Hanno Schlichting
On Mon, Jul 26, 2010 at 7:36 PM, Chris Withers  wrote:
> ...is currently useless, as far as I can see.

I thought the -p option was an artifact of zdaemon, which zopectl just
didn't support. I took it as a case of the lower level API's leaking
through.

> I think the attached patch fixes this, but I'm wondering:
>
> - are these are tests for this area

I'm not aware of any.

> - why does self.program need to be a one element list?

No idea. I find most of the zdaemon and Zope2 startup code rather obscure.

Hanno
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )