wiki:TracSuposePlugin

Version 18 (modified by figaro, 7 years ago) (diff)

Moved example to functional description

Search a Trac repository with SupoSE

Description

This plugin can be used to search a SVN repository history for a specific folder or file with SupoSE. SupoSE is the Subversion Repository Search Engine.

A search box is added when browsing source codes:

The search form looks as follows:

Queries can be input in the Others input field.

  • Search for Tags and Branches:
    +tag:* -maventag:*
    
  • Search for properties:
    +svn\:externals:*https\:*
    

TracSuposePlugin will search current folder and all subfolders. All history of a file will be searched if you are browsing a file: not exactly this file, but all files with the same name in the current folder and all subfolders.

See also: RepoSearchPlugin and MultiRepoSearchPlugin.

Note: The official website has no content.

Bugs/Feature Requests

Existing bugs and feature requests for TracSuposePlugin are here.

If you have any issues, create a new ticket.

defect

0 / 1

Download

Download the zipped source from here.

Source

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

Installation

Download SupoSE and unzip to a folder.

Depending on how you do the install, you may need to add a line to your trac.ini file:

[components]
tracsupose.* = enabled

You need to add the path of SupoSE and index folder to your trac.ini file:

[supose]
autoindex = false
index = C:\MyDoc\Projects\TracTest\index
supose = C:\supose\bin\supose.bat

After these steps, you need to restart your server.

Configuration

A navigation item "Repo Search" is added. You can delete this item by disabling "SupoSENaviContributor".

By default TracSuposePlugin will not automatically index the repository. Leave autoindex as false if you have scheduled the scanning process of SupoSE.

If autoindex = true, a new parameter indexedrev will be added when TracSuposePlugin is run for the first time to store indexed rev. After the first run, the newly submitted revs only are indexed. Please don't change and remove this indexedrev as SupoSE may reindex all revisions.

Recent Changes

10486 by helend on 2011-07-22 13:19:41
TracSuposePlugin: #8991 fixed path in the linux
10236 by helend on 2011-05-27 05:43:40
Add options contents.
10235 by helend on 2011-05-27 05:14:47
Remove duplicated hits.
(more)

Author/Contributors

Author: helend
Maintainer: Bangyou Zheng
Contributors:

Attachments (3)

Download all attachments as: .zip