Quantcast
Channel: Planet Plone - Where Developers And Integrators Write
Viewing all articles
Browse latest Browse all 3535

Kagesenshi: Using OpenShift with a project on SVN repository

$
0
0
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.



Viewing all articles
Browse latest Browse all 3535

Trending Articles