[kforge-user] mercurial support?

Rufus Pollock rufus.pollock at okfn.org
Wed Aug 22 15:03:36 UTC 2007


John Bywater wrote:
> Neal Becker wrote:
>> There are multiple ways to talk to the remote hg. The simplest is over 
>> ssh.

As discussed in a previous thread we don't have ssh support in KForge 
because of the difficulties of setting it up simply and securely.

> We can get KForge to update pretty much any server-side configuration.
> 
> What configuration changes would you need KForge to make?
> 
> (Could it be run over DAV?)

 From reading the hg docs it seems you are able to make hg repositories 
available over http using a cgi script, see:

http://www.selenic.com/mercurial/wiki/index.cgi/PublishingRepositories
http://www.selenic.com/mercurial/wiki/index.cgi/HgWebDirStepByStep

For KForge you would just write a plugin which would either install the 
necessary cgi script and setup the apache config or you could even 
incorporate the cgi script into the KForge code. As John said take a 
look at:

http://knowledgeforge.net/kforge/trac/browser/trunk/src/kforge/plugin/svn.py

~rufus




More information about the kforge-user mailing list