Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368578 - Git migration request
Summary: Git migration request
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Git (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-13 14:04 EST by Eric Gwin CLA
Modified: 2012-11-07 14:01 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Gwin CLA 2012-01-13 14:04:20 EST
Migration Timeline: ASAP (not urgent)
Mapping of current code to new Git repos:
   dev.eclipse.org/svnroot/rt/org.eclipse.persistence/**/examples/** ->
   git.eclipse.org/gitroot/eclipselink/examples.git
Decision regarding existing code (archive or import): Import, but...
   since exists in overall EclipseLink SVN repo, can we keep the SVN 
   examples around for about a month to verify all is present, then
   it can be deleted from SVN.
Description for repository:
   Examples for EclipseLink
Access:
   Please give commit access to entire EclipseLink Committer team

To be clear on the examples. They live on all the branches, for example:
 trunk/examples
 1.0/trunk/examples
 1.1.0/trunk/examples
 1.2/trunk/examples
 2.0/trunk/examples
 2.1/trunk/examples
 2.2/trunk/examples
 2.3/trunk/examples
 etc.
Comment 1 Peter Krogh CLA 2012-01-13 14:52:31 EST
+1 to most, but if possible I would like the examples kept a litte longer  than a month.  We have wiki sites etc that point to the svn locations of the examples, and we will need to point those to the current repo before removing.
Comment 2 Eclipse Webmaster CLA 2012-01-17 13:52:55 EST
Based on a suggestion from Eric I'm trying to use git filter-branch to extract these from the huge initial import.  

If that doesn't work out the only other thing I can think of is dumping the SVN, filtering the dump and then creating a new temporary SVN repo to use for the git conversion.

-M
Comment 3 Eric Gwin CLA 2012-01-17 14:16:29 EST
There were some checkins to examples since December.  If you're already in progress, I think we could also 'recreate' the couple of transactions. If not, you could remove the old o.e.eclipselink.test.git and reimport before your filter-branch. I believe I was the only one using it - and I can stay away, if that's what you need.

Also, FYI. The link to doing the git filter-branch I was using can be found here:
http://stackoverflow.com/questions/359424/detach-subdirectory-into-separate-git-repository

I'm not certain how well it would work because I ran out of memory re-packing the new repository.
Comment 4 Eric Gwin CLA 2012-02-09 10:17:13 EST
This stalled due to limitations with the migration tool. In addition, doug decided that history was not very useful for the examples, and so he asked for an empty repository to be created.

This has been done and matt made the following repository available last week:
   git.eclipse.org/gitroot/eclipselink/examples.git
Comment 5 Eric Gwin CLA 2012-02-09 10:21:26 EST
Doug has since pushed one example to the repository using Indigo/Egit (Last thursday?). I was able then able to clone the repository myself.

His second attempt to push is resulting in a "refused" message. Since the commit was successful to his local repository, it appears to be a permissions issue. 

Is there anything we need to do so that access is assured? SSH keys, etc?
Comment 6 Eclipse Webmaster CLA 2012-02-10 10:00:54 EST
While using a key will prevent having to enter your password, I don't think that authentication is the issue Doug is seeing.

I was able to commit a simple change(via git on linux) to the examples repo acting as Doug, so I suspect there is something in the Git plugin that's failing with this rather cryptic error.

-M.
Comment 7 Denis Roy CLA 2012-11-07 14:01:31 EST
I'll assume all is well here.  Please reopen if not.