Hi Trac team,

I have installed Trac and configured it with mod_python. I have my own 
application that will send a REST call to Trac to create an environment 
programmatically instead of me using trac-admin everytime.

I looked at the Docs and found that I can write a plugin implementing 
IRequestHandler and use trac.env.Environment(path, create=True)

But that plugin must already be running in some environment already and I 
do not want that.

Is there some way I can make a (global) plugin intercept the url request 
and do my job without needing an environment?

Or is there any other way I can make Trac to create an environment 
programmatically instead of using trac-admin?

Thank you,
Vigneshwaran

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-dev/-/NW8OBzSnqDoJ.
To post to this group, send email to trac-dev@googlegroups.com.
To unsubscribe from this group, send email to 
trac-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en.

Reply via email to