Issue #166: Support "hgweb" (and maybe gitweb)
Reported by: | André Klitzing |
State: | new |
Created on: | 2015-10-09 07:37 |
Updated on: | 2015-12-22 14:15 |
Description
Hi!
I like to request that kallithea could support "hgweb" interface for a separate path like "https://kallithea-scm.org/hgweb/repos/kallithea/" as "hg serve" or "SCM-Manager" does.
We use reviewboard [1] for our repository. RB needs access to a "hgweb" of the repository to get all information. Even our own scripts needs access to the REST-API of Mercurial like "http://hgweb/repon/branches?style=json".
So it would be helpful if kallithea could provide the hgweb/gitweb interface, too. SCM-Manager [2] also provides it as it forks a separate python process for Mercurial.
Attachments
Comments
Comment by Andrej Shadura, on 2015-10-09 07:40
Comment by Mads Kiilerich, on 2015-12-22 14:15
It is already almost there - see kallithea/lib/middleware/simplehg.py . Kallithea calls out to hgweb for Mercurial operations but uses its own web interface for all other (= browser) requests. It can be exposed with a bit of hacking. A proper upstreamable solution would require a nice way to distinguish these hgweb requests from ordinary Kallithea web requests.