如何索引和搜索subversion存储库

时间:2023-01-15 00:21:35

I have access to a very large code base stored in a subversion repository. I would like to be able to perform Google type searched on the code base. I have done this before when I have access to the server by creating a network share and using Google desktop.

我可以访问存储在subversion存储库中的非常大的代码库。我希望能够在代码库中执行搜索的Google类型。之前,当我通过创建网络共享和使用Google桌面访问服务器时,我已经这样做了。

I currently do not have access to this subversion server box.

我目前无法访问此subversion服务器框。

Any Ideas?

Some more info

更多信息

  • The code base is company wide and large
  • 代码库是公司范围广泛的

  • Don't want to download the entire code base for the entire business on my laptop
  • 不想在我的笔记本电脑上下载整个业务的整个代码库

  • My goal understand what code is available inside the company
  • 我的目标是了解公司内部可用的代码

  • The code changes often

    代码经常变化

    Wondering if there are any tool that can search remote svn repositories?

    想知道是否有任何工具可以搜索远程svn存储库?

7 个解决方案

#1


FishEye is a pretty well-known tool in this space.

FishEye是这个领域非常着名的工具。

I have also seen people use a search engine indexers (e.g. Lucene) to crawl the repo. Set this up with a post-commit hook to trigger a re-index when the content changes.

我也看到人们使用搜索引擎索引器(例如Lucene)来抓取回购。使用提交后挂钩进行设置,以在内容更改时触发重新索引。

As long as the repo can be accessed via http, it can be crawled by most web content indexers. The only problem is that it will only index the HEAD, not older revs. For that, you need an indexing tool that understands the revision structure (that's where FishEye comes in).

只要可以通过http访问repo,它就可以被大多数Web内容索引器抓取。唯一的问题是它只会索引HEAD,而不是旧的转速。为此,您需要一个能够理解修订结构的索引工具(这就是FishEye的用武之地)。

#2


You could try Supose. It is a subversion indexing and query application in Java. Best of it all, is that it indexes not only the trunk or current snapshots but all revisions.

你可以试试Supose。它是Java中的一个subversion索引和查询应用程序。最重要的是,它不仅索引中继或当前快照,还索引所有修订。

http://www.supose.org/wiki/supose

#3


Here's the repo search plugin for trac:

这是trac的repo搜索插件:

http://trac-hacks.org/wiki/RepoSearchPlugin

#4


It seems there are some tools, but they do not seem very mature yet. One I have found some time ago is VoilaSVN - search is only a part of it, and its installation does not seem to be ot very straightforward.

似乎有一些工具,但它们似乎还不是很成熟。我前段时间发现的是VoilaSVN - 搜索只是其中的一部分,它的安装似乎并不是那么简单。

#5


Why not just check it out to a local drive and use Google Desktop?

为什么不直接查看本地硬盘并使用Google桌面?

#6


I use krugle. They have a free VMWare image (Basic). It's a bitch to download and setup (it's big, and the admin interface is a bit clunky), but once set up, searching and seeing activity is pretty good.

我用krugle。他们有一个免费的VMWare映像(Basic)。这是一个下载和设置的婊子(它很大,管理界面有点笨拙),但一旦设置,搜索和查看活动是相当不错的。

#7


How about using Trac. It has a decent GUI and is open source.

如何使用Trac。它有一个像样的GUI,是开源的。

#1


FishEye is a pretty well-known tool in this space.

FishEye是这个领域非常着名的工具。

I have also seen people use a search engine indexers (e.g. Lucene) to crawl the repo. Set this up with a post-commit hook to trigger a re-index when the content changes.

我也看到人们使用搜索引擎索引器(例如Lucene)来抓取回购。使用提交后挂钩进行设置,以在内容更改时触发重新索引。

As long as the repo can be accessed via http, it can be crawled by most web content indexers. The only problem is that it will only index the HEAD, not older revs. For that, you need an indexing tool that understands the revision structure (that's where FishEye comes in).

只要可以通过http访问repo,它就可以被大多数Web内容索引器抓取。唯一的问题是它只会索引HEAD,而不是旧的转速。为此,您需要一个能够理解修订结构的索引工具(这就是FishEye的用武之地)。

#2


You could try Supose. It is a subversion indexing and query application in Java. Best of it all, is that it indexes not only the trunk or current snapshots but all revisions.

你可以试试Supose。它是Java中的一个subversion索引和查询应用程序。最重要的是,它不仅索引中继或当前快照,还索引所有修订。

http://www.supose.org/wiki/supose

#3


Here's the repo search plugin for trac:

这是trac的repo搜索插件:

http://trac-hacks.org/wiki/RepoSearchPlugin

#4


It seems there are some tools, but they do not seem very mature yet. One I have found some time ago is VoilaSVN - search is only a part of it, and its installation does not seem to be ot very straightforward.

似乎有一些工具,但它们似乎还不是很成熟。我前段时间发现的是VoilaSVN - 搜索只是其中的一部分,它的安装似乎并不是那么简单。

#5


Why not just check it out to a local drive and use Google Desktop?

为什么不直接查看本地硬盘并使用Google桌面?

#6


I use krugle. They have a free VMWare image (Basic). It's a bitch to download and setup (it's big, and the admin interface is a bit clunky), but once set up, searching and seeing activity is pretty good.

我用krugle。他们有一个免费的VMWare映像(Basic)。这是一个下载和设置的婊子(它很大,管理界面有点笨拙),但一旦设置,搜索和查看活动是相当不错的。

#7


How about using Trac. It has a decent GUI and is open source.

如何使用Trac。它有一个像样的GUI,是开源的。