[darcs-users] Mirroring repos to a web host (was: Using darcs in the real world)

Gour gour at mail.inet.hr
Tue Nov 25 18:15:03 UTC 2003


David Roundy (droundy at abridgegame.org) wrote:

> If you have shell access on the web-hosted site, using darcs push (possibly
> --and-apply via scp/ssh) is a nice efficent way to get update the mirror
> with reasonably little bandwidth used.  Or pull would work equally well, if
> your development machine can be accessed via ssh.  When using ssh, I assume
> you use an ssh-agent.  Otherwise, of course, it would be a pain to have to
> type your passphrase again and again.

Thank you for suggestion. I have shell access to web site and have just
configured ssh-agent via keychain script and now every konsole session is
enabled for pass(word)phrase-less ssh sessions. Great!

> 
> But yes, the working directory and current are unnecesary, unless you want
> to actually use the repository.  However, if you were to run the cgi script
> to allow browsing of the repository, you'd want current (in principle,
> assuming a sufficiently smart cgi script) so you wouldn't have to read the
> entire repository every time you want to know the contents of a file.

Well, if I want other folks to pull the code (using darcs :-) then they are
required (and since I want to spread the word about darcs, having public
repos is a good opportunity).

Sincerely,
Gour

-- 
Gour
gour at mail.inet.hr
Registered Linux User #278493





More information about the darcs-users mailing list