threads / discuss / 17902

Migrating from StarTeam to GIT

Subject: Migrating from StarTeam to GIT

## tl;dr

5 messages between Feb 19, 2009 and Oct 22, 2012.

replies: 4people: 5as markdown or json

Sean Kelley· Feb 19, 2009, 17:19 UTC · lore

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· Feb 20, 2009, 03:08 UTC · re: Sean Kelley · lore

Re: Migrating from StarTeam to GIT

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· Feb 20, 2009, 09:11 UTC · re: Jeff King · lore

Re: Migrating from StarTeam to GIT

Hi,
On Thu, 19 Feb 2009, Jeff King wrote:
Show 13 quoted lines
> 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· May 23, 2012, 11:19 UTC · re: Sean Kelley · lore

Re: Migrating from StarTeam to GIT

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· Oct 22, 2012, 23:24 UTC · re: Sean Kelley · lore

Re: Migrating from StarTeam to GIT

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.

← back to recent threads