Re: Migrating from StarTeam to GIT
From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:46:15
Hi, On Thu, 19 Feb 2009, Jeff King wrote:
On Thu, Feb 19, 2009 at 11:19:28AM -0600, Sean Kelley wrote:quoted
Are there ways to migrate views in StarTeam to a DVCS like GIT? Anyone have experience with this?Wow, I've never even heard of StarTeam. AFAIK, there is no converter already (as in, I have never heard of one, and searching the list archive turns up nothing). Getting history data into git is usually easy. If you can generate a series of snapshots, at worst you can script around commiting each one. Or you can write to the "git fast-import" input language, which is, well...fast.
And you can learn by example: "git -p fast-export HEAD" ;-)
The tricky part will be getting your data out of StarTeam, which is apparently not very easy: http://svn.haxx.se/users/archive-2005-07/0720.shtml
According to http://en.wikipedia.org/wiki/StarTeam, there is a cross-platform Java client; I'd try to hack that, using a combination of "unzip -p $JAR META-INF/MANIFEST.MF", javap, and good luck ;-) /me has an idea and goes off Googling Yes. There is no need to hack it: http://techpubs.borland.com/starteam/2008r2/en/SDK_Documentation/api/index.html
From a quick glance, it appears that com.starbase.starteam.Project should
be the entry point. Ciao, Dscho