Announcing Gitspread - Spread Git commits to several servers with a single push

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]