Sinzear / svn-to-git-dockerized

Tool to convert an svn repo to a git repo, dockerized, using the svn2git tool.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

svn-to-git-dockerized

With only 1 dependency (Docker), you can convert svn repos to git repos.

A Dockerfile is used to create an image with all the needed svn2git dependencies. This image is then used in the svn2git executable. The executable is a wrapper around a docker run command. The docker run command mounts the current host directory into the container and then allows you to run svn2git (https://github.com/nirvdrum/svn2git).

The only dependency is docker.

A vagrant file is also included if you want to run this in a vagrant box.

Create a directory where you want the newly converted repo to reside.

cd svn-to-git-dockerized
mkdir svn-project-name
cd svn-project-name

Run the svn2git tool.

See https://github.com/nirvdrum/svn2git for all the available svn2git options.

./../svn2git https://path/to/repo/to/convert

(svn2git is one directory above this, thus ./../svn2git)

About

Tool to convert an svn repo to a git repo, dockerized, using the svn2git tool.


Languages

Language:Shell 100.0%