Clear-case UCM to GIT Migration and STASH

We are planning to migrate our code-base from clear-case to GIT and use STASH for repository hosting and management as we move forward.We have 5 + years of history built in clear-case.Our project structure includes multiple read write and read only clear-case components .Do we have any inbuilt mechanism in stash to support such a project structure ( Multiple RW and RO components in a workspace ( Like google repo ) ? Also , any thoughts on how do we proceed with the migration will be very helpful.

 

3 answers

I once wrote a custom script doing this, just because there wasn't anything usable.

Can you describe your structure and how you use baselines?

My script was creating dynamic views for each basline on the integrations streams and creating a commit based on baseline meta data - basically converting only our major versions.

Hi Mike ,

Our build environment is windows based and we use snapshot views for development and build.Typical project streams configuration includes about 15 read only components and about 3 Read write components .We are planning to map each UCM clear-case component to a GIT repository.Now to create a workspace we are looking for an approach to pull in all the required components to the client machine ( 15 Read only and 3 read write).

Git tracks whole directory trees with each commit, while ClearCase has a file based history. Only baselines are capturing whole directory trees together. Thatswhy i was asking how you use baselines. My understanding is that you can migrate only baselines to commits. Would this be usable for you?

May i assume you use UCM?

Yes we use UCM and we are planning to migrate history corresponding to a baseline to a GIT as you mentioned - baselines to commits mapping . And I guess that is the only option available.

Here is what i found:

https://github.com/charleso/git-cc

(It was not of much use for me.)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,034 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you