Version Control Systems

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
User avatar
sdfgeoff
DBB Ace
DBB Ace
Posts: 496
Joined: Wed Jan 12, 2011 1:07 am
Location: Low Earth Orbit
Contact:

Version Control Systems

Post by sdfgeoff » Thu Feb 11, 2016 4:07 am

What do people use? Currenlty I'm using git, but some of the files I work with are large binary files (up to 70mb) and the project is taking up several gigabytes of space. I'm thinking of moving to SVN so that I only have the working copy available locally. As a result when I want to have someone else work on the project, instead of pointing git at my repository I tend to use a flash-drive to give someone the project and then they use git to keep it in sync.

But then I do like the fact that I can take my laptop into a clients location and continue working/committing/pulling-up-old-versions without an internet connection.

So vhat VCS systems do you guys use?
Eh?
User avatar
fliptw
DBB DemiGod
DBB DemiGod
Posts: 6415
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

Re: Version Control Systems

Post by fliptw » Thu Feb 11, 2016 4:31 am

git. the neat thing I find about git is all you need is R/W access to a directory, and you can move your repository there. no daemon required
User avatar
CDN_Merlin
DBB_Master
DBB_Master
Posts: 9485
Joined: Thu Nov 05, 1998 12:01 pm
Location: Capital Of Canada

Re: Version Control Systems

Post by CDN_Merlin » Thu Feb 11, 2016 7:05 am

When I was beta testing a racing game they were using SVN and I thought it was great. You just had to update it and it took care of everything.
Beta tested:
Game Stock Car 2012, Diablo 3, Descent 3 1.5 Patch, C&C Generals, Independance War 2, Starfleet Command 2, Settlers IV,Tzar, Allegiance, Starfleet Command, MAX 2, Defiance
ASUS Z170-P, Core I7-6700K, Coolermaster Hyper 212 EVO CPU Cooler, Gigabyte GF GTX970 OC 4GB GDDR5,Crucial 16GB 2133MHz DDR4, Samsung 850 EVO 250GB 2.5" SATA3 SSD, WD Black 1 TB, ASUS DVD Burner, ASUS 27" Monitor, Fractal Design R5 Mid-Tower Case, Thermaltake ToughPower Gold 750 Watt, Win 10 64Bit
User avatar
Foil
DBB Material Defender
DBB Material Defender
Posts: 4900
Joined: Tue Nov 23, 2004 3:31 pm
Location: Denver, Colorado, USA

Re: Version Control Systems

Post by Foil » Thu Feb 11, 2016 11:00 am

Over the years, I've used a number of them, including a couple of the popular ones like svn and git, some old ones like SourceSafe, and some corporate systems like Perforce.

...I've arrived at the opinion that you just use what works, and don't change unless you have to. (But if you've established that you have to change, do it right away rather than trying to maintain workarounds for a length of time.)
User avatar
sdfgeoff
DBB Ace
DBB Ace
Posts: 496
Joined: Wed Jan 12, 2011 1:07 am
Location: Low Earth Orbit
Contact:

Re: Version Control Systems

Post by sdfgeoff » Thu Feb 11, 2016 11:20 am

I have established that the problem is in fact due to an issue between 'data' and 'the thing being developed.'

Including 100mb 3D scans that are processed/displayed by the simulator is not correct. They are data and should not change/have versions. I should separate out all the data from the program, and only version control the program.
Eh?
User avatar
Top Gun
DBB Master
DBB Master
Posts: 7118
Joined: Wed Nov 13, 2002 3:01 am

Re: Version Control Systems

Post by Top Gun » Thu Feb 11, 2016 7:34 pm

I think the FreeSpace 2 Source Code Project moved from SVN to git a year or two ago, but I don't really have enough experience to say why they made the switch. I know one of the lead devs did say that forking and branching are far easier to do in git, so that might be a potential advantage if that's what your project needs.
User avatar
Verran
DBB Captain
DBB Captain
Posts: 589
Joined: Thu Nov 05, 1998 12:01 pm
Location: Colorado
Contact:

Re: Version Control Systems

Post by Verran » Fri Feb 12, 2016 3:33 am

git or Mercurial. I like both. They're free. For repo cloud hosting: github.com is nice, but so is bitbucket.org.

Yeah, try not to keep files you don't need versioned. Isolate them somewhere else, especially large files. Could you use cloud file sharing like Google Drive, Dropbox or OneDrive for that? Also, learn how to setup your SCM ignore filters to avoid committing stuff you don't need in your repo(s). This will keep them lean and clean.

SVN is antiquated in the fact that it is not a DCVS. A huge thing I don't miss about SVN: tree conflicts during branch switching! No fun when dealing with a giant repo, especially during an emergency! :) Fun times when your boss is standing over your shoulder wondering what's taking so long...blech.

* Been professionally responsible for SCM configuration, deployment, maintenance, best practices, D/R and continuous integration for 14+ years. Have touched lots of stuff. It's fun to see how things have progressed. Biggest tip: stay as far away from TFS as possible! !@#$%* Microsoft. :)
User avatar
Sirius
DBB Master
DBB Master
Posts: 5434
Joined: Fri May 28, 1999 2:01 am
Location: Bellevue, WA
Contact:

Re: Version Control Systems

Post by Sirius » Sat Feb 13, 2016 11:57 am

Fun fact: Few teams at Microsoft use TFS either. I forget if VSTS (which is kind of the web-based successor to the "rest" of TFS) supports it for source control - it seems MS is headed primarily towards Git.
User avatar
Verran
DBB Captain
DBB Captain
Posts: 589
Joined: Thu Nov 05, 1998 12:01 pm
Location: Colorado
Contact:

Re: Version Control Systems

Post by Verran » Sat Feb 13, 2016 7:36 pm

Yeah. TFS is a horrid lump of WTF. The sad thing is, most MS shops, at least here around Denver, are using it. Hope that stops soon.
Post Reply