Igor,

Let me know if your current import works or not.

I've given up on the JGit approach. At least right now there isn't enough time to get it to work properly for extracting branches.

There may be a way to extract branches using the git filter-branch command directly; it seemed to work in my test but gitk doesn't show the branches as I would expect it so I'm not sure.

Regards,

Mike


im importing using the u...@wicketstuff.org addresses, but i dont
think that matters much.

-igor

On Thu, Dec 23, 2010 at 5:45 PM, Michael O'Cleirigh
<michael.ocleir...@rivulet.ca>  wrote:
Hello,

In testing last week it took about 5 hours to clone from svn using git-svn.
  I've been trying to trying to get a version of the repository ready but its
been taking longer than I wanted.

I think what we will need to do is to clone it locally and prepare it and
then upload to github.

My java migration program can extract the first and last names of the
developers and create the git-authors.txt usable when importing.  I changed
the email addresses to svn-usern...@users.sourceforge.net  since this is an
actual routable address.  (This is what Martin Funk used in his wicketpit
migration from 2009).

In my testing I have:

1. checked out the entire project history into master (i.e. no branches)
2. used JGit to rewrite the entire history using the git users and removing
the svn-git-id lines.

This part works fine and the accented characters (umlauts) have been
inserted properly.  I could not get git-svn to write them in properly.

The next part involves extracting branches from the master.   My code works
for identifying the first commit to contain a path and to extract from the
original commits the branch sub-tree.  But I still need to delete the
non-branch files on the initial branch commit.

When the repository is large using windows is not recommended (I was using
windows 7 on a quad core 3.4 Ghz Athlon and the git performance on my Xen
vps was 50% faster).  It was taking me 45 minutes to checkout master.
  Yesterday I bought a faster hard disk and installed Linux and the
performance seems a lot faster.

I think I should be able to get it to work today (I'm on vacation now so my
productivity should be improved).

I'll update the list in a few hours if my git repository looks like it will
be viable.

Mike

import is running really slow, even from a local copy of svn repo.
going to take a while...

-igor

On Thu, Dec 23, 2010 at 10:54 AM, Igor Vaynberg<igor.vaynb...@gmail.com>
  wrote:
running a manual import right now with git svn, lets see how that goes.

-igor

On Thu, Dec 23, 2010 at 10:50 AM, Martijn Dashorst
<martijn.dasho...@gmail.com>    wrote:
"Import ran too long.  Try running locally with svn2git or git-svn."

On Thu, Dec 23, 2010 at 8:57 AM, Igor Vaynberg<igor.vaynb...@gmail.com>
  wrote:
gah. i will try a manual one and see if that goes better. can you
forward the error message to me, i didnt get one...

-igor

On Thu, Dec 23, 2010 at 9:29 AM, Martijn Dashorst
<martijn.dasho...@gmail.com>    wrote:
I received an error message that the import has failed.

Martijn

On Thu, Dec 23, 2010 at 6:24 AM, Jeremy Thomerson
<jer...@wickettraining.com>    wrote:
On Wed, Dec 22, 2010 at 3:35 PM, Igor
Vaynberg<igor.vaynb...@gmail.com>wrote:

i started the import here:

https://github.com/wicketstuff/wicketstuff

-igor

I removed everyone from the SF.net project except Igor, Martijn, and
myself.
  I took SVN commit permissions away from the three of us.  This
should
prevent anyone from accidentally committing to the repo now that it
is
moved.

Once I hear from Igor that we are "good to go" at GH, I'll "svn
delete *" or
"svn mkdir ALL_CODE_IS_MOVED; svn mv * ALL_CODE_IS_MOVED/" and "svn
add
README_FIRST_WE_HAVE_MOVED_TO_GITHUB.txt".

--
Jeremy Thomerson
http://wickettraining.com
*Need a CMS for Wicket?  Use Brix! http://brixcms.org*


--
Become a Wicket expert, learn from the best: http://wicketinaction.com


--
Become a Wicket expert, learn from the best: http://wicketinaction.com



Reply via email to