rtcTo / rtc2git

A tool made for migrating code from an existing IBM's RTC SCM repository into a Git repository
https://rtc.to
MIT License
81 stars 60 forks source link
cli git migration migration-tool python rational-team-concert rtc scm

Build Status Supported Versions MIT License

rtc2git

A tool made for migrating code and code-history from an existing RTC SCM repository into a Git repository It uses the CLI of RTC to gather the required informations.

Prerequirements

Development-Status

For migrating bigger repositories (> 10000 changes) I advise you to use our other tool rtc2gitcli as the IBM Java API is more stable than IBM CLI API. However, this project is easier to run and adapt to different environments.

This project is no longer in active development, because the author has no access to any RTC Server anymore (since they are migrated to git) and changes to code can only be hardly tested.

Usage

Pitfalls

How does it work?

  1. It initalizes an empty git repository and clones it
  2. In this repository, it loads a newly created (which will be set to the oldest baseline possible) or existing rtc workspace
  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-information (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

Contribute

We welcome any feedback! :)

Feel free to report and/or fix issues or create new pull requests

Pull-Requests

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Wiki

For more details visit our wiki You could also join us in slack.