Searching history using opengrok

☆樱花仙子☆ 提交于 2020-01-01 11:53:29

问题


i have been working on OPENGROK for searching through my SVN code repository. It requires a checked out version of the repository to index it. I have been able to achieve is searching through the repository when i have checked out version on my system. Where i am stuck is when i try to search through History of the repository . i am not getting any help on it. Can anyone suggest me what to do. More over if i want to update the indexes instead of creating new ones all the time how to achieve it. Any contribution will be a huge help to me. Thanks for your time and help.


回答1:


Which version of opengrok are you using ? There are two ways opengrok can show history information

  1. If opengrok and subversion are installed on the same local server OR
  2. If you have opengrok version > 0.7, history from a remote svn can be fetched as well.

Reference:

Note: A local CVSROOT (or SVN if opengrok version less than 0.7) repository must be available. File history will not be fetched from a remote server for CVS (& SVN if opengrok version less than 0.7) !.

https://github.com/OpenGrok/OpenGrok/wiki/How-to-install-OpenGrok

Update 1: One more thing to verify

The shell script "OpenGrok" in the bin directory would have an option called "OPENGROK_REMOTE_REPOS_OFF". Check that it should be blank in the script.



来源:https://stackoverflow.com/questions/10084204/searching-history-using-opengrok

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!