Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 01-11-2013, 04:56 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default

Quote:
Originally Posted by KLS View Post
I think we'll probably go with git. Not sure if we're going to do a total repo conversion or just leave the old svn one up if someone wants to see the history. I've taken a crack at conversion and it is definitely not a quick process.
https://github.com/mackal/projecteqemu this took a few hours to do.


Just ran:
Code:
$ git svn clone --stdlayout https://projectname.googlecode.com/svn projectname
$ git for-each-ref refs/remotes | cut -d / -f 3- | grep -v @ | while read branchname; do git branch "$branchname" "refs/remotes/$branchname"; git branch -r -d "$branchname"; done
I then just deleted the other old branches a that showed up so there were only the ones that you see on Google Code (git branch -D <name>)

Code:
$ git remote add origin git@github.com:GITHUB_USERNAME/REPO_NAME.git
git push origin --all
Some other links: https://code.google.com/p/support/wi...ertingSvnToGit
http://git-scm.com/book/ch8-2.html
https://help.github.com/articles/imp...rom-subversion

Also: https://github.com/nirvdrum/svn2git would probably be better than what I did, but gentoo's svn2git appears to be a different project and after I emerged that it wouldn't work so I did what I posted above :P
Reply With Quote
  #2  
Old 01-11-2013, 05:05 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Yeah was using svn2git, but was taking a long time (45 minutes just for a handful of revisions on my admittedly slow Linux box). Problem is they are busy bees right now with RoF so wanna minimize disruption even for a few hours =/
Reply With Quote
  #3  
Old 01-11-2013, 05:11 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default

Quote:
Originally Posted by KLS View Post
Yeah was using svn2git, but was taking a long time (45 minutes just for a handful of revisions on my admittedly slow Linux box). Problem is they are busy bees right now with RoF so wanna minimize disruption even for a few hours =/
poking around, probably the best bet is to set a day to convert (or maybe whenever your cmake branch is done) and merge the cmake branch to trunk and just do: svn2git http://projecteqemu.googlecode.com/svn --nobranches --notags --revision #

this will sadly throw away all the history, but we can always have that archived on Google Code. doing svn2git http://projecteqemu.googlecode.com/svn --nobranches --notags --revision 2389 took me 30 mins to get it up on github. (doing a full history preservation took probably almost 2 hours, and I had to do more work with deleting old branches that popped back up)
Reply With Quote
  #4  
Old 01-30-2013, 06:37 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default

And Git for VS was announced :P

http://channel9.msdn.com/posts/GitForVisualStudioTFS
Reply With Quote
  #5  
Old 01-30-2013, 07:08 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

We're still coming up with a new scheme for the database updates before we can do anything on this front. Obviously by SVN revision isn't going to work on a DVCS.

Cavedude and I have been coming up with a separate database revisioning system.
Reply With Quote
  #6  
Old 02-05-2013, 03:09 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default

Quote:
Originally Posted by KLS View Post
We're still coming up with a new scheme for the database updates before we can do anything on this front. Obviously by SVN revision isn't going to work on a DVCS.

Cavedude and I have been coming up with a separate database revisioning system.
Why not just create a tag for each time you want to mark where the DB is up to on the server repo?
Reply With Quote
  #7  
Old 02-05-2013, 08:30 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Two reasons:
1) The system as it stands now is annoying as shit anyway.
2) I think by using tags what that really means is KLS has to continually tag things after people forgot.
Reply With Quote
  #8  
Old 02-05-2013, 08:36 PM
wolfwalkereci
Discordant
 
Join Date: Dec 2005
Posts: 435
Default

Quote:
Originally Posted by KLS View Post
Two reasons:
1) The system as it stands now is annoying as shit anyway.
2) I think by using tags what that really means is KLS has to continually tag things after people forgot.
Wait, you don't want to play mommy and clean up after the kids?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:55 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3