Alberto Valverde wrote:
> 
> On Jun 28, 2007, at 9:54 PM, Mark Ramm wrote:
> 
>>> So, what is our plan for the tool...use paster
>>> right...but what functionality do we need to add?
>> The plan is to create some additional paster commands like:
>>
>> paster quickstart
>>
>> in much the way Fred already has in trunk.
>>
>> It would be great to have
>>
>> tg-info
>> shell
> 
> Pylon's already provides this command. However, we might need  
> additional hooks for TG specific stuff, don;t know how to handle that  
> case though... I mean, so paster knows it should call the TG version  
> instead of the Pylons one or that if is desirable at all (for the  
> potential confusion). Anyway, In case you don't already know, I think  
> this stuff is configured inside the egg-info directoy in the  
> paste_plugins.txt file...

I wasn't involved in the implementation, so I'm a little unclear how it 
works, but I believe it basically enters the entire request path and 
then somewhere (Routes or something?) it detects it's a shell and starts 
the interactive interpreter.  At least that's what I suggested Ben do ;)

If it does that, you just have to make sure the proper function gets 
called at what is the proper time for TG (i.e., after as much as 
possible is setup).  You could possibly do it, for instance, immediately 
before the controller method is called.


-- 
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
             | Write code, do good | http://topp.openplans.org/careers

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to