Go to Post Nothing's more memorable than giving someone a foul mouthed clown :cool: - Dave Scheck [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Spotlight this post!  
Unread 31-12-2008, 01:27
Nibbles Nibbles is offline
Interstellar Hitchhiker
AKA: Austin Wright
FRC #0498 (Cobra Commanders)
Team Role: Alumni
 
Join Date: Jan 2008
Rookie Year: 2003
Location: Arizona
Posts: 103
Nibbles is just really niceNibbles is just really niceNibbles is just really niceNibbles is just really niceNibbles is just really nice
Re: To SVN or not to SVN?

Quote:
Originally Posted by nathanww View Post
Anyway, I was wondering what experiences people here have had with subversion. None of us has actually used it before--is it difficult to learn? And how much value would it be to a team of this size?
When programming with multiple people, you definitely want a version control system. SVN happens to be popular, but I don't recommend it, for FIRST use, it is centralized, which means you must be connected to the Internet if you want to check out a past version or make a quick commit. In features which may not be directly relevant, SVN doesn't have tags (it uses a really dirty hack which irritates me to no end instead).

In FIRST, benefits of a revision control system are you can trace who wrote what line (a "blame"), if you have a cool feature which you want to test, you can branch from the current source and merge it in if it works, or delete it if it doesn't, without touching "production" code. Whenever you test that code on the robot, you can "tag" that version with a name (instead of a meaningless number) whenever you test that code on the robot, going back to a working version is very helpful.

Personally, I highly recommend a decentralized revision control system. The benefits of a decentralized revision control system (which SVN is not) is that merging becomes much easier, since the distributed capability is very dependent on it. Most importantly for FIRST, you can make commits and inspect the entire history without an Internet connection, and you do not need to worry about locking files that you are editing on. For this, I HIGHLY recommend Git, because it is fast fast fast, packs the entire history into files smaller then a single SVN checkout (!) and merging is so easy it is fun. Git tracks content, not individual files, so you can even track a line of code as it has been moved around different files. If you can get a system going, taking the time to learn Git (or any collaboration friendly revision control system, e.g. not RCS/CVS) is highly worth it.

Revision Control with Git for FRC Teams Very good document I think (of course I am a bit biased, I wrote it)
__________________
Help standardize match data! Use the XML interchange format. (Specification page)
AAA_awright on Freenode IRC chat. (Join us at ##FRC on chat.freenode.net, or in your browser)

Last edited by Nibbles : 31-12-2008 at 05:50. Reason: Document link
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
downloading the WPI library off the SVN nickmagus Programming 13 05-01-2009 14:29
Best Hosted SVN? interfect Programming 12 30-12-2008 22:50
Install from the WPI SVN Repository (**coming soon**?) knine143 FRC Control System 2 23-12-2008 15:14
IR Board Not Working (But NOT Fried) itsme Electrical 2 18-02-2008 06:11
Match Pairings not random (not even close!) Norm M. General Forum 74 31-03-2003 08:22


All times are GMT -5. The time now is 20:22.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi