Configuring repository details

You can define the SCM details for a repository when adding or managing a repository. The SCM details will vary depending on the type of repository that you are adding, e.g. the SCM details for a Subversion repository differ from the SCM details for a Git repository.

On this page:

Configuring the SCM details for a repository

To configure the SCM details for a repository:

  1. Click the 'cog' menu in the FishEye header, and choose Administration (you'll need to be logged in as an administrator to see this link).
  2. Click Repositories (under 'Repository Settings'). 
  3. Click the name of the repository (in the 'Name' column). 
  4. Click SCM Details in the left menu.
  5. Update the fields as required:

    Description Enter a description for the repository. This is used to describe the repository in FishEye screens.
    Store Diff Info Select this checkbox, to have FishEye cache information about file diffs in its database. This setting is enabled by default for new repositories. See the Notes section below for more information on this setting.

    The rest of the fields will vary depending on the SCM. See the following topics:


    Note, the topics above describe adding a repository, however the fields are the same if you are editing an existing repository's settings.

  6. Click the Test Connection to test your changes.

    • If you are happy with your changes, click Save.
    • If you need to abandon your changes, click Close Without Saving.

Screenshot: Configuring the SCM details for a Subversion repository

Notes

About the 'Store Diff Info' setting

Enabling the Store Diff Info setting means that FishEye will store information about file diffs in its database, that is, FishEye will store a summary of what lines are added and removed between subsequent versions of the same file. You will still be able to view file diffs regardless of whether this setting is enabled or disabled.

(warning) Please note, you need to perform a full re-index of your repository after enabling this setting for FishEye to collect the diff information for all revisions in your repository.

Please also note that:

  • Disabling the Store Diff Info setting will disable per-author line graphs.
  • Disabling the Store Diff Info setting also removes the author/revision information in the diff display.
  • Disabling the Store Diff Info setting will disable blame calculation when indexing. See Blame calculations.
  • Diff information is always stored for CVS repositories. Note, that a full re-index is required to enable per author charts after upgrading from FishEye 1.4.3 or earlier.
  • Enabling the Store Diff Info setting will allow FishEye to perform text searches of lines added and removed, in addition to the text search of the trunk head.
  • Enabling the Store Diff Info setting for Perforce repositories will force FishEye to make extra requests to your depot in order to collect the diffs. This may substantially increase the time it takes to scan your repository. If your Perforce repository was created before FishEye 1.5, this setting will be disabled by default.
  • Scan times for other repositories, like CVS and Subversion, are not as affected by the Store Diff Info setting as Perforce since the diffs are still fetched but disabling this option will still prevent the overhead of indexing the data which can still be significant.

Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport