By default, FishEye will cache and index your whole repository, and present all of this information to users. You can allow FishEye to process certain parts of your repository and/or disallow it from accessing other parts, by configuring inclusion/exclusion patterns for FishEye to follow. These patterns are set in the 'Allow (Process)' repository option.
On this page:
Configuring Allow (Process)
You can configure the allow (process) option for a specific repository or configure linkers for all repositories.
Configuring Allow (Process) for a Specific Repository
To configure the allow (process) option for a repository,
Configure Allow (Process) for All Repositories
To configure the allow (process) for all repositories,
Screenshot: Configuring allow (process) for all repositories
Adding an Include
The 'Includes' subsection of the 'Allow (Process)' screen defines what subtrees of your repository FishEye will index. FishEye defaults to including 'everything'. If you specify some 'include' directories, then FishEye will process only those directories (and all their subdirectories). For instance, you might want to do this to limit FishEye to the subset of active projects in your repository. Each include specifies the path to a subtree to be processed. Paths are expressed relative to the repository root configured in the repository configuration.
To add a new include,
- Including directories:
/PROJECT1and all its children (sub-directories and their contents). You could specify
/PROJECT2/to include both of these directories in FishEye's indexing.
The code above includes
Adding an Exclude
The 'Excludes' subsection of the 'Allow (Process)' screen allows you to specifically exclude files and directories from those which have been included in indexing. FishEye will not process these files and directories. Each exclude is an Antglob Pattern.
To add a new linker,
- Excluding directories:
/PROJECT2and all its children (sub-directories and their contents).
The code above excludes
- Excluding file types: The code above excludes any OBJ (object) files.
When processing includes and excluded, FishEye merges the includes and excludes from the repository itself with those from the repository defaults. The repository's specific includes and excludes take priority over those of the repository defaults. Once merged, FishEye processes include definitions first and then excludes. If there are any includes defined a path must match at least one of those includes to be considered. If there are no include patterns defined, all paths are considered to be included. Once includes have been processed, a path which is a candidate for processing is tested against any defined excludes. If the path matches any of the exclude patterns, the path is excluded and not included in FishEye.
About Setting the Repository Root
When you are setting the Allow (Process), you should be aware that the options on this page only act on the parts of the repository that lie under the level of the repository root, which you configure as a directory location in your repository. In other words, FishEye can only access directories "lower" than the repository root. For example, consider a repository with the following structure:
In this case, you could set the repository root (or 'Path') to be
/CORE/2008/. In that situation, you would be able to include or exclude the
/PROJECT2/ directories, but the
/CORE/2007/LEGACY/ directory would not be available. To have FishEye index all of the directories in this repository, you would need to set the repository root path to be
/CORE/. Then, you could use the includes and excludes to add and remove directories under
/CORE/ from FishEye's scan. For more information, see the Subversion configuration page and read the 'Path' options.