4

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 the history of the repository. What can I do?

Also, how can I update the indexes instead of creating new ones all the time?

halfer
  • 19,824
  • 17
  • 99
  • 186
Love Gupta
  • 975
  • 2
  • 16
  • 31

1 Answers1

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.

alanc
  • 4,102
  • 21
  • 24
Sandeep Singhal
  • 346
  • 2
  • 10
  • 1
    I have opengrok 0.11. OpenGrok and SVN are not installed on same server. They are installed on different server. Can you please tell me how to enable history for something like this. The link you have added is not that helpful as i already tried the same but it didn't work. – Love Gupta Dec 24 '12 at 08:01
  • What a complicate thing it is to setup SVN with OpenGrok... Why on Earth would that Remote Repo be disabled by default... – Skippy Fastol Jan 24 '13 at 16:59
  • @SkippyFastol : It takes extremely long to get remote subversion history. I am trying to see if there is any other optimal way to limit the amount of history that should be fetched. – Sandeep Singhal Jan 26 '13 at 06:54
  • Would be nice if there was some way to mirror or sync svn history – clearlight Jan 24 '19 at 12:23