On Friday, October 07, 2011, Trond Norbye elucidated thus:
> On 07.10.11 17:18, "Joshua J. Kugler" <jos...@azariah.com> wrote:
> >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.
> 
> Why is it extremely disappointing that you need to check out a single
> copy of your source? OpenGrok isn't tied to svn, but supports a wide
> range of scm systems (git, mercurial, bazaar, cvs, subversion,
> monotone, clear case, sccs etc). It makes the rest of the code a lot
> easier (and less dependent on the actual scm system) to be able to
> operate on a checked out copy of the code instead of having to go
> through a "virtual filesystem" every time we want to look at a
> source file.

OK, I guess I overstated. Not "extremely disappointing."  Just not the 
way I was expecting it to work. I didn't really want the cruft of 
another checkout sitting around...not a big deal, really, just caught me 
off guard. Sorry.

> In addition to that checked out clone we create a pre formatted html
> file (but you can disable this if you like to) of the source files.

Yeah, I'd like to disable this.  I assume that's an OPENGROK_* variable?  
What I'd rather do is provide a link to the file via our source code 
viewer, like https://ourdomain.com/trac/browser/path/to/found/file.html. 
That would at least mitigate the problem of not being able to restrict 
results by user. I wouldn't mind the search results showing context in 
the web page, just not display the entire file.

> >> 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?"
> 
> A remote repo is when you access it from a remote host and not from
> file:///

Right, I understand that. What I mean is: how do you configure OpenGrok 
to index a remote repo instead of requiring a local checkout? Or am I 
not understandig the feature referred to by this trigger?

j

-- 
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