Instructions for hosting a repository with DreamHost

Chris Williams chris.d.williams at gmail.com
Tue Jan 1 19:42:41 CST 2008


Couple of questions in-line...

On Dec 31, 2007 11:52 PM, Matt Nordhoff <mnordhoff at mattnordhoff.com> wrote:
> cdwillie76 wrote:
> > I just went through and added step by step instructions on how to configure a
> > DreamHost account to host a mercurial repository.  The instructions can be
> > found on the DreamHost Wiki at http://wiki.dreamhost.com/Mercurial.  I am
> > noob with Mercurial so any feedback would be great.
>
> I only have a couple (times 2) comments:
>
> 1.) I don't like encouraging push_ssl = False. Just use SSH.
Wouldn't this require you to have a domain that supports SSL and have
a certificate?  I think most DreamHost accounts don't have this
option.

> 2.) I never thought of using ~/hg. I use that for private stuff and
> ~/hg.mydomain.com/hg for public stuff (of which there is none at the
> moment). You could probably just use [collections] without a symlink.
Yea.  Looking back I don't know if there is any advantage of putting
the hg directory in my home directory and symbolic link it or not.

> 3.) I don't like that RewriteCond !-f and !-d stuff. I put my repos
> under an hg/ directory so I can rewrite the entire directory.
Ok.

> 4.) What about using FastCGI? It could be a little speedier.
How would one do this?  I have heard of FastCGI and I know DreamHost
supports it but not sure how to configure for it.

> 5.) Trivial: [QSA] isn't necessary when you aren't setting a query string.
Ok.  I took that from another example.  I will remove it and see if
everything still works.


More information about the Mercurial mailing list