FishEye, only index current version

Stig Christensen November 17, 2014

I'm evaluating FishEye to be used in my company. Our only need is to index a very large Subversion repository with c# and c++ code to gain fast searching.

I have set up a single project (1 out of 100) and i takes ages to index the files (scanning 1.500 commits on that single project)

I have read the FAQ https://confluence.atlassian.com/display/FISHEYE/Improve+FishEye+scan+performance

Can I set it up to only request and index the current version in SVN?

We don't need searching comments, diffs, JIRA integration or anything else, we just want to search the code as it is now in the trunk.

 

7 answers

1 accepted

0 votes
Answer accepted
gustavo_refosco
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 17, 2014

Hi Stig,

Thanks for clarifying this. Could you please check if setting a Start Revision as in https://confluence.atlassian.com/display/FISHEYE/Subversion helps? With this set you can have the indexing starting from a more recent revision.

Regards,

Gustavo Refosco

0 votes
gustavo_refosco
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 19, 2014

Stig,

I'm also glad I was able to help. Please allow me to ask you to mark my answers you consider to be good as accepted in order to have them in the top of the thread, also helping other customers in the future.

Thanks in advance.

Gustavo Refosco

0 votes
gustavo_refosco
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 19, 2014

Hi Stig,

Setting Include/Exclude Paths will take effect at the moment you restart your repository. You have the option to only restart the repository without re-indexing it, so files and directories which have been indexed prior to the update will remain visible in FishEye, and it will just not index further updates on these paths. By re-indexing the repository then everything defined as an "exclude" won't show up.

As per the file types, indeed you can't set them as an Include as includes do not accept antglobs or wildcards. I'd suggest you to add excludes for the file types you have in your repository that you do not with to be indexed.

For reference and further understanding on how to use Include/Exclude Paths, please take a look at https://confluence.atlassian.com/display/FISHEYE/Include+Exclude+paths.

Regards,

Gustavo Refosco

Stig Christensen November 19, 2014

We do not know what is in SVN so it would be cumbersome to exclude all other files and maintain that list in the future

gustavo_refosco
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 20, 2014

Hi Stig, I understand you would like this as a feature. I research in our development issue tracker and found a request for this you can see at https://jira.atlassian.com/browse/FE-4212 I'm sorry to inform it is marked as Won't Fix. You can find further details explaining the reason in the comment contained in the URL above. Regards, Gustavo Refosco

0 votes
Stig Christensen November 18, 2014

And how do I exclude everything but .cs, .cpp, .h files?

"Includes" seems to only work with Path Prefix.

 

 

0 votes
Stig Christensen November 18, 2014

Thanks, that seems to work. 

If i change "Include/Exclude Paths" would it reindex everything and remove what I excluded?

 

0 votes
Stig Christensen November 17, 2014

Hi. I have already excluded branches, tags and releases. 

The time is used when requesting the 1.500 commits on the single project. I don't care about the history but only the current trunk.

 

0 votes
gustavo_refosco
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 17, 2014

Hi Stig,

If I understood correctly, your interest would be to index only the trunk (not indexing branches and tags). This could be done by setting the Path option as indicated in https://confluence.atlassian.com/display/FISHEYE/Subversion, so only the contents under it would be indexed. For instance if your repository root URL is http://localhost/svn/repo1 and under it you have directories named trunk, branches and tags, you would setup this repository as:

URL: http://localhost/svn/repo1

Path: trunk

Please attend to apply any further configuration if necessary, e.g. if your repository structure doesn't follow the SVN convention as per in the Subversion Red Book please follow the instructions at https://confluence.atlassian.com/display/FISHEYE/SVN+tag+and+branch+structure.

Regards,

Gustavo Refosco

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events