Giter Club home page Giter Club logo

rtc2git's Introduction

Build Status Supported Versions MIT License

rtc2git

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

Prerequirements

  • RTC Server with Version 5.0+ (was tested using 5.0.1)
  • SCM Tools from IBM.
    To avoid an account creation on the jazz.net site, you could use bugmenot.
    Please make sure that your SCM Tools run in English (because we need to parse their output sometimes).
    There is a wiki page on how to configure RTC CLI)
  • Python 3.4+ (does not work with previous versions or with Python 2)

Usage

  • Create a config file called config.ini and fill out the needed information, use the supplied config.ini.sample or config.ini.minimum.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 (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

Wiki

For more details visit our wiki

rtc2git's People

Contributors

wtfjoke avatar ohumbel avatar jacobilsoe avatar cwill747 avatar reinhapa avatar ebullient avatar docwhat avatar ljhaywar avatar

Watchers

James Cloos avatar Adam W. Hawks avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.