On Friday, October 07, 2011, Lubos Kosco elucidated thus:
> yes, you need a checkout (for every SCM type, no exception)

That is extremely disappointing. Granted, SVN Searcher (which I tried 
first) took up way to much disk space, it would access the repo 
directly.  Bummer.

> also symlinks are not a good thing to index and currently some of
> them are  ignored and I discourage usage of symlinks

A symlink in src pointing to the root of the repo seemed to work.

> source root is where the checkouts live

OK.

> OPENGROK_REMOTE_REPOS is a trigger variable to disable the remote
> repo support, which is on by default

OK...then can you explain "remote repo"?  If a checkout is required, 
then what is a "remote repo?"

> the repo will be detected from appropriate command (svn parent?) or
> files (CVS/Root , .svn???, .hg/hgrc , .... )

Understood.

> I thought OPENGROK* variables are documented at the beginning of the
> script

They are...but apparently there are still some gaps in my understanding. 
:)

Thanks for the answers!

j

> 
> xing the fingers
> L
> 
> On 7.10.2011 7:25, Joshua J. Kugler wrote:
> > In the OpenGrok wrapper, the comment above the definition for
> > "SRC_ROOT"
> > 
> > says:
> >      # REQUIRED: Source Code/Repository Root
> >      #           (your source code or the root of all repositories)
> > 
> > I made src a symlink to the path containing my SVN repo (the repo
> > itself, thus the root of the repository), but when it indexed, it
> > indexed the files in that tree (/var/lib/svn) instead of indexing
> > the files that were actually in the repository.
> > 
> > I also found:
> >      # OPTIONAL: Remote Repository Support (CVS or SVN)
> >      #           (Can be very time demanding, uncomment if needed)
> >      REMOTE_REPOSITORIES="-r on"
> >      if [ -n "${OPENGROK_REMOTE_REPOS}" ]
> >      then
> >      
> >          REMOTE_REPOSITORIES=""
> >      
> >      fi
> > 
> > If I set OPENGROK_REMOTE_REPOS to
> > 
> >    file:///var/lib/svn
> > 
> > will that work? (nope, it didn't)
> > 
> > I don't see any other documentation for variable.  In fact, I don't
> > see much documentation on the OpenGrok site relating to the
> > wrapper, or configuring which repository to use (especially remote
> > repositories).
> > 
> > I'd really like to avoid having a checkout of my entire repository,
> > and instead have OpenGrok access the respository directly.
> > 
> > I also tried removing the src/ symlink, making it a directory, and
> > placing a symlink to our SVN repo in there, but it still tries to
> > index the files themselves (db/revprop, etc), not the files in the
> > repo (my source files).
> > 
> > What am I missing?
> > 
> > j
> 
> _______________________________________________
> opengrok-discuss mailing list
> opengrok-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss


-- 
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
jos...@azariah.com - Jabber: pedah...@gmail.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A
_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

Reply via email to