|
2010 Project X 2010 MCP III.5 2009 2008 Docs
Old Docs
2007 Docs |
Main /
NewSVNSubversion RepositoriesWe will be using Subversion revision control for all code in this class. For a good introduction of Subversion, please read this chapter of the SVN manual: http://svnbook.red-bean.com/en/1.4/svn.basic.html Quick Infosvn+ssh://robotteam.cs.uml.edu/svn
In SmartSVN or on command line: svn+ssh://username@robotteam.cs.uml.edu/svn
ServerThe SVN server is located at 'robotteam.cs.uml.edu User authentication is necessary to access this server. Everyone in the class will have a user account created. If there is a problem, contact Mark Sherman (msherman@cs). If you are using a command-line client, you will notice that it will prompt you for your password at least twice for every operation. This is extremely annoying, so we highly recommend you create an RSA key with the server instead of using passwords. Generating an RSA key relationshipFor a more full explanation read How to Use RSA keys instead of passwords. Here's all you really need: $ssh-keygen (if you haven't) $ssh-copy-id user@server
OrganizationThe project repository is organized by semester. This team should be working in the /S10 directory.
Checking out from the command linesvn co svn+ssh://YOUR_USERNAME@robotteam.cs.uml.edu/svn
Working with SVNIf you are collaborating with others on a single project, you should update your local copy before working:
When you create a new file in your local copy, it also has to be added to version control:
Other linux shell commands, like mkdir, mv, cp, and rm, also exist as svn sub-commands, for organizing the repository:
After you have modified your local source and feel confident of it's stability, you can 'save' your changes to the repository like so:
Subversion ClientsAll OS (java-based)SmartSVN is great, and has a free version. Highly recommended. http://www.syntevo.com/smartsvn/
LinuxUse the command line. If you're using Debian distro, you can install subversion by running sudo apt-get install subversion
WindowsTortoiseSVN is a good SVN client: http://tortoisesvn.tigris.org/
MacSimple and free: SVN Finder Scripts: http://svn-finder.sourceforge.net/
SmartSVN is highly recommended: http://www.syntevo.com/smartsvn/index.html
Linux command-line access also works!
Reference |