Skip to content
Thierry Lacour edited this page Mar 21, 2016 · 12 revisions

Welcome to the cc2git wiki!

cc2git is a Groovy DSL used to migrate from ClearCase UCM to Git.

Concept and workflow

cc2git allows you to select sets of baselines from component's streams and assign actions to them. These actions can be anything but will most likely consist of Git commits, tags, etc.

For a migration we set up a temporary child stream and view (called the migration stream/view). Then we follow a rather simple workflow of:

  1. Rebase the baseline onto the migration stream
  2. Update the migration view
  3. Empty the git work tree
  4. Copy the contents of the view into the work tree
  5. Execute all the actions

This way you 'port' your baselines over to Git as commits.

Mapping table

CCUCM Git
Component -> Repository
Stream -> Branch
Baseline -> Commit
Clone this wiki locally