The company which I work for uses CVS as source control and we have an intranet application(Source forge) which expose the repository i.e. we can see the source file using that interface but it does not provide any search facility where I can search for the code snippets for the given keywords.
I want to write an application which can search the code snippet.Ex. would be Koders.com which provides search for the given keyword and gives a link to browse the source file. The two ways I can think of is
1-Search in cvs repository (for which access may be an issue.)
2-Search the intranet application which exposes all the source files.
What do you guys think will be the right approach. I was planning to index it in a seperate database and use that for search but have no idea how to do that. Any help is appreciated :)