Recent Changes - Search:

2010

Project X 2010

MCP III.5 2009

2008 Docs

Old Docs

2007 Docs

Who And What

edit SideBar

NewSVN

Subversion Repositories

We 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 Info

svn+ssh://robotteam.cs.uml.edu/svn
In SmartSVN or on command line: svn+ssh://username@robotteam.cs.uml.edu/svn

Server

The 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 relationship

For 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

Organization

The project repository is organized by semester. This team should be working in the /S10 directory.
  • robotteam.cs.uml.edu/svn/
    • /S08
      • Old, old code. You probably don't want to open this.
    • /S09
      • Last year's code. This is here for occasional reference.
    • /S10
      • Here is our directory.
      • auto
        • Autonomous Challenge files. This is the "main event" course navigation challenge.
      • driver
        • Player drivers representing the robots.
      • hardware
        • Designs and files for custom electronics and other hardware.
      • nav
        • Navigation Challenge files. This is the GPS Waypoint challenge.
      • users
        • sherman
          • This is my directory. I can experiment freely in here.

Checking out from the command line

svn co svn+ssh://YOUR_USERNAME@robotteam.cs.uml.edu/svn

Working with SVN

If you are collaborating with others on a single project, you should update your local copy before working:

  • svn update

When you create a new file in your local copy, it also has to be added to version control:

  • svn add obstacle-avoid.cpp

Other linux shell commands, like mkdir, mv, cp, and rm, also exist as svn sub-commands, for organizing the repository:

  • cd users
  • svn mkdir sherman

After you have modified your local source and feel confident of it's stability, you can 'save' your changes to the repository like so:

  • svn commit -m "This message briefly describes what changes I made"

Subversion Clients

All OS (java-based)

SmartSVN is great, and has a free version. Highly recommended. http://www.syntevo.com/smartsvn/

Linux

Use the command line. If you're using Debian distro, you can install subversion by running sudo apt-get install subversion

Windows

TortoiseSVN is a good SVN client: http://tortoisesvn.tigris.org/

Mac

Simple 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

Edit - History - Print - Recent Changes - Search
Page last modified on February 27, 2010, at 10:56 PM