Skip to main content
gamedev.net
🔒 Locked

Source Code Management

Started by bvs33 Aug 3, 2005 at 9:12 AM 16 replies 2.5k views
Original Post
bvs33
bvs33
Hi, Myself and a friend of mine are playing around with some game programming stuff. We're basically still in the learning/goofing around stage but we're starting to put together a pretty cool little "tech demo" type of thing. Our problem is how to manage the project. Up until now we've been saving the source files and art on an FTP site I have set up, then we both download files from the site before we start working. However, we've had problems in the past with working on files at the same time and overwriting one anothers work, or forgetting to download the latest files... it's just a messy way of doing things. Does anyone have any tips for a better system?
BouncePup
BouncePup
Use Sub Version (http://subversion.tigris.org/) - Its the best solution for source control IMHO.


-Nate S.
"Always forgive your enemies, nothing annoys them more.."
Ravuya
Ravuya
I use subversion. I believe there are snap-ins so you can just use it directly from MSVS.
dimovich
dimovich
Or you can use CVS (in case you don't like for some reason Subversion ).
We're doing this for a living, George. We are not amateurs.
perfectly_dark
perfectly_dark
Subversion is great. If you're using Windows, you can use the TortoiseSVN plug in that lets you do everything from windows explorer.

Edit: The VS.NET plugin is AnkhSVN, though I've never used it.
dimebolt
dimebolt
Quote:

Original post by dimovich
Or you can use CVS (in case you don't like for some reason Subversion ).


I wouldn't go for CVS. I use CVS and have two annoyances, both of which are solved by subversion: in CVS directory renaming is not possible (unless you hack the repository itself) and renaming files destroys their history. If I wasn't as lazy as I am, I would have already switched. Just a few more directory/file renames and my annoyance vs. lazyness balance flips in favor of subversion :)

Tom
bvs33
bvs33
subversion does look pretty cool.

The problem is that my server is a Red Hat 9.0 install and is pretty outdated. To upgrade all the apache packages I'd need get the web interface for subversion working... looks like a ton of work.

I guess this is a good excuse to finally upgrade to FC4.

Nemesis2k2
Nemesis2k2
I'd have to recommend Perforce. It's a big high quality commercial package, however as they get all their money from site licenses from corporations, they make the entire package completely free for up to 2 users. I use this for my own projects, and I'd highly recommend it.
nickwinters
nickwinters
I'll also recommend Perforce. It's the easiest source control to use.
starmole
starmole
If you look for something that is 'state of art', use subversion.

Perforce is a commercial alternative that has much similarities
to subversion in its principles, but comes with an easy to use GUI
client (and its free up to 2 users).

If you want to use something you can have without updating your server, you
probably will need to use CVS ...
crusadingknight
crusadingknight
SVK is a decentralized version control system based on subversion, if you get into much larger and more complicated projects at some time in the future.
Code-R
Code-R
Quote:
Original post by Rob Loach
OpenSVN.csie.org offers free subversion hosting. TortoiseSVN is my SVN client of choice.


How secure is this site? who's running it? what tells me my source code won't be "peeked at"?
Rob Loach
Rob Loach
Quote:
Original post by Code-R
Quote:
Original post by Rob Loach
OpenSVN.csie.org offers free subversion hosting. TortoiseSVN is my SVN client of choice.
How secure is this site? who's running it? what tells me my source code won't be "peeked at"?
It's actually pretty good. You can disable annonymous view access, create secure user accounts for SVN authentication, etc... I generally don't worry about such things though because whoever actually succeeds on getting through the secure server wouldn't even know what they'd be looking at. I usually give all my source code out for free anyway. I'm a communist. It's a free service they're providing there, use it and give back to the open-source community.
Rob Loach [Website] [Projects] [
BittermanAndy
BittermanAndy
I'd have to recommend staying away from CVS. It's incapable of dealing with Unicode files (yes, some versions eg. WinCVS claim to support them, but it completely screws up the whole repository) and it's also terrible at dealing with large binary files eg. audio wavebanks or FMVs.
rollo
rollo
I'd also recommend subversion over cvs. If you are using java as your development langage CVS is a very bad fit. If ever rename a class you have to rename the file its in and it will make you loose all history information in cvs :/
Arild Fines
Arild Fines
Quote:
Original post by rollo
I'd also recommend subversion over cvs. If you are using java as your development langage CVS is a very bad fit. If ever rename a class you have to rename the file its in and it will make you loose all history information in cvs :/

Renaming files is hardly exclusive to Java. I'd say CVS is a poor fit for any kind of modern development.

--AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.[Project site] [IRC channel] [Blog]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.