Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
17 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,28 @@ | ||
To install: | ||
To install:: | ||
|
||
{{{ | ||
pip install -r requirements.txt | ||
python setup.py develop | ||
}}} | ||
pip install -r requirements.txt | ||
python setup.py develop | ||
|
||
Add to your trac.conf: | ||
{{{ | ||
[components] | ||
multireposearch.* = enabled | ||
}}} | ||
Add to your trac.conf:: | ||
|
||
Upgrade your trac environment: | ||
{{{ | ||
trac-admin path/to/env upgrade | ||
}}} | ||
[components] | ||
multireposearch.* = enabled | ||
|
||
Prepare all available repositories with an initial indexing: | ||
{{{ | ||
trac-admin path/to/env multireposearch reindex_all | ||
}}} | ||
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 | ||
}}} | ||
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. |