threads / discuss / 37481

Importing from RTC to GIT

Subject: Importing from RTC to GIT

## tl;dr

3 messages between Sep 3, 2014 and Feb 1, 2015.

replies: 2people: 3as markdown or json

Jeremy Davis· Sep 3, 2014, 18:22 UTC · lore
We are currently investigating whether to move from RTC (source control) to GIT and wanted to find out if there is more information available than what we have found in http://stackoverflow.com/questions/23928927/how-to-migrate-from-rtc-jazz-to-git
We really need to preserve the version history of all artifacts and wanted to see if there is an import utility available to do this.  If not, we can go through and import off of our milestone baselines in separate workspaces but this can be fairly time consuming for us to grab all needed baselines that we will want to preserve.  We are not planning on archiving RTC so getting the history out for all versioned artifacts is extremely important.

Thanks, Jeremy Davis

ALM Architect
Idaho State Insurance Fund
Phone: 208-332-2586
Cell Phone: 970-215-2945
Email: jdavis@idahosif.org
Website: www.idahosif.org
brian m. carlson· Sep 4, 2014, 12:55 UTC · re: Jeremy Davis · lore

Re: Importing from RTC to GIT

On Wed, Sep 03, 2014 at 12:22:20PM -0600, Jeremy Davis wrote:
Show 7 quoted lines
> We really need to preserve the version history of all artifacts and
> wanted to see if there is an import utility available to do this.  If
> not, we can go through and import off of our milestone baselines in
> separate workspaces but this can be fairly time consuming for us to
> grab all needed baselines that we will want to preserve.  We are not
> planning on archiving RTC so getting the history out for all versioned
> artifacts is extremely important.

There's a git fast-import command. If you can find a way to make RTC output data in that format, either by using a pre-existing script or writing one yourself, git will happily import it.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
Joker· Feb 1, 2015, 11:50 UTC · re: Jeremy Davis · lore

Re: Importing from RTC to GIT

Its the more or less the same response as I wrote in the stackoverflow thread. To begin with, we run into the same issue...

We also wanted to keep our history and didnt found anything. So we started to create a python script, which automates the process to migrate RTC SCM Stream by Stream to GIT.

The script(s) can be found here: https://github.com/WtfJoke/rtc2git

It doesnt work with git fast import, though. But its a possible way to migrate your components. You can read how it works on the stackoverflow-post or in the project description. The script is not finished yet, but in a good state. With that I was able to migrate some components sucesfully already (the rtc commands take some time for completion, therefore it takes quite a lot of time to migrate stuff).

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

← back to recent threads