7 | | This plugin provides a new search option to search in all the projects in the current multi-project environment. |
| 7 | This plugin provides functionality to search within all the projects in a multi-project environment setup. |
| 8 | |
| 9 | This plugin will work in a multi-project environment, as it will search all projects in the environment folder. For example, you can use it by having a multi-project environment, where one project is the ''master'' project, and has SearchAllPlugin enabled. |
| 10 | |
| 11 | By default, the search will be performed within all projects. |
| 12 | |
| 13 | You can also limit the search to certain projects, by adding the projects to your `trac.ini` file: |
| 14 | |
| 15 | {{{#!ini |
| 16 | [searchall] |
| 17 | include_projects = project1, project2, project3 |
| 18 | }}} |
| 19 | |
| 20 | This will search only in projects ''project1'', ''project2'' and ''project3''. |
| 21 | |
| 22 | Or you can exclude projects from the search as follows: |
| 23 | |
| 24 | {{{#!ini |
| 25 | [searchall] |
| 26 | exclude_projects = project1, project2 |
| 27 | }}} |
| 28 | |
| 29 | This will search in all projects '''except''' ''project1'' and ''project2''. |
39 | | == Example |
40 | | |
41 | | This plugin will work in a multi-project environment, as it will search all projects in the environment folder. For example, you can use it by having a multi-project environment, where one project is the ''master'' project, and has SearchAllPlugin enabled. |
42 | | |
43 | | You can also limit search to a list of projects, adding to `trac.ini`: |
44 | | |
45 | | {{{#!ini |
46 | | [searchall] |
47 | | include_projects=project1, project2, project3 |
48 | | }}} |
49 | | |
50 | | This will search only in projects ''project1'', ''project2'' and ''project3''. If this option is not set, it will default to search in all projects. |
51 | | |
52 | | Or you can exclude projects from the search with: |
53 | | |
54 | | {{{#!ini |
55 | | [searchall] |
56 | | exclude_projects=project1, project2 |
57 | | }}} |
58 | | |
59 | | This will search in all projects '''except''' ''project1'' and ''project2''. |
60 | | |