{"thread":{"id":"27170","subject":"Announcing Gitspread - Spread Git commits to several servers with a single push","startedAt":"2011-04-24T22:15:20Z","lastAt":"2011-04-25T11:31:13Z","messageCount":3,"participants":["Øyvind A. Holm","Jakub Narebski"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"166290","messageId":"BANLkTikuCfnSuY2r+YzWu1PegP3baniOjA@mail.gmail.com","threadId":"27170","inReplyTo":null,"subject":"Announcing Gitspread - Spread Git commits to several servers with a single push","fromName":"Øyvind A. Holm","fromEmail":"sunny@sunbase.org","sentAt":"2011-04-24T22:15:20Z","receivedAt":"2011-04-24T22:15:20Z","isPatch":false,"sender":{"key":"sunny@sunbase.org","avatar":"https://avatars.githubusercontent.com/u/113445?v=4"},"body":"A project is often stored on several hosting services like Gitorious,\nGitHub, repo.or.cz or similar for backup purposes. Ideally, all these\nrepositories should be updated at the same time when pushing. If you’re\nusing a slow Internet connection, like a mobile connection from a\nlaptop, this process tends to be rather slow because the commits have to\nbe pushed several times over a slow connection. Gitspread aims to solve\nthis by pushing the commits once to a server with a fast connection, and\npushing the commits from there to all the defined remotes.\n\nSetup\n-----\n\n- Create a directory on a server with a fast connection where multiple\n  repositories can be stored\n- Create a bare repository for each project under that directory\n- Copy the post-receive hook script to the hooks/ directory in the\n  repositories\n- Define all necessary remotes using SSH push URLs\n- Start the gitspreadd daemon in a shell where ssh-agent is activated\n- Set up a git remote on the local computer with the slow connection\n  pointing to the repository on the server\n\nThat’s all there is. From now on, you can push to the defined remote and\nlet the remote server with a faster connection take care of spreading\nthe commits around.\n\nSource code\n-----------\n\nGitspread can be cloned from the following repositories:\n\n- git://gitorious.org/sunny256/gitspread.git\n- git://github.com/sunny256/gitspread.git\n- git://repo.or.cz/gitspread.git\n\nBugs and suggestions\n--------------------\n\nBugs and suggestions can be filed in the issue tracker at\n<https://github.com/sunny256/gitspread/issues> .\n\nLicense: GNU General Public License version 3 or later\n\nRegards,\nØyvind\n"},{"id":"166306","messageId":"m3k4eiwrfe.fsf@localhost.localdomain","threadId":"27170","inReplyTo":"BANLkTikuCfnSuY2r+YzWu1PegP3baniOjA@mail.gmail.com","subject":"Re: Announcing Gitspread - Spread Git commits to several servers with a single push","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2011-04-25T10:35:02Z","receivedAt":"2011-04-25T10:35:02Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Øyvind A. Holm <sunny@sunbase.org> writes:\n\n> A project is often stored on several hosting services like Gitorious,\n> GitHub, repo.or.cz or similar for backup purposes. Ideally, all these\n> repositories should be updated at the same time when pushing. If you’re\n> using a slow Internet connection, like a mobile connection from a\n> laptop, this process tends to be rather slow because the commits have to\n> be pushed several times over a slow connection. Gitspread aims to solve\n> this by pushing the commits once to a server with a fast connection, and\n> pushing the commits from there to all the defined remotes.\n[...]\n\nCould you please add short info about this tool to\n\n  https://git.wiki.kernel.org/index.php/InterfacesFrontendsAndTools\n\npage on Git Wiki?\n\nThanks in advance\n-- \nJakub Narebski\nPoland\nShadeHawk on #git\n"},{"id":"166312","messageId":"BANLkTim4g8q=RFiJQjhs+UQARakvioeX9w@mail.gmail.com","threadId":"27170","inReplyTo":"m3k4eiwrfe.fsf@localhost.localdomain","subject":"Re: Announcing Gitspread - Spread Git commits to several servers with a single push","fromName":"Øyvind A. Holm","fromEmail":"sunny@sunbase.org","sentAt":"2011-04-25T11:31:13Z","receivedAt":"2011-04-25T11:31:13Z","isPatch":false,"sender":{"key":"sunny@sunbase.org","avatar":"https://avatars.githubusercontent.com/u/113445?v=4"},"body":"On 25 April 2011 12:35, Jakub Narebski <jnareb@gmail.com> wrote:\n> Øyvind A. Holm <sunny@sunbase.org> writes:\n> > [Announcement about the Gitspread tool]\n>\n> Could you please add short info about this tool to\n>\n>  https://git.wiki.kernel.org/index.php/InterfacesFrontendsAndTools\n>\n> page on Git Wiki?\n\nDone, it ended up in the Hooks section. Thanks for reminding me about\nthat page.\n\nRegards,\nØyvind\n"}]}