How does fisheye indexing work?

knowshan
Contributor
December 17, 2013

While indexing a repository, Fisheye shows following status message:

Status message: Indexing revision metadata item 26891 of 83082)

Should metadata items match with (or be multiple of) the total number of commit in the repository?

Also, how does index action takes place - clone repo locally and then perform some indexing?

3 answers

1 accepted

0 votes
Answer accepted
Conor
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 17, 2013

FishEye always uses the p4 client application to interact with Perforce repositories. It can certainly, therefore, be located on the perforce server and use localhost as the server address. FishEye does not access Perforce repository files directly.

FishEye does not require write permission on the Perforce repository.

1 vote
Conor
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 17, 2013

The 83082 count is not related directly to the number of commits - it is the number of changes to individual files across all of your commits. So if you had 100 commits and each commit modified 4 files, you would have 400 file revisions.

Since real repositories have wide variation in the number of files that are modified in each commit, there is no simple way to know the number of file revisions based on commits. FishEye shows you this number mostly to give an indication of metadata indexing progress.

Yes, for DVCS systems FishEye makes a local clone of the repo and then interacts with that local clone to perform indexing operations.

knowshan
Contributor
December 17, 2013

Thanks for the details Conor. That's helpful. Right now I am evaluating Fisheye with Git and Perforce and I am new to Perforce.

I was wondering if Fisheye can be installed on the same system hosting Perforce repo to improve performance. Would Fisheye then use 'p4 client with localhost' configuration or some other file-system method? Also, does Fisheye need write permissions on the repository?

0 votes
knowshan
Contributor
December 17, 2013

Thanks for the details Conor. That's helpful. Right now I am evaluating Fisheye with Git and Perforce and I am new to Perforce.

I was wondering if Fisheye can be installed on the same system hosting Perforce repo to improve performance. Would Fisheye then use 'p4 client with localhost' configuration or some other file-system method? Also, does Fisheye need write permissions on the repository?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events