Why using git would be awesome for nexuiz

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Postby divVerent » Mon May 25, 2009 11:40 am

So how would it help to use git-svn to mirror the svn repository, like you suggested?
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby parasti » Mon May 25, 2009 2:21 pm

divVerent wrote:So how would it help to use git-svn to mirror the svn repository, like you suggested?

The only use for a git-svn mirror I can think of is to reduce the time it takes to set up your own git-svn repo. A "git clone" takes a fraction of the time it would take to fetch all the revisions directly from SVN (a checkout of trunk alone takes as long as cloning the mirror with entire history of all branches) and of course eliminates any load on the SVN server itself.

But I wasn't even suggesting anything, because I already found a mirror (set up by Psychf on Github) and used it to set up my own repo. I bumped the thread because I knew Icculus has Git support and a yes or no hadn't been given yet.
parasti
Alien
 
Posts: 110
Joined: Sun May 11, 2008 11:32 pm
Location: On the walls and the ceiling

Postby divVerent » Mon May 25, 2009 4:05 pm

So in other words, you people already have your toy. can you post the access data to the mirror on github so everyone can be happy and use it, instead of demanding we switch to another SCM?
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby C167 » Mon May 25, 2009 4:58 pm

commit access to the github mirror does not help as far as i know, cause you still need svn commit access
C167
Member
 
Posts: 29
Joined: Wed Oct 31, 2007 5:24 pm

Postby some-guy » Mon May 25, 2009 5:53 pm

AFAIK, it is
Code: Select all
git clone git://github.com/psychcf/nexuiz-classbased.git


But this also includes the class mutator (not bad, just means it's not the exact same as svn)
some-guy
Member
 
Posts: 25
Joined: Tue May 12, 2009 1:28 am

Postby [-z-] » Mon May 25, 2009 5:54 pm

yeah, IIRC that's outdated...
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

Postby Blµb » Mon May 25, 2009 6:00 pm

why isn't the class thingy made as a branch? Isn't that what git's supposed to do so well?
Blµb
Alien trapper
 
Posts: 277
Joined: Thu Mar 29, 2007 1:49 pm

Postby some-guy » Mon May 25, 2009 6:05 pm

Blµb wrote:why isn't the class thingy made as a branch? Isn't that what git's supposed to do so well?

Well, that repo is supposed to be a branch of nexuiz svn, so...
some-guy
Member
 
Posts: 25
Joined: Tue May 12, 2009 1:28 am

Postby divVerent » Mon May 25, 2009 7:03 pm

C167 wrote:commit access to the github mirror does not help as far as i know, cause you still need svn commit access


So in the end, you just want commit access for everyone?

The decision on who gets commit access and who doesn't does not depend on the SCM being used. The situation would be the VERY SAME with git.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby parasti » Mon May 25, 2009 7:59 pm

divVerent wrote:So in other words, you people already have your toy. can you post the access data to the mirror on github so everyone can be happy and use it, instead of demanding we switch to another SCM?


The repo URL is git://github.com/psychcf/nexuiz-classbased.git. The master branch has Psychf's changes and is out of sync with SVN, but the repo has a bunch of remote-tracking branches that appear to be completely in sync with all SVN branches (probably due to some Github feature). Plain "git clone" won't fetch them, though, so you'd need to do something like
Code: Select all
mkdir repo
cd repo
git init
git svn init --prefix=svn/ -s svn://svn.icculus.org/nexuiz
git fetch git://github.com/psychcf/nexuiz-classbased.git refs/remotes/*:refs/remotes/svn/*
git checkout -b master svn/trunk
git svn rebase


I did it differently (and in a more complicated way, in retrospect), so I haven't tested all this.

BTW, nobody cares about commit access. Git is a DVCS, which means everyone has their own repo, so there's no political nonsense about who gets or doesn't get commit access. Patch reviews would be great, though.
parasti
Alien
 
Posts: 110
Joined: Sun May 11, 2008 11:32 pm
Location: On the walls and the ceiling

PreviousNext

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron