I’m in need of a software (not a service) that has a web API to both create as well as interact with mercurial repositories. In my mind’s eye I imagine the API might look like:
POST /repos
name=foo
Creates a repository at /repos/foo, which then works as per hgwebdir.cgi.
Does such software exist? If not, any recommendations about how to go about implementing it (I’m OK with python syntax but relatively clueless about the best way of constructing apps like this).
I am not aware of such software, but it would be pretty trivial to create one yourself if you are familiar with web applications and python.
should do the trick. Of course you need to wrap it inside a nice WSGI script to have the web interface / API
For further info, consult the Mercurial API documentation