File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ If you have a proper ruleset the tool will create the git repositories for you a
1616
1717After it is done you likely want to run ` git repack -a -d -f ` to compress the pack file as it can get quite big.
1818
19+ Running as Docker image
20+ -----------------------
21+ Just mount your SVN folder, plus another working directory where Git repository will be created.
22+ Sample usage with input mounted in /tmp and output produced in /workdir:
23+ ```
24+ docker build -t svn2git .
25+ docker run --rm -it -v `pwd`/workdir:/workdir -v /var/lib/svn/project1:/tmp/svn -v `pwd`/conf:/tmp/conf svn2git /usr/local/svn2git/svn-all-fast-export --identity-map /tmp/conf/project1.authors --rules /tmp/conf/project1.rules --add-metadata --svn-branches --debug-rules --svn-ignore --empty-dirs /tmp/svn/
26+ ```
27+
1928Building the tool
2029-----------------
2130Run ` qmake && make ` . You get ` ./svn-all-fast-export ` .
You can’t perform that action at this time.
0 commit comments