On Aug 24, 5:23 pm, yoheeb <[email protected]> wrote: > On Aug 24, 2:54 am, rhanna <[email protected]> wrote: > > > Hi, > > > I have several trac environments running on the trac server > > some plugins are installing system wide, and some are installed per > > trac env. > > I need to list all enabled plugins without having to go to every trac > > and look at the admin screen > > > can someone point me to a way/doc to do that with python? > > > Thanks > > -- > > Ramez Hanna > > informatiq.org > > I think the easiest would to be to loop all your project directories, > open /config/trac.ini as a ConfigParser object, loop the [components] > dictionary for all values of "enabled" > > Assuming a multi-project parent directory setup here. there is > probably a more trac-specific way, but that seems easy to me.
Thanks for the reply I ended up doing this plus listing all egg files in all the /plugins dir to also find what is installed --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" 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/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
