Skip to content

Proxying Mercurial HTTP Protocol

Georges Racinet requested to merge topic/heptapod/proxy-hgserve into branch/heptapod

This introduces a new class of operations in workhorse, somewhat similar to what it was doing already for Git repos: a round trip to the Rails application validates the client request and provides necessary information, notably the Mercurial access level. With this information, Workhorse then proxies the inner HTTP Mercurial server.

This relies on heptapod!69 (merged), which conditionally switches the hg HTTP controller to sending short API responses with the proper payload.

Together, they pass the whole test suite for me, finishing heptapod#120 (closed)

Merge request reports

Loading