Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315667 - Move WTP Incubator to git
Summary: Move WTP Incubator to git
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Git (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-03 16:15 EDT by David Carver CLA
Modified: 2010-07-23 08:59 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Carver CLA 2010-06-03 16:15:26 EDT
The WTP incubator currently has the following Read only repo from CVS:

git://dev.eclipse.org/org.eclipse.webtools/incubator.git

This is a mirror of the Web Tools CVS module /cvsroot/webtools incubator folder.

The WTP Incubator would like to move to a git repository, but the rest of WTP will be staying on CVS.   All component leads in the incubator have agreed to the move and WTP will use this as a proving ground for the incubator projects and for helping to do fact finding for other eclipse projects that are contemplating the move.

We would like to do this after Helios is released during the quiet period in early july.
Comment 1 David Carver CLA 2010-07-06 14:12:59 EDT
Ping...what are the next steps?
Comment 2 Denis Roy CLA 2010-07-09 14:49:28 EDT
I can provide you with a blank 'container' (directory) in which you perform your own CVS->Git import, or I can do that for you.  Once that is done, a README is typically committed to the old repo to explain where the code has moved, and we mark the CVS repo as read-only.  When would you like all this to happen?  Preferably anytime Mon-Fri, 8:00am to 5:00PM Eastern  :)
Comment 3 David Carver CLA 2010-07-09 15:15:12 EDT
(In reply to comment #2)
> I can provide you with a blank 'container' (directory) in which you perform
> your own CVS->Git import, or I can do that for you.  Once that is done, a
> README is typically committed to the old repo to explain where the code has
> moved, and we mark the CVS repo as read-only.  When would you like all this to
> happen?  Preferably anytime Mon-Fri, 8:00am to 5:00PM Eastern  :)

I'll let you go ahead and do the cvs2git import. We only want this on the incubator module in the webtools cvs repository.   So incubator and any of the subdirectories should be brought over into the new git repository.

The CVS repo itself will need to NOT be readonly, as not everything in the entire repo is moving, just the incubator module.

I'm fine with this happening anytime Mon-Fri, 8:00am to 5pm eastern.
Comment 4 Denis Roy CLA 2010-07-12 14:17:34 EDT
I've run an import for you:
cd /gitroot/webtools/
export GIT_DIR=org.eclipse.webtools.incubator.git
/usr/local/libexec/git-core/git-cvsimport -i -p -x -d :local:/home/data/cvs/webtools incubator -C ./


Have a look, and let me know if that works:
http://git.eclipse.org/c/webtools/org.eclipse.webtools.incubator.git/
Comment 5 David Carver CLA 2010-07-12 14:49:31 EDT
(In reply to comment #4)
> I've run an import for you:
> cd /gitroot/webtools/
> export GIT_DIR=org.eclipse.webtools.incubator.git
> /usr/local/libexec/git-core/git-cvsimport -i -p -x -d
> :local:/home/data/cvs/webtools incubator -C ./
> 
> 
> Have a look, and let me know if that works:
> http://git.eclipse.org/c/webtools/org.eclipse.webtools.incubator.git/

Okay, that seems to be working. I've tested both git, and ssh urls.  I just sent a note to the rest of the devs to have them test it out as well.

Thanks.
Comment 6 David Carver CLA 2010-07-13 20:13:05 EDT
This seems to be working correctly.  I've migrated all the builds to git (blazingly fast checkouts btw).  And we seem good on our end.  So resolving. Thanks for the migration.
Comment 7 Florian Thienel CLA 2010-07-22 18:03:42 EDT
When I try to push changes (addition of .gitignore files) to the vex-dev branch I get this error (using msysgit:

Counting objects: 22, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (12/12), 1.11 KiB, done.
Total 12 (delta 9), reused 0 (delta 0)
error: insufficient permission for adding an object to repository database ./objects

fatal: failed to write object
error: unpack failed: unpack-objects abnormal exit
To ssh://fthienel@git.eclipse.org/gitroot/webtools/org.eclipse.webtools.incubator.git
 ! [remote rejected] vex-dev -> vex-dev (n/a (unpacker error))
error: failed to push some refs to 'ssh://fthienel@git.eclipse.org/gitroot/webtools/org.eclipse.webtools.incubator.git'
Comment 8 Denis Roy CLA 2010-07-23 08:59:26 EDT
We're tracking the permission issue in bug 320452.