2git
2git copied to clipboard
A Groovy DSL to migrate from ClearCase to Git
https://github.com/Praqma/2git/blob/297e6cf3554196e72ceba7eac4a652ee94214490/src/main/groovy/togit/migration/targets/git/GitUtil.groovy#L72 -> ``` options.lfs.each { file -> callOrDie(path, "lfs", "track", "'$file'") callOrDie(path, "add", ".gitattributes" ) } ```
It's currently not documented how to import helper classes into a 2git script, allowing you to offload some complexity to outside your migration script.
Rather than throwing a giant stack trace, report: SEVERE: Could not find property 'myBaselineName' in action '$action', are you missing an extraction?
2git should be listed as a migration tool on: https://git.wiki.kernel.org/index.php/InterfacesFrontendsAndTools#head-8870e1c81cc93f9a7a7acb5e969924ee60182d6b
This is essentially incorporating the `directory mapper` functionalities developed at our customer into 2git. It's proven to be a powerful tool, so I don't see why not. I'll have to...