Changes between Version 9 and Version 10 of MultiRepoSearchPlugin
- Timestamp:
- Feb 2, 2016, 10:15:28 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MultiRepoSearchPlugin
v9 v10 5 5 == Description 6 6 7 Full text search on source code across multiple repositories in Trac 0.12+.7 This plugin implements full text search on source code across multiple repositories in Trac 0.12+. It is derived from the RepoSearchPlugin. 8 8 9 Derived from the RepoSearchPlugin, but: 10 9 Key features: 11 10 1. It works for Trac 0.12+. 12 11 1. It works on multiple repositories, and any repository type supported by Trac. … … 20 19 21 20 If you have any issues, create a 22 [/newticket?component=MultiRepoSearchPlugin &owner=ejucovynew ticket].21 [/newticket?component=MultiRepoSearchPlugin new ticket]. 23 22 24 23 [[TicketQuery(component=MultiRepoSearchPlugin&group=type,format=progress)]] … … 32 31 You can clone MultiRepoSearchPlugin from [git://github.com/boldprogressives/trac-MultiRepoSearchPlugin.git here] using Git, or [https://github.com/boldprogressives/trac-MultiRepoSearchPlugin browse the source] with Github. 33 32 34 == Example33 == Installation 35 34 36 35 To install: 37 36 38 {{{ 39 #!sh 37 {{{#!sh 40 38 pip install -r requirements.txt 41 39 python setup.py develop … … 44 42 Alternatively, to install using easy_install on Ubuntu 11.10 Server: 45 43 46 {{{ 47 #!sh 44 {{{#!sh 48 45 sudo easy_install http://trac-hacks.org/svn/tracsqlhelperscript/0.12/ 49 46 sudo easy_install https://github.com/boldprogressives/trac-MultiRepoSearchPlugin/tarball/0.2.1 50 47 }}} 51 48 52 Add to your `conf/trac.ini`: 53 {{{ 54 #!ini 49 Add to your `conf/trac.ini` file: 50 {{{#!ini 55 51 [components] 56 52 multireposearch.* = enabled … … 58 54 59 55 Upgrade your Trac environment: 60 {{{ 61 #!sh 56 {{{#!sh 62 57 trac-admin path/to/env upgrade 63 58 }}} 64 59 65 60 Prepare all available repositories with an initial indexing: 66 {{{ 67 #!sh 61 {{{#!sh 68 62 trac-admin path/to/env multireposearch reindex_all 69 63 }}} … … 71 65 You will now be able to perform text searches of repository contents through the Trac search UI. 72 66 73 As long as you have your trac post-commit or post-receive hooks properly configured, the source will remain up-to-date. 67 == Configuration 68 69 As long as you have your Trac post-commit or post-receive hooks properly configured, the source will remain up-to-date. 74 70 75 71 Otherwise, to manually reindex a single repository, you can run: 76 {{{ 77 #!sh 72 {{{#!sh 78 73 trac-admin path/to/env multireposearch reindex repo-name 79 74 }}}