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))
- RTC Version 5.0+ (Was tested using 5.0.1)
- RTC CLI --> (e.g Command "lscm help" should work in console)
- Python 3
- Create a config file called "config.ini" and fill out the needed informations, use the supplied "config.ini.sample" as reference
- Execute migration.py
- It initalizes an empty git repository and clones it
- In this repository, it loads a newly created rtc workspace based on your oldest stream
- It iterates to a configured list of streams to determine the baseline of each component of this stream
- For each baseline of this component a compare command will be executed
- The result of the compare will be parsed to get to the necessary commit-informations (such as author, comment, date)
- The change will be accepted in the workspace
- The corresponding git command will be executed to do the same change in the git-repository
For more details [visit our wiki] (https://github.com/WtfJoke/rtc2git/wiki)