[darcs-users] Mirroring repos to a web host
yarcs at qualitycode.com
Wed Nov 26 16:19:32 UTC 2003
David Roundy wrote:
> Yes, you do need darcs on the web-hosted site. Hopefully if you have shell
> access you can install darcs in ~/bin, although I'm afraid that might
> require compiling ghc to compile darcs... which could be scary.
I have one web host that is dirt cheap, and the ONLY way to push files
up is with FTP. Ugh. Doable, but figuring out which files need to be
sent and which do not is a bit challenging. For small projects, just
push the whole directory up, with overwrite, every time you want to
sync. If I were staying there, I would find or write an ftp optimizer.
My other web host supports 23 languages, including erlang and
prolog...but not haskell :-(
As you suggest, I was too frightened to even try to compile darcs (or
even monotone) up there.
But I have ssh access. So I created a 'push' script that will update my
remote repository from my local working directory. It turned out to be
simple, once my Linux-guru friend told me what to do. I don't know if
it's exactly correct, but it seems to do what I want. You can see it for
[[[[NOTE: That URL may change, so please don't count on it working for
more than a few weeks from now!]]]
More information about the darcs-users