* How to set up git mirror
@ Tony Baechler
` William Hubbs
0 siblings, 1 reply; 3+ messages in thread
From: Tony Baechler @ UTC (permalink / raw)
To: speakup
Hi,
I tried the --mirror option to git-clone, but it says that there is no
such option. I think I want git-fetch, but does this mean that I must
first do a clone and then pass the --mirror option to git-fetch?
Also, how does one set up the daemon? All I probably need is a man
page, but a brief list of steps would be helpful. I'm thinking of
setting up both git and http mirrors on different machines.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to set up git mirror
How to set up git mirror Tony Baechler
@ ` William Hubbs
` Tony Baechler
0 siblings, 1 reply; 3+ messages in thread
From: William Hubbs @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi again Tony,
On Sun, Jul 05, 2009 at 11:22:06AM -0700, Tony Baechler wrote:
> I tried the --mirror option to git-clone, but it says that there is no such
> option. I think I want git-fetch, but does this mean that I must first do
> a clone and then pass the --mirror option to git-fetch?
What version of git are you running? 1.6.3.3 does have a --mirror
option for clone. Also, the earlier versions have a security issue, so
you will want to upgrade to 1.6.3.3 if you can.
Here is the gentoo bug on this issue:
http://bugs.gentoo.org/273905
> Also, how does one set up the daemon? All I probably need is a man page,
> but a brief list of steps would be helpful. I'm thinking of setting up
> both git and http mirrors on different machines.
Which distro do you use? I will attempt to assist you with setting it
up if I can.
Thanks,
William
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
iEYEARECAAYFAkpQ9CMACgkQblQW9DDEZTjmuwCfaCMMgmoYAO/dR7EWaxgai75v
LNgAoLG0fM6/WiN2B8gOXVdby0dE6D6p
=XTRB
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: How to set up git mirror
` William Hubbs
@ ` Tony Baechler
0 siblings, 0 replies; 3+ messages in thread
From: Tony Baechler @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Hi,
Both machines run Debian. The web host with the http mirror runs Debian
Etch while the machine which would host the daemon runs Lenny.
Unfortunately, I can't upgrade the git version on the web host which is
1.5.6.5. Would it be better to abandon the web host and only use the
daemon? That's not my ideal solution because that machine has hardware
problems, but I do have full control and I can install upgrades as
needed. The web host (Dreamhost) does offer ssh and regular shell
access, so there should be no reason why git-pull, clone, fetch, etc
shouldn't work. I'm fairly sure they have rsync also if that would
work. Maybe it would be better to use rsync for the Speakup web site
and only use the git daemon for the git mirror, assuming
linux-speakup.org supports rsync. Also, Dreamhost has much more
bandwidth and generally faster connections than the other machine. The
daemon machine (called fileserver) is on a business cable connection so
it's faster than residential but not as fast as Dreamhost. What are
your suggestions? I have full control over my dns records, so I can
switch domains around between machines as needed. You can write
off-list if you prefer.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
How to set up git mirror Tony Baechler
` William Hubbs
` Tony Baechler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).