https://github.com/trac-hacks/trac-multireposearchplugin
Full text search on source code across multiple repositories in Trac 0.12+
https://github.com/trac-hacks/trac-multireposearchplugin
trac-plugin
Last synced: about 1 year ago
JSON representation
Full text search on source code across multiple repositories in Trac 0.12+
- Host: GitHub
- URL: https://github.com/trac-hacks/trac-multireposearchplugin
- Owner: trac-hacks
- License: other
- Created: 2012-02-01T16:43:01.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2019-09-05T12:40:49.000Z (almost 7 years ago)
- Last Synced: 2025-03-27T10:34:54.141Z (about 1 year ago)
- Topics: trac-plugin
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 5
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
- Changelog: CHANGES.txt
- License: LICENSE.txt
Awesome Lists containing this project
README
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.