Re: [COGITO PATCH] mirroring repositories

From: Petr Baudis <pasky@ucw.cz>
Date: 2005-06-03 07:24:36
Dear diary, on Sun, May 29, 2005 at 11:41:23PM CEST, I got a letter
where Michael Frank <msfrank@syntaxjockey.com> told me that...
> The attached patch adds the two programs cg-mirror-add and
> cg-mirror-sync.  Say you do all of your work on your laptop and you want
> to make a mirror of your repository available to the public.  You
> specify the location of the mirror with cg-mirror-add:
> 
> $ cg-mirror-add scp://my.server:/var/www/repos/project.git
> 
> which locally creates the file .git/mirrors.  Whenever you want to
> upload your changes, you run cg-mirror-sync.

FWIW, I think this is the wrong approach - full-blown pushing makes much
more sense since it's a full superset of mirroring and it's more
universal, and not *that* more complicated to do (basically just the
HEAD stuff - and I think the race conditions around that don't matter
that much in the real life if you take some basic crude protections).

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Jun 03 07:32:05 2005

This archive was generated by hypermail 2.1.8 : 2005-06-03 07:32:36 EST