On Feb 24, 2008, at 11:59 AM, Remko Tron?on wrote:

> Hi,
>
> What's the best way of adding support for a new SCM to OpenGrok.  
> Implementing subclasses for ExternalRepository (and related classes)  
> is a first step, but is there an unobstrusive way of loading these  
> classes into opengrok, or do I need to modify the OpenGrok sources  
> to add this repository? If I have to modify OpenGrok, what are the  
> changes required?
>

The easiest way is probably to implement a subclass of  
ExternalRepository and create a HistoryParser for the SCM. You must  
also update HistoryGuru.addExternalRepositories so that it knows about  
your new SCM. If you use the -S option is should now create the  
external repositories for your new SCM system :-)

Trond

Reply via email to