git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Announcing Gitspread - Spread Git commits to several servers with a single push
@ 2011-04-24 22:15 Øyvind A. Holm
  2011-04-25 10:35 ` Jakub Narebski
  0 siblings, 1 reply; 3+ messages in thread
From: Øyvind A. Holm @ 2011-04-24 22:15 UTC (permalink / raw)
  To: git

A project is often stored on several hosting services like Gitorious,
GitHub, repo.or.cz or similar for backup purposes. Ideally, all these
repositories should be updated at the same time when pushing. If you’re
using a slow Internet connection, like a mobile connection from a
laptop, this process tends to be rather slow because the commits have to
be pushed several times over a slow connection. Gitspread aims to solve
this by pushing the commits once to a server with a fast connection, and
pushing the commits from there to all the defined remotes.

Setup
-----

- Create a directory on a server with a fast connection where multiple
  repositories can be stored
- Create a bare repository for each project under that directory
- Copy the post-receive hook script to the hooks/ directory in the
  repositories
- Define all necessary remotes using SSH push URLs
- Start the gitspreadd daemon in a shell where ssh-agent is activated
- Set up a git remote on the local computer with the slow connection
  pointing to the repository on the server

That’s all there is. From now on, you can push to the defined remote and
let the remote server with a faster connection take care of spreading
the commits around.

Source code
-----------

Gitspread can be cloned from the following repositories:

- git://gitorious.org/sunny256/gitspread.git
- git://github.com/sunny256/gitspread.git
- git://repo.or.cz/gitspread.git

Bugs and suggestions
--------------------

Bugs and suggestions can be filed in the issue tracker at
<https://github.com/sunny256/gitspread/issues> .

License: GNU General Public License version 3 or later

Regards,
Øyvind

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Announcing Gitspread - Spread Git commits to several servers with a single push
  2011-04-24 22:15 Announcing Gitspread - Spread Git commits to several servers with a single push Øyvind A. Holm
@ 2011-04-25 10:35 ` Jakub Narebski
  2011-04-25 11:31   ` Øyvind A. Holm
  0 siblings, 1 reply; 3+ messages in thread
From: Jakub Narebski @ 2011-04-25 10:35 UTC (permalink / raw)
  To: Øyvind A. Holm; +Cc: git

Øyvind A. Holm <sunny@sunbase.org> writes:

> A project is often stored on several hosting services like Gitorious,
> GitHub, repo.or.cz or similar for backup purposes. Ideally, all these
> repositories should be updated at the same time when pushing. If you’re
> using a slow Internet connection, like a mobile connection from a
> laptop, this process tends to be rather slow because the commits have to
> be pushed several times over a slow connection. Gitspread aims to solve
> this by pushing the commits once to a server with a fast connection, and
> pushing the commits from there to all the defined remotes.
[...]

Could you please add short info about this tool to

  https://git.wiki.kernel.org/index.php/InterfacesFrontendsAndTools

page on Git Wiki?

Thanks in advance
-- 
Jakub Narebski
Poland
ShadeHawk on #git

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Announcing Gitspread - Spread Git commits to several servers with a single push
  2011-04-25 10:35 ` Jakub Narebski
@ 2011-04-25 11:31   ` Øyvind A. Holm
  0 siblings, 0 replies; 3+ messages in thread
From: Øyvind A. Holm @ 2011-04-25 11:31 UTC (permalink / raw)
  To: Jakub Narebski; +Cc: git

On 25 April 2011 12:35, Jakub Narebski <jnareb@gmail.com> wrote:
> Øyvind A. Holm <sunny@sunbase.org> writes:
> > [Announcement about the Gitspread tool]
>
> Could you please add short info about this tool to
>
>  https://git.wiki.kernel.org/index.php/InterfacesFrontendsAndTools
>
> page on Git Wiki?

Done, it ended up in the Hooks section. Thanks for reminding me about
that page.

Regards,
Øyvind

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-25 11:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-24 22:15 Announcing Gitspread - Spread Git commits to several servers with a single push Øyvind A. Holm
2011-04-25 10:35 ` Jakub Narebski
2011-04-25 11:31   ` Øyvind A. Holm

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).