* git remote repositories
@ 2005-04-22 23:38 Dan Weber
2005-04-23 23:16 ` Petr Baudis
0 siblings, 1 reply; 2+ messages in thread
From: Dan Weber @ 2005-04-22 23:38 UTC (permalink / raw)
To: Git Mailing List
Hi,
It wasn't that long ago that the pasky git tree was relocated. This
required a modification to the .git directory in a local pull. A dns
system could be built to ensure the following:
A) quick easy lookup of archive locations
B) handle changes of repository location
C) add mirror support
So heres the plan...
I do a lot of work in sip/voip field, and our approach to handling backup
proxies and routers is to use a dns srv record.
Here's how it works for voip/sip.
_{protocol}._{transport}.{name}.hostname.org
A sample lookup:
dig SRV _sip._udp.proxy-dca.broadvoice.com
;; QUESTION SECTION:
;_sip._udp.proxy-dca.broadvoice.com. IN SRV
;; ANSWER SECTION:
_sip._udp.proxy-dca.broadvoice.com. 86400 IN SRV 1 0 5060
proxy.mia.broadvoice.com.
_sip._udp.proxy-dca.broadvoice.com. 86400 IN SRV 0 0 5060
proxy.dca.broadvoice.com.
Now of course we could null out some of those fields and swap sip for git
and udp for rsync, then replace proxy.foo to rsync://host/path/to/git.
Since we're using rsync, mirroring is simplified by just rsyncing the
trees.
Dan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: git remote repositories
2005-04-22 23:38 git remote repositories Dan Weber
@ 2005-04-23 23:16 ` Petr Baudis
0 siblings, 0 replies; 2+ messages in thread
From: Petr Baudis @ 2005-04-23 23:16 UTC (permalink / raw)
To: Dan Weber; +Cc: Git Mailing List
Dear diary, on Sat, Apr 23, 2005 at 01:38:43AM CEST, I got a letter
where Dan Weber <dan@mirrorlynx.com> told me that...
> It wasn't that long ago that the pasky git tree was relocated. This
> required a modification to the .git directory in a local pull. A dns
> system could be built to ensure the following:
>
> A) quick easy lookup of archive locations
> B) handle changes of repository location
> C) add mirror support
What's wrong with just doing roundrobin? :)
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-04-23 23:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-22 23:38 git remote repositories Dan Weber
2005-04-23 23:16 ` Petr Baudis
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 NNTP newsgroup(s).