wiki:RepoSearchPlugin

Version 6 (modified by athomas, 9 years ago) (diff)

--

Plugin for searching the source repository

Description

This plugin allows users to search the source repository.

Installation

To use the repository search, users must have the REPO_SEARCH permission. Add this with trac-admin and off you go.

You can include and exclude parts of the repository by adding the following options to trac.ini:

[repo-search]
include = *.py:*.txt
exclude = *.pyc:*.png:*.jpg:*.gif

The globs are separated by your operating systems path seperator (: under UNIX) and each glob is matched against the full path. So to match all README files you will need to use */README.

If only include is specified the default is to exclude all other files.

Bugs/Feature Requests

Existing bugs and feature requests for RepoSearchPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out RepoSearchPlugin from here using Subversion, or browse the source with Trac.

Recent Changes

[9664] by rjollos on 2010-12-12 07:43:46
Removing pydev project file that was accidentally checked-in.
[9663] by rjollos on 2010-12-12 07:39:18
Use \S in the regular expression that extracts words. \S will match any non-whitespace character, whereas \w only matches alphanumeric characters and the underscore. Refs #5938.
[8523] by rjollos on 2010-08-30 07:34:48
Fixed problem with indexing non-ascii characters. Fixes #2143.

Author/Contributors

Author: athomas
Contributors:

TagIt(plugin,athomas,0.9)?