Git support


Git @ OW2

OW2 provide git source code management system at http://gitorious.ow2.org. Projects leaders must ask for project creation to their mentor.

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, OW2 provides mirroring mechanisms described below.

Mirroring Procedures

Candidates for mirroring needs to send an email to the TC with the following information:

  1. The target Github organization name. Each OW2 project will be mirrored into an unique organization to separate projects (we do not want to mix different project repositories in the same organization); Please do not create the organization yourself, this will be created by the scripts we use. A good name is something like ow2-yourproject.
    2. The list of repositories you want to mirror. Please give the public git URL like http://git.gitorious.ow2.org/ow2-compatibleone/accords-platform.git

The TC will add your project to the mirroring system and will send you back all the required information when all is OK.

Note that the mirroring just works from OW2 to GitHub. You still have to push your code to Git@OW2. 

Git projects

  1. If the project if hosted on git@OW2: it will be mirrored in a specific Github organization.
    2. If the project is hosted on GitHub: it will not be mirrored on OW2@GitHub organization...

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. 

Mirrored Projects

  1. CompatibleOne at https://github.com/ow2-compatibleone. (12/2012)
    2. Sirocco at https://github.com/ow2-sirocco. (01/2013)
    3. XLCloud at https://github.com/ow2-xlcloud. (01/2013)

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. Especially when projects have tons of repositories and when repositories are created...

Get Involved

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

TC Live

 

 


This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 6.4.4 - Documentation
Powered by XWiki Hosted by Xsalto Free PageRank Checker Creative Commons 2.0 license Legal Notice