How can I index our internal source code?
Asked Answered
H

7

21

Google Code Search has indexed Subversion and Mercurial repositories, so people can search open source projects. How can I do the same for my company's repository with the least effort and without publishing our code?

We have Trac (with Subversion) at our shop, but it only indexes Changesets, and we also have Visual Source Safe.

Hieronymus answered 6/6, 2009 at 19:25 Comment(0)
C
3

A quick Google turned up VoilaSVN but I cannot vouch for it.

Edit: It also turned up OpenGrok which appears to have a lot more support for other systems.

Calumnious answered 6/6, 2009 at 19:36 Comment(2)
VoilaSVN free edition is free of charge for commercial and non-commercial usage. It is a Subversion search engine, administration, online diff and history navigation solution. It aims to promote the adoption of Subversion® for IT and NON-IT users with its very user-friendly interface.Hieronymus
The link for VoilaSVN is stale. Looks like the project moved to SourceForge voilasvn.sourceforge.netYolanda
A
8

I can vouch for the usefulness of opengrok, we have it at work and I use it pretty well every day.

Adigun answered 6/6, 2009 at 20:29 Comment(1)
I can vouch for opengrok as well. Very useful!Dartboard
C
3

A quick Google turned up VoilaSVN but I cannot vouch for it.

Edit: It also turned up OpenGrok which appears to have a lot more support for other systems.

Calumnious answered 6/6, 2009 at 19:36 Comment(2)
VoilaSVN free edition is free of charge for commercial and non-commercial usage. It is a Subversion search engine, administration, online diff and history navigation solution. It aims to promote the adoption of Subversion® for IT and NON-IT users with its very user-friendly interface.Hieronymus
The link for VoilaSVN is stale. Looks like the project moved to SourceForge voilasvn.sourceforge.netYolanda
A
1

there's always lxr (linux cross reference). Mozilla uses

It'd take a lot of effort, I think, because it's only available via git repo. More power to you if you make it work. git://lxr.linux.no/git/lxrng.git

Abdul answered 6/6, 2009 at 19:50 Comment(0)
T
1

Surprisingly, I've found that the built-in search capability of Vista are very helpful. I've just added my source tree to the indexed directories, and get quite fast indexed search.

It is not language-sensitive, however.

Tangy answered 16/8, 2009 at 16:16 Comment(0)
F
1

Our langauge-sensitive source code search engine can be found at SD Source Code Search Engine. It can handle many languages at the same time. Searches can be performed for patterns in a specific langauge, or patterns across languages (such as "find identifiers involving TAX"). By being sensitive to langauge tokens, the number of false positives is reduced, saving time for the user. It understands C, C++, C#, COBOL, Java, ECMAScript, Java, XML, Verilog, VHDL, and a number of other languages.

Fragonard answered 16/8, 2009 at 16:25 Comment(0)
N
0

Commercially, there's Krugle Enterprise. If you want to see how it works, you can use http://www.krugle.org/ to search open source projects.

Nihon answered 6/6, 2009 at 19:41 Comment(0)
C
0

for Local Source code search on Windows: CodeIDX works great! https://sourceforge.net/projects/codeidx/

I Know this question is not for local search, but this is the only question about source code search tools not marked as "off topic" that I could find

Credent answered 25/1, 2018 at 14:42 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.