Skip to content
forked from rtcTo/rtc2git

A tool made for migrating code from an existing IBM's RTC SCM repository into a Git repository

License

Notifications You must be signed in to change notification settings

maverick2808/rtc2git

 
 

Repository files navigation

rtc2git

A tool made for migrating code from an existing [RTC] (https://jazz.net/products/rational-team-concert/) SCM repository into a Git repository It uses the CLI of RTC to gather the required informations (You can find the CLI under the name "SCM Tools" [here] (https://jazz.net/downloads/rational-team-concert/releases/5.0.1?p=allDownloads))

Prerequirements

  • RTC Version 5.0+ (Was tested using 5.0.1)
  • RTC CLI --> (e.g Command "lscm help" should work in console)
  • Python 3.4.2+ (might be working with earlier versions as well, but not with Python 2)

Usage

  • Create a config file called "config.ini" and fill out the needed informations, use the supplied "config.ini.sample" as reference
  • Execute migration.py

How does it work?

  1. It initalizes an empty git repository and clones it
  2. In this repository, it loads a newly created rtc workspace based on your oldest stream
  3. The baseline of each component of a given stream is determined
  4. For each baseline a compare command will be executed
  5. The result of the compare will be parsed to get to the necessary commit-informations (such as author, comment, date)
  6. The change will be accepted in the workspace
  7. The corresponding git command will be executed to do the same change in the git-repository

Wiki

For more details [visit our wiki] (https://github.com/WtfJoke/rtc2git/wiki)

About

A tool made for migrating code from an existing IBM's RTC SCM repository into a Git repository

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%