{"thread":{"id":"17051","subject":"Maintaining site-wide clones","startedAt":"2009-01-08T16:47:50Z","lastAt":"2009-01-08T17:22:44Z","messageCount":2,"participants":["Daniel Barkalow","Sitaram Chamarty"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"99714","messageId":"alpine.LNX.1.00.0901081129500.19665@iabervon.org","threadId":"17051","inReplyTo":null,"subject":"Maintaining site-wide clones","fromName":"Daniel Barkalow","fromEmail":"barkalow@iabervon.org","sentAt":"2009-01-08T16:47:50Z","receivedAt":"2009-01-08T16:47:50Z","isPatch":false,"sender":{"key":"barkalow@iabervon.org","avatar":"https://avatars.githubusercontent.com/u/55364219?v=4"},"body":"Is there a good way of handling a setup where the canonical repository is \nin some slow foreign system and you want a lot of git clones? I've been \nusing a bare repository that I import into and clone, but then I need to \ngo to the bare repository to update anything, which is vaguely annoying.\n\nI remember people having my use case a while ago, and I was wondering if \npeople have come up with improvements since.\n\n\t-Daniel\n*This .sig left intentionally blank*\n"},{"id":"99725","messageId":"slrngmcdj4.i8d.sitaramc@sitaramc.homelinux.net","threadId":"17051","inReplyTo":"alpine.LNX.1.00.0901081129500.19665@iabervon.org","subject":"Re: Maintaining site-wide clones","fromName":"Sitaram Chamarty","fromEmail":"sitaramc@gmail.com","sentAt":"2009-01-08T17:22:44Z","receivedAt":"2009-01-08T17:22:44Z","isPatch":false,"sender":{"key":"sitaramc@gmail.com","avatar":"https://avatars.githubusercontent.com/u/43316?v=4"},"body":"On 2009-01-08, Daniel Barkalow <barkalow@iabervon.org> wrote:\n> Is there a good way of handling a setup where the canonical repository is \n> in some slow foreign system and you want a lot of git clones? I've been \n> using a bare repository that I import into and clone, but then I need to \n> go to the bare repository to update anything, which is vaguely annoying.\n\nWhy?  You can push to it too?\n\nI don't have your use case but if I did, I'd do this:\n - everyone clones from the local mirror\n - one person clones the slow foreign system at whatever\n   interval he thinks appropriate, and pushes to the local\n   mirror\n - (or the local mirror can do this via cron)\n\nThis works fine if you can sort of judge the average\nfrequency of updates, and not getting some of them\n*immediately* is not earth shattering for local developers.\n\nIf the slow foreign system lets you put in a post-commit\nhook that'll be even easier -- no more guesswork!\n"}]}