You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ron Olson <ta...@gmail.com> on 2006/11/13 16:45:04 UTC

Searching Subversion

Hi all-

I have a repository that has thousands of files in hundreds of directories
and I need to find every file that contains a particular string. I'm pretty
sure there's nothing in Subversion directly for this kind of thing, but was
wondering if there were any other tools available that could do this, or
could search on a property, a user, or whatever. That way if I wanted to
find all the files checked in by "Fred" or have the custom property "C++" or
contain the words "foo()", I could do so. By text-searching, I'd be able to
find out which version of a file introduced a particular thing, like the
first time anyone called "foo()", etc.

If such a program doesn't exist, it seems like it'd be a fun project to add
on top of svn, because I know I'd love to have something like that. Does
anyone else agree, and know if it's already been done?

Thanks,

Ron

RE: Searching Subversion

Posted by Daniel F Garcia <dg...@kobold.com.au>.
Do you need to create subversion hooks to initiate an update of the search
index on commit ?

  _____  

From: Samay [mailto:getafix123@hotmail.com] 
Sent: Tuesday, 14 November 2006 11:06 AM
To: Ron Olson; users@subversion.tigris.org
Subject: Re: Searching Subversion


You may wanna consider http://lucene.apache.org/nutch/ running with ur SVN
repos?
 
regards

----- Original Message ----- 
From: Ron  <ma...@gmail.com> Olson 
To: users@subversion.tigris.org 
Sent: Tuesday, November 14, 2006 3:45 AM
Subject: Searching Subversion


Hi all-

I have a repository that has thousands of files in hundreds of directories
and I need to find every file that contains a particular string. I'm pretty
sure there's nothing in Subversion directly for this kind of thing, but was
wondering if there were any other tools available that could do this, or
could search on a property, a user, or whatever. That way if I wanted to
find all the files checked in by "Fred" or have the custom property "C++" or
contain the words "foo()", I could do so. By text-searching, I'd be able to
find out which version of a file introduced a particular thing, like the
first time anyone called "foo()", etc. 

If such a program doesn't exist, it seems like it'd be a fun project to add
on top of svn, because I know I'd love to have something like that. Does
anyone else agree, and know if it's already been done?

Thanks, 

Ron



Re: Searching Subversion

Posted by Samay <ge...@hotmail.com>.
You may wanna consider http://lucene.apache.org/nutch/ running with ur SVN repos?

regards
  ----- Original Message ----- 
  From: Ron Olson 
  To: users@subversion.tigris.org 
  Sent: Tuesday, November 14, 2006 3:45 AM
  Subject: Searching Subversion


  Hi all-

  I have a repository that has thousands of files in hundreds of directories and I need to find every file that contains a particular string. I'm pretty sure there's nothing in Subversion directly for this kind of thing, but was wondering if there were any other tools available that could do this, or could search on a property, a user, or whatever. That way if I wanted to find all the files checked in by "Fred" or have the custom property "C++" or contain the words "foo()", I could do so. By text-searching, I'd be able to find out which version of a file introduced a particular thing, like the first time anyone called "foo()", etc. 

  If such a program doesn't exist, it seems like it'd be a fun project to add on top of svn, because I know I'd love to have something like that. Does anyone else agree, and know if it's already been done?

  Thanks, 

  Ron