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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

23,216 views 26 12
Join discussion

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