mercurial and S3

Dirkjan Ochtman dirkjan at ochtman.nl
Sat Jun 9 23:12:26 UTC 2007


Mark wrote:
> Has anybody implemented anything that would allow me to host a mercurial 
> repo on S3 using a private Virtual Hosted Bucket?  
> http://docs.amazonwebservices.com/AmazonS3/2006-03-01/VirtualHosting.html 

I don't really think it's possible to host Mercurial on S3 whether you 
use the VirtualHosting thing or not. You really need an environment that 
can craft a response to the requests in Python (whether it uses a CGI or 
WSGI interface), and IIUC S3 doesn't do any crafting at all, it just 
serves. So you'd need a "real" host for this.

(That said, there are some ideas being kicked around for hgserve.org, 
which is supposed to start providing free Mercurial hosting to OSS 
projects, but I guess it depends on what you want to host.)

Regards,

Dirkjan




More information about the Mercurial mailing list