{"thread":{"id":"257","subject":"git remote repositories","startedAt":"2005-04-22T23:38:43Z","lastAt":"2005-04-23T23:16:30Z","messageCount":2,"participants":["Dan Weber","Petr Baudis"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"1358","messageId":"Pine.LNX.4.62.0504221929480.20133@mirrorlynx.com","threadId":"257","inReplyTo":null,"subject":"git remote repositories","fromName":"Dan Weber","fromEmail":"dan@mirrorlynx.com","sentAt":"2005-04-22T23:38:43Z","receivedAt":"2005-04-22T23:38:43Z","isPatch":false,"sender":{"key":"dan@mirrorlynx.com","avatar":null},"body":"\nHi,\n\nIt wasn't that long ago that the pasky git tree was relocated.  This \nrequired a modification to the .git directory in a local pull.  A dns \nsystem could be built to ensure the following:\n\nA) quick easy lookup of archive locations\nB) handle changes of repository location\nC) add mirror support\n\nSo heres the plan...\nI do a lot of work in sip/voip field, and our approach to handling backup \nproxies and routers is to use a dns srv record.\n\nHere's how it works for voip/sip.\n\n_{protocol}._{transport}.{name}.hostname.org\n\nA sample lookup:\n\ndig SRV _sip._udp.proxy-dca.broadvoice.com\n\n\n;; QUESTION SECTION:\n;_sip._udp.proxy-dca.broadvoice.com. IN SRV\n\n;; ANSWER SECTION:\n_sip._udp.proxy-dca.broadvoice.com. 86400 IN SRV 1 0 5060 \nproxy.mia.broadvoice.com.\n_sip._udp.proxy-dca.broadvoice.com. 86400 IN SRV 0 0 5060 \nproxy.dca.broadvoice.com.\n\n\nNow of course we could null out some of those fields and swap sip for git \nand udp for rsync, then replace proxy.foo to rsync://host/path/to/git. \nSince we're using rsync, mirroring is simplified by just rsyncing the \ntrees.\n\nDan\n"},{"id":"1428","messageId":"20050423231630.GJ13222@pasky.ji.cz","threadId":"257","inReplyTo":"Pine.LNX.4.62.0504221929480.20133@mirrorlynx.com","subject":"Re: git remote repositories","fromName":"Petr Baudis","fromEmail":"pasky@ucw.cz","sentAt":"2005-04-23T23:16:30Z","receivedAt":"2005-04-23T23:16:30Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Dear diary, on Sat, Apr 23, 2005 at 01:38:43AM CEST, I got a letter\nwhere Dan Weber <dan@mirrorlynx.com> told me that...\n> It wasn't that long ago that the pasky git tree was relocated.  This \n> required a modification to the .git directory in a local pull.  A dns \n> system could be built to ensure the following:\n> \n> A) quick easy lookup of archive locations\n> B) handle changes of repository location\n> C) add mirror support\n\nWhat's wrong with just doing roundrobin? :)\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\nC++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor\n"}]}