1. Software Freedom Conservancy
  2. Kallithea
  3. kallithea
  4. Issues


Issue #166 new

Support "hgweb" (and maybe gitweb)

André Klitzing
created an issue


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.

[1] https://www.reviewboard.org

[2] https://bitbucket.org/sdorra/scm-manager/

Comments (2)

  1. Mads Kiilerich

    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.

  2. Log in to comment