Changes between Initial Version and Version 1 of MultiRepoSearchPlugin


Ignore:
Timestamp:
Feb 1, 2012, 4:48:31 PM (12 years ago)
Author:
ejucovy
Comment:

New hack MultiRepoSearchPlugin, created by ejucovy

Legend:

Unmodified
Added
Removed
Modified
  • MultiRepoSearchPlugin

    v1 v1  
     1[[PageOutline(2-5,Contents,pullout)]]
     2
     3= MultiRepoSearchPlugin =
     4
     5== Description ==
     6
     7Full text search on source code across multiple repositories in Trac 0.12+
     8
     9Derived from the RepoSearchPlugin, but:
     10
     111. It works for Trac 0.12+
     121. It works on multiple repositories, and any repository type supported by Trac
     131. Pluggable search backends
     141. Default search backend caches source text in the Trac database
     15
     16== Bugs/Feature Requests ==
     17
     18Existing bugs and feature requests for MultiRepoSearchPlugin are
     19[report:9?COMPONENT=MultiRepoSearchPlugin here].
     20
     21If you have any issues, create a
     22[http://trac-hacks.org/newticket?component=MultiRepoSearchPlugin&owner=ejucovy new ticket].
     23
     24== Download ==
     25
     26Download the zipped source from [download:multireposearchplugin here].
     27
     28== Source ==
     29
     30You can check out MultiRepoSearchPlugin from [http://trac-hacks.org/svn/multireposearchplugin here] using Subversion, or [source:multireposearchplugin browse the source] with Trac.
     31
     32== Example ==
     33
     34To install:
     35
     36{{{
     37pip install -r requirements.txt
     38python setup.py develop
     39}}}
     40
     41Add to your trac.conf:
     42{{{
     43[components]
     44multireposearch.* = enabled
     45}}}
     46
     47Upgrade your trac environment:
     48{{{
     49trac-admin path/to/env upgrade
     50}}}
     51
     52Prepare all available repositories with an initial indexing:
     53{{{
     54trac-admin path/to/env multireposearch reindex_all
     55}}}
     56
     57You will now be able to perform text searches of repository contents through the trac search UI.
     58
     59As long as you have your trac post-commit or post-receive hooks properly configured,
     60source will remain up-to-date.
     61
     62Otherwise, to manually reindex a single repository, you ca run:
     63{{{
     64trac-admin path/to/env multireposearch reindex repo-name
     65}}}
     66
     67Where repo-name is the name assigned to your repository in Trac.
     68
     69== Recent Changes ==
     70
     71[[ChangeLog(multireposearchplugin, 3)]]
     72
     73== Author/Contributors ==
     74
     75'''Author:''' [wiki:ejucovy] [[BR]]
     76'''Maintainer:''' [wiki:ejucovy] [[BR]]
     77'''Contributors:'''