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.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to