-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Thierry Lacour edited this page Mar 21, 2016
·
12 revisions
cc2git is a Groovy DSL used to migrate from ClearCase UCM to Git.
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:
- Rebase the baseline onto the migration stream
- Update the migration view
- Empty the git work tree
- Copy the contents of the view into the work tree
- Execute all the actions
This way you 'port' your baselines over to Git as commits.
CCUCM | Git | |
---|---|---|
Component | -> | Repository |
Stream | -> | Branch |
Baseline | -> | Commit |
Execute Run.groovy
and supply your cc2git dsl script as its first parameter.
ex.: groovy Run.groovy myScript.groovy