Skip to content

Full text search on source code across multiple repositories in Trac 0.12+

License

Notifications You must be signed in to change notification settings

trac-hacks/trac-MultiRepoSearchPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To install::

  pip install -r requirements.txt
  python setup.py develop

Add to your trac.conf::

  [components]
  multireposearch.* = enabled

Upgrade your trac environment::

  trac-admin path/to/env upgrade

Prepare all available repositories with an initial indexing::

  trac-admin path/to/env multireposearch reindex_all

You will now be able to perform text searches of repository contents through the trac search UI.

As long as you have your trac post-commit or post-receive hooks properly configured, 
source will remain up-to-date.

Otherwise, to manually reindex a single repository, you ca run::

  trac-admin path/to/env multireposearch reindex repo-name

Where repo-name is the name assigned to your repository in Trac.

About

Full text search on source code across multiple repositories in Trac 0.12+

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages