old blog,

Using OpenShift with a project on SVN repository

Izhar Firdaus Izhar Firdaus Follow Support Aug 27, 2012 · 1 min read
Using OpenShift with a project on SVN repository
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.
OpenShift uses GIT for the internal repo, however, you might have existing projects which are on SVN which you want to deploy into OpenShift but yet to have chance to migrate it to GIT (or for some reason, couldn't). So how do you approach this?.

The simplest trick around is, to have a GIT+SVN combined directory to work on. Here's the quick steps:

  1. Checkout/clone both the project SVN and OpenShift GIT repository into 2 separate directories.
  2. Copy .git directory from OpenShift GIT clone into the SVN checkout directory.
  3. Done.
This will setup a  directory which can be committed to both GIT and SVN. Whenever you want to deploy the code to OpenShift, git commit and git push it. Whenever you want to save the code into the code repository, svn commit it.

Written by Izhar Firdaus Follow Support
I'm a system architect, data engineer and developer advocate with passion in Free / Open Source software, entrepreneurship, community building, education and martial art. I take enjoyment in bridging and bringing together different FOSS technologies to help businesses and organizations utilize IT infrastructure to aid and optimize their business and organizational process.

diazotheme.bootstrap 0.2 released

I have been using diazotheme.bootstrap for a number of community sites for quite a while now. It was originally developed around Nove...

In old blog, Jul 27, 2012

« Previous Post

Taking preorders for "I Am Root T-Shirt"

Hi All,I'm taking pre-order for this T-shirt: "I Am Root, if you see me laughing... you'd better have a backup"Price : MYR 30Shipping...

In old blog, Aug 29, 2012

Next Post »