Git/v.Subversion: Difference between revisions
link to kernel.org |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 42: | Line 42: | ||
But the real migration is harder than that. | But the real migration is harder than that. | ||
* user migration/mapping <code>svn log --xml | grep author | sort -u | perl -pe 's/.*>(.*?)<.*/$1 = /' > users.txt</code> | * user migration/mapping <code>svn log --xml | grep author | sort -u | perl -pe 's/.*>(.*?)<.*/$1 = /' > users.txt</code> | ||
* <code>git svn clone --stdlayout --no-metadata --authors-file=users.txt file:///path-to/svn-repo tmp-git-repo | * <code>git svn clone --stdlayout --no-metadata --authors-file=users.txt file:///path-to/svn-repo tmp-git-repo</code> | ||
* git checkout -b local_branch remote_branch | * <code>git checkout -b local_branch remote_branch</code> | ||
* migrate tags | * migrate tags | ||
== Overview of the trial project == | == Overview of the trial project == | ||
One potential trial would be to setup GitLab Development Kit, either on bare metal, or using vagrant https://gitlab.com/gitlab-org/gitlab-development-kit | |||
== Define the trial project along with milestones == | == Define the trial project along with milestones == | ||