On 27.5.2010 12:53, Grzegorz Kokosinski wrote:
Hi all,
Is there any possibility to disable support for control version system
(perforce in my case). My sources are synchronized by another program,
so there is no need to do it again by opengrok. Its only make whole
process of indexation longer.
Yes, there is ...
if you use your own script check:
http://src.opensolaris.org/source/xref/opengrok/trunk/src/org/opensolaris/opengrok/index/CommandLineOptions.java#69
(is more fine grained than OpenGrok script and one can ommit generation
of historycache so it will be generated on the fly)
if you use OpenGrok script you can do:
# OPENGROK_REMOTE_REPOS=1 Opengrok ....
or
# OPENGROK_SCAN_REPOS=1 OPENGROK_REMOTE_REPOS=1 OpenGrok ...
more in http://src.opensolaris.org/source/xref/opengrok/trunk/OpenGrok
note that you will loose history if you don't scan for repos, or just
for repos with remote repositories if you disable those
(note that OPENGROK_SCAN_DEPTH was added in 0.9 and can speed up
searching for repos a lot)
a hacky alternative is to temporary put the perforce binary out of the
$PATH for indexer process ;)
xing the fingers
L
Best regards.
Grzegorz KokosiĆski
_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss
_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss