Why using git would be awesome for nexuiz

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Postby divVerent » Sat May 23, 2009 7:59 pm

[-z-] wrote:I'm not part of the RoR circle jerk and still enjoy git. It's never been as painful to me as SVN. You can't honestly tell me you've never fucked up SVN.


The only thing how I mess up SVN is accidentally committing a file I did not want to commit by "svn commit", or forgetting to "svn add" a newly created file.

A solution to this would be, when it opens the editor to show which files it'll send, allowing me to delete items from that list before committing. Because, if editing that part would change anything, I'd actually do it, and therefore notice if a file is in the list I didn't mean to commit.

Does git provide that out of the box?

On Windows, TortoiseSVN provides that feature (in the commit dialog, I can uncheck files to not commit them, and it also tells me which files are new so I can add them). So it apparently is all a matter of the client program, and not whether it's a DVCS or not. Too bad the commandline svn client cannot do this, it would be really neat. Maybe I'll write a script for it.
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 divVerent » Sat May 23, 2009 8:04 pm

"The biggest non-technical difference between git and mercurial is the rabid culture surrounding git. mercurial users fairly happily and quietly use their tool, while I've had to send two separate door-to-door git missionaries away today alone."

That sums it up pretty well. git = jehova's witnesses.

SCNR (seriously: git is just another hype)
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 [-z-] » Sat May 23, 2009 8:10 pm

I believe git is more than just hype, the hype comes from the RoR guys that use it, this is part of THEIR culture, the ~holier than thou~ attitude.

However, the logic and reasons behind the system make a lot of sense and personally, I've found it easier to use.

Just a suggestion but I think you may want to try it with a smaller project like NetRadiant and form some opinions on it then. Otherwise, I guess this is just a dead subject because you'll be using it more than anyone else and thus the decision lies in your hands.

But seriously, you should give it a shot with smaller projects.
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

Postby parasti » Sat May 23, 2009 8:12 pm

divVerent wrote:None of these methods are as simple and efficient as comparing two small numbers. You don't need any tools for THAT.


I think it's pretty obvious that this is the one property that SHA1 hashes don't have (except equality, of course). I wasn't trying to argue for/against anything; as far as I'm aware, the decision was made a while ago. I was just elaborating on your statement that "you'd have to manually check out this revision and verify that the bug is fixed in it".
parasti
Alien
 
Posts: 110
Joined: Sun May 11, 2008 11:32 pm
Location: On the walls and the ceiling

Postby Alien » Sat May 23, 2009 8:19 pm

From google:
WHY VISUAL SOURCESAFE IS BETTER THAN X

* Sourcesafe requires a serial number and registration, thus preventing unregistered use.
* Sourcesafe is secure; even the user who created a repo is frequently unable to access it.
* New checkout feature allows two different users to access files in two separate repositories at the same time. Usually.
* De-corruption utilities almost entirely effective in over 40% of cases.
* Much, much cheaper than Team Foundation Server.


This time I would agree with div. If C167, z, parasti became active contributors to nexuiz, than yes, git would be good, because div wouldn't need to check their each minor fix committed to main trunk all the time.
Currently, git would be useful only for mrbougo and psychcf, who are actually coding nexuiz mods/addons. If more devs joined, then switch would be made simply because of convenience (I think).
Last edited by Alien on Sat May 23, 2009 8:24 pm, edited 1 time in total.
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby parasti » Sat May 23, 2009 8:20 pm

divVerent wrote:"The biggest non-technical difference between git and mercurial is the rabid culture surrounding git. mercurial users fairly happily and quietly use their tool, while I've had to send two separate door-to-door git missionaries away today alone."

That sums it up pretty well. git = jehova's witnesses.

SCNR (seriously: git is just another hype)

That is very true. Honestly, the only reason I installed Git at all was to show myself that, despite all that hype, Git sucks and I hate it. You can see how that turned out. :P
parasti
Alien
 
Posts: 110
Joined: Sun May 11, 2008 11:32 pm
Location: On the walls and the ceiling

Postby divVerent » Sun May 24, 2009 8:57 am

Alien wrote:This time I would agree with div. If C167, z, parasti became active contributors to nexuiz, than yes, git would be good, because div wouldn't need to check their each minor fix committed to main trunk all the time.


LOL.

Someone has to check it, or the code base gets as bad as it once was again, with commits by people I won't name here.

Which is why I maintain that "stable branch" of Nexuiz.

Currently, git would be useful only for mrbougo and psychcf, who are actually coding nexuiz mods/addons. If more devs joined, then switch would be made simply because of convenience (I think).


Nope. MrBougo has commit access, and did commit Nexball.

Basically, if you really want a transition to git, do it as a smooth transition.

Do NOT switch the repo to git just because you can, and let all existing processes die until someone fixes them.

Instead, switch all existing processes/scripts to git using git-svn FIRST, and THEN the repo can be changed to a git one.

For example, what about submitting fixed versions of "Nexuiz SVN builds for Noobs", "makebuild.sh", "branch-manager" that use git instead of svn and work on git-svn managed repositories?
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 divVerent » Sun May 24, 2009 9:25 am

[-z-] wrote:Just a suggestion but I think you may want to try it with a smaller project like NetRadiant and form some opinions on it then. Otherwise, I guess this is just a dead subject because you'll be using it more than anyone else and thus the decision lies in your hands.

But seriously, you should give it a shot with smaller projects.


NetRadiant certainly won't move to git, simply because one goal was making building Radiant EASIER (which e.g. led to scons stuff getting removed in favor of make which about everyone has).
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 alpha » Sun May 24, 2009 10:30 am

[-z-] wrote:You can't honestly tell me you've never fucked up SVN.


I can. I have sometimes to deal with SVN problems other people cause (oh hai Z :> ), but I have never broken my own repo.
quit for good
alpha
Alien trapper
 
Posts: 492
Joined: Tue Jun 17, 2008 7:18 pm

Postby Alien » Sun May 24, 2009 10:30 am

divVerent wrote:
Alien wrote:This time I would agree with div. If C167, z, parasti became active contributors to nexuiz, than yes, git would be good, because div wouldn't need to check their each minor fix committed to main trunk all the time.


LOL.

Someone has to check it, or the code base gets as bad as it once was again, with commits by people I won't name here.

Which is why I maintain that "stable branch" of Nexuiz.

No, I mean different thing. These could exist as separate until you deem them worthy to be included.
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

PreviousNext

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron