GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Praqma/clearcase-to-git: A tool to extract relevant meta-data from clearcase, (and save this representation), then build change set, and output this to git-fast-import.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

78 Commits
78 Commits

Folders and files

NameName
Last commit message
Last commit date
Properties
Properties
 
 
scripts
scripts
 
 
testData
testData
 
 
.gitignore
.gitignore
 
 
ANALYSIS.md
ANALYSIS.md
 
 
App.config
App.config
 
 
ChangeSet.cs
ChangeSet.cs
 
 
ChangeSetBuilder.cs
ChangeSetBuilder.cs
 
 
Cleartool.cs
Cleartool.cs
 
 
CleartoolReader.cs
CleartoolReader.cs
 
 
CommandLineArguments.cs
CommandLineArguments.cs
 
 
DirectoryVersion.cs
DirectoryVersion.cs
 
 
Element.cs
Element.cs
 
 
ElementBranch.cs
ElementBranch.cs
 
 
ElementVersion.cs
ElementVersion.cs
 
 
ExportReader.cs
ExportReader.cs
 
 
GitImporter.csproj
GitImporter.csproj
 
 
GitImporter.sln
GitImporter.sln
 
 
GitWriter.cs
GitWriter.cs
 
 
Helpers.cs
Helpers.cs
 
 
HistoryBuilder.cs
HistoryBuilder.cs
 
 
ImporterArguments.cs
ImporterArguments.cs
 
 
LabelFilter.cs
LabelFilter.cs
 
 
LabelInfo.cs
LabelInfo.cs
 
 
MergeInfo.cs
MergeInfo.cs
 
 
Program.cs
Program.cs
 
 
RawHistoryBuilder.cs
RawHistoryBuilder.cs
 
 
ReadMe.md
ReadMe.md
 
 
SymLinkElement.cs
SymLinkElement.cs
 
 
ThirdPartyConfig.cs
ThirdPartyConfig.cs
 
 
ThirdPartyHook.cs
ThirdPartyHook.cs
 
 
VobDB.cs
VobDB.cs
 
 
cleartool_tty.exe
cleartool_tty.exe
 
 
protobuf-net.dll
protobuf-net.dll
 
 
protobuf-net.pdb
protobuf-net.pdb
 
 
protobuf-net.xml
protobuf-net.xml
 
 

Repository files navigation

Clearcase to Git

A tool to extract relevant meta-data from clearcase, (and save this representation), then build change set, and output this to git-fast-import.

There are samples of actual use in the scripts directory

General principle :

  • export as much as possible using clearexport_ccase (in several parts due to memory constraints of clearexport_ccase)
  • get all elements (files and directories)
  • optionally edit these lists to exclude uninteresting ones
  • use GitImporter (which calls cleartool) to create (and save) a representation of the Vob
  • import with GitImporter and git fast-import, cleartool is then used only to get the content of files
FOR /D %D in (*) DO clearexport_ccase -r -o %D.export %D

cleartool find -all -type d -print >directories.lst
cleartool find -all -type f -print >files.lst

GitImporter -S:vobDB.bin -E:files.lst -D:directories.lst -G -C:M:\MyView\MyVob *.export

GitImporter -L:vobDB.bin -C:M:\MyView\MyVob | git fast-import

Thirdparties

There is support for thirdparties to be handled as git submodules, using a specific configuration file.

It assumes that there is a special file that stores the clearcase config-spec, with label rules for some directories. Then for each new version of this file, if a match is found for a directory and a label, the corresponding commit of the submodule will be referenced.

As far as thirdparties are concerned, I went to a NuGet-based solution instead, but old commits still refer the submodules.

About

A tool to extract relevant meta-data from clearcase, (and save this representation), then build change set, and output this to git-fast-import.

Resources

Readme

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.