Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Search the text of source code in your Trac repositories (0.12 and up)

Project Description

To install:

pip install -r requirements.txt
python develop

Add to your trac.conf:

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.


0.6 (2013-01-15)

  • The plugin’s search source is now off by default, so Trac searches will not include source code results unless the user explicitly checks the “Source Repository” box on the search form. This way the plugin won’t impact performance of searches unless the user actually wants to search through source code. (This behavior may change in the future, but not until there exists a search backend that’s faster than unindexed full text search on a database column.)

0.5 (2013-01-15)

0.4 (2013-01-11)

0.3 (2012-09-28)

  • Search backends are now expected to match against filenames as well as file contents. The provided SQLIndexer component has been updated to search for filenames as well. (

0.2.1 (2012-02-17)

0.2 (2012-02-13)

0.1 (2012-02-01)

  • First release.
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
trac-MultiRepoSearchPlugin-0.6.tar.gz (5.6 kB) Copy SHA256 Checksum SHA256 Source Jan 15, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting