[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: [OT?] Search through repository

From: Rob Hubbard <Rob.Hubbard_at_celoxica.com>
Date: 2006-10-24 15:50:32 CEST

Hello Moisei,

Thanks for the information. I'm sending this back to the mailing list as I think that it's certainly worth a mention. This might be the solution that others are looking for, and it's useful to know of the existence of any Subversion-related tools out there.

I was really looking for a solution that would be capable of searching more that past revisions of files, such as file deltas, commit comments and changed paths. I'm not sure whether OpenGrok will do that. Nevertheless, it's certainly a tool worth knowing about.


-----Original Message-----
From: Moisei Rabinovich [mailto:moisei@gmail.com]
Sent: 18 October 2006 22:39
To: Rob Hubbard
Subject: RE: Search through repository

Hi Rob,
this is kind of "off topic", so I do not post it to the subversion group, but it may be interesting for you.
When we migrated to subversion from "another commercial source control system", we met the same problem.
As the solution, I integrated the opengrok - http://www.opensolaris.org/os/project/opengrok.

We have a big source code repository [about 50000 files per branch] with several [about 10 active] branches.
So, I did a simplest possible thing:
I got a dedicated machine and I checked out each active branch to it's own folder and I indexed it with open grok.
Then, I prepared a batch that updates each working copy and re-indexes it and I setup it to run every night.
I setup it in the way that every branch has it's own URL for the search with opengrok.

That's it... it took me about 2 days of work to setup the dedicated machine, learn the opengrok a little bit and apply the solution above.
It works like a charm fast and reliable for more than 4 months.

I am not sure what is the content of your repository but if it is a source code, I do recommend you to give it a try.
I did not get any single request for the search from our developers since this solution was implemented and before they were nudge me a lot.

Your are welcome to share this information on the svn users group if you find it useful.

This message has been checked for all known viruses by the MessageLabs Virus Scanning Service, on behalf of Celoxica Ltd.
This email and any files transmitted with it are confidential and 
may be legally privileged. It is intended solely for the use of the 
individual or entity to whom it is addressed. If you have received 
this in error, please contact the sender and delete the material 
immediately. Whilst this email has been swept for viruses, you 
should carry out your own virus check before opening any 
attachment. Celoxica Ltd accepts no liability for any loss or 
damage which may be caused by software viruses or interception 
or interruption of this email.
Received on Tue Oct 24 15:51:52 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.