View Single Post
  #6   Spotlight this post!  
Unread 10-01-2010, 09:36
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Please Help Me Set Up a Central Version Control Repository on my Laptop

Quote:
Originally Posted by Nibbles View Post
is there a particular reason you want a centralized system? A centralized VCS probably won't work out very well for FRC teams,
Why? Subversion is Great! Have a "Master Development Laptop" that hosts a SVN server, and everyone else connects to you, commits their changes, and then you build and test.
NetBeans 6.5+ comes with built-in Subversion integration, in the GUI, but to use Git you need to go the the CLI.
To install the server, go to http://subversion.tigris.org/getting.htm and download Subversion
To use it through apache2.2, I have a (in depth with error troubleshooting) thread here (starts at post 6): http://www.chiefdelphi.com/forums/sh...ad.php?t=76825 Seeing as you are on a mac, and apache is already installed, the conf is in /etc/apache2/, I don't know if the mac installer will automaticaly configure, but try to figure it out.
I Have not looked at NetBeans, so I can't help you with configuring the project to use SVN, but in WindRiver it was Right click the project>Team>Share Project
To backup to a website, use svnadmin dump /path/to/repository > /path/to/dump.file and if you server supports it svnadmin load /path/to/repository < /path/to/uploaded/dump.file

Any questions, please Ask. Our team has used SVN for a few projects, and it seems to be a nice workflow
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib

Last edited by byteit101 : 10-01-2010 at 09:43. Reason: Mac not windows
Reply With Quote