I've been waiting for a plugin that would do this since... forever. We
have 6 environments. I bet this plugin doesn't take into account
permissions (if someone can actually visit the searched result), but
even so this is still very useful. I did have to make a patch.
Unfortunately I am bad at Python so it took me 15 minutes to do this
code:
if not os.path.isdir( project_path ):
continue
I needed to add this immediately before
env = open_environment(project_path)
to prevent the exceptions.
Definitely this is good to put up to trac-hacks. It works well and my
only suggestion is to see if performance can be improved. It seems to
take a long time to do a search, but what I noticed with "all projects"
is that it takes roughly the same amount of time to search regardless of
the options selected so I wonder if there is an overhead being
introduced above and beyond the direct search.
Jason
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Alvaro J. Iradier Muro
I developed a small plugin to search in all projects in a multi-project
trac environment.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---