Git support

Disclaimer
The content of this page is under active discussion by the TC.
It only reflects the current state of our thoughts and has not been voted or officially supported/endorsed by the TC.

Git @ OW2

OW2 provide git source code management system at http://gitorious.ow2.org.

OW2 @ GitHub

Some of the OW2 projects are already hosting their source at GitHub. OW2 does not force projects to host their source on the OW2 infrastructure but we think that a nice dissemination channel will be to use the GitHub facilities to promote OW2 code.
In order to achieve that, a GitHub organization as been created to group all the OW2 related repositories and is available at https://github.com/ow2.

Mirroring Procedures

The mature projects are automatically mirrored by the OW2 TC team. For other projects, please ask the OW2 TC and support.
The mirroring procedures are listed below.

Git projects

  1. If the project if hosted on git@OW2: it will be mirrored on the OW2@GitHub organization.
    2. If the project is hosted on GitHub: it will not be mirrored on OW2@GitHub organization (Note from CHA: Not sure that GitHub guys want to mirror themselves...)
    3. If the project is hosted elsewhere: it will be mirrored on OW2@GitHub organization.

Note to TC: GitHub just asks to send them repositories URL and organization name to create mirrors.

SVN projects

We can mirror SVN projects on GitHub only if we translated them into git repositories and pushed them to our gitorious instance as defined before.
The procedure to translate and update git repositories based on cronjobs has to be defined.
Some useful links for cron definition: 

  1. http://stackoverflow.com/questions/747075/how-to-git-svn-clone-the-last-n-revisions-from-a-subversion-repository
    2. This gem needs to be tested https://github.com/alloy/git-svn-mirror : Tested on Petals project, took 24 hours to create the initial repository from trunk, tags and branches. Maybe we can focus on trunk at least.
    3. http://www.icoretech.org/2009/08/how-to-mirror-a-svn-repository-on-github/

CVS projects

Oh really? Please consider to move your sources to SVN, or git directly. 

Notes

  • CHA contacted GitHub support on 2012/03/13 : "We can do git mirrors for you, you just need to create the org account and let us know when a new mirror is to be added.  We can't do svn mirrors, but you might be able to do that yourself with git-svn"
  • Github support team just need that we create all the repositories we need and tell them which gitorious repos to mirror where.
  • There are some questions on how we can keep this stuff easy to manage. Mirroring ourselves and creating scripts using APIs will be probably better...
Tags: git github
Created by Christophe Hamerling on 2012/03/14 10:20

Get Involved

Share technical know how with other users, and help to promote OW2

Powered by XWiki Hosted by Xsalto Free PageRank Checker Creative Commons 2.0 license Legal Notice