Community
Participate
Working Groups
GMF Tooling would like to migrate from CVS to Git. We plan to import the CVS history into the Git repository, using cvs2git (or something else if advised). We'll first need to have a Git repository and then try cvs2git. Is everything is OK, the CVS repo can be archived. Otherwise, we'll see ;)
Ok, I've created /gitroot/gmf-tooling, and you can init your repo in there with: initrepo /gitroot/gmf-tooling/org.eclipse.gmf-tooling.git As for the import you can run it locally(on your box) and then push the git repo, or we can run an import here. -M.
I think I need to have a shell access to git.eclipse.org to perform the init. Do you know when the cvs2git rountine does init the repository or if I have to perform it on a non-initiated repo?
Matt, Seems like the repository has to be initiated and that I don't have the permission to do it. Can you do this for me?
Apparently, there will probably be a serious issue with cvs2git: the script is used to import a FULL cvs repository, but we only want to import a folder in the "modeling" CVS repository...
I can but you should be able to call the initrepo command even with the restricted shell. We use git-cvsimport, and it allows you to specify the 'module' in cvs you want ti import. -M.
Matt, I cannot do anything at git.eclipse.org, It tells me -- If your prompt is r$ and you are disconnected after a command, please remember that shell access is only available on build.eclipse.org. r$ cd /gitroot/ Not allowed to do 'cd' Connection to git.eclipse.org closed. --
You can run the initrepo command from comment 1 even with the restricted shell. Was there something else you were trying to do? -M.
Actually I'd like to perform a "cd" to give a try to the migration as explained here http://wiki.eclipse.org/Git/Migrating_to_Git#Using_git-cvsimport And "cd is refused. Perhaps if you have time, it would be more efficient if you could perform this migration. Would you agree with it? The repository is /cvsroot/modeling/org.eclipse.gmp/org.eclipse.gmf.tooling
Ok, I've run the import. Can you take a look at the repo and confirm it's what you were expecting? -M.
It looks very good to me! Waiting for Michael Golubev (as project lead) to confirm it, and we're done!
Hello, Thank you for migration, everything looks good for me. Can you please flag the CVS repository (namely, the org.eclipse.gmp/org.eclipse.gmf.tooling/ and org.eclipse.gmp/org.eclipse.gmf.tooling.releng/ ) as read-only? Regards, Michael
Ok, I've marked them read only. In a few months they'll be removed as part of our standard post move cleanup. -M.