# Migrating from StarTeam to GIT

5 messages from 2009-02-19 to 2012-10-22. Participants: Sean Kelley, Jeff King, Johannes Schindelin, ippon_solutions, victorcruz.
Thread: https://gitlist.dev/t/17902

## Sean Kelley, 2009-02-19 17:19

Subject: Migrating from StarTeam to GIT
Message-ID: <89b129c60902190919p2cdbe349o4a2a659617dae341@mail.gmail.com>
URL: https://gitlist.dev/e/89b129c60902190919p2cdbe349o4a2a659617dae341%40mail.gmail.com

```
StarTeam has got to be the horrendous version control system I have
ever encountered in a company.  StarTeam has this notion of file
sharing between what they refer to as views. Basically a view in
StarTeam can be thought of as a repository for purposes of conversion
and it can share individual files from other views. It can then branch
the files as well.  Imagine, just imagine the mess of many many views
stringing files amongst each other.   It's like a version control
system designed by my four year old with a few balls of yarn strung
all over the house.  Hideous, I know.

I have avoided using StarTeam myself but others within the company are
looking for strategies of moving to GIT or possibly Mercurial.  My
crew uses Mercurial and started using GIT but we do embedded Linux for
the most part.

Are there ways to migrate views in StarTeam to a DVCS like GIT? Anyone
have experience with this?

Sean

```

## Jeff King, 2009-02-20 03:08

Subject: Re: Migrating from StarTeam to GIT
Message-ID: <20090220030856.GD22419@coredump.intra.peff.net>
URL: https://gitlist.dev/e/20090220030856.GD22419%40coredump.intra.peff.net
In-Reply-To: <89b129c60902190919p2cdbe349o4a2a659617dae341@mail.gmail.com>

```
On Thu, Feb 19, 2009 at 11:19:28AM -0600, Sean Kelley wrote:

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

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

-Peff

```

## Johannes Schindelin, 2009-02-20 09:11

Subject: Re: Migrating from StarTeam to GIT
Message-ID: <alpine.DEB.1.00.0902201005190.10279@pacific.mpi-cbg.de>
URL: https://gitlist.dev/e/alpine.DEB.1.00.0902201005190.10279%40pacific.mpi-cbg.de
In-Reply-To: <20090220030856.GD22419@coredump.intra.peff.net>

```
Hi,

On Thu, 19 Feb 2009, Jeff King wrote:

> On Thu, Feb 19, 2009 at 11:19:28AM -0600, Sean Kelley wrote:
> 
> > 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

```

## ippon_solutions, 2012-05-23 11:19

Subject: Re: Migrating from StarTeam to GIT
Message-ID: <1337771975543-7559802.post@n2.nabble.com>
URL: https://gitlist.dev/e/1337771975543-7559802.post%40n2.nabble.com
In-Reply-To: <89b129c60902190919p2cdbe349o4a2a659617dae341@mail.gmail.com>

```
Hi,

Appreciate this thread is a few years old, but did you ever get a solution
to this?

--
View this message in context: http://git.661346.n2.nabble.com/Migrating-from-StarTeam-to-GIT-tp2354198p7559802.html
Sent from the git mailing list archive at Nabble.com.

```

## victorcruz, 2012-10-22 23:24

Subject: Re: Migrating from StarTeam to GIT
Message-ID: <1350948294188-7569734.post@n2.nabble.com>
URL: https://gitlist.dev/e/1350948294188-7569734.post%40n2.nabble.com
In-Reply-To: <89b129c60902190919p2cdbe349o4a2a659617dae341@mail.gmail.com>

```
victor cruz alonso
vitycruz@gmail.com

The following is a small web application that converts projects of StarTeam
to GIT repository.

http://dl.dropbox.com/u/101447754/startgit.tar.gz

I developed because in my work decided to migrate and give the possibility
that any group without previous research work to make such a process.

Now:

StartGIT es una sencilla herramienta para trabajar con Controladores de
Versiones, su fin es poder convertir un repositorio en Starteam a GIT, para
ello se hace uso del script "svnimporter-1.2-st" obtenido en
"http://www.polarion.com/user/direct_register.php?dl=svnimporterst":

Tener instalado:
  - GIT
  - git-svn
  - java
  - apache2

Pasos:
 - Descomprimir "startgit.zip"
 - Colocar la carpeta descomprimida "startgit" en el directorio "/var/www/"
 - Abrir navegador web y colocar la siguiente direccción
"http://localhost/startgit"

//-------------------------------------------------------------

StartGIT is a simple tool, its purpose is to convert a Starteam repository
to GIT.

This script uses the "svnimporter-1.2-st" obtained "http://www.polarion.com
/ user / direct_register.php? dl = svnimporterst "

Have installed:
   - GIT
   - Git-svn
   - java
   - apache2

steps:
  - Unzip "startgit.zip"
  - Place the unzipped folder "startgit" in the "/ var / www /"
  - Open web browser and "http://localhost/startgit"



--
View this message in context: http://git.661346.n2.nabble.com/Migrating-from-StarTeam-to-GIT-tp2354198p7569734.html
Sent from the git mailing list archive at Nabble.com.

```
